Help with mods - questions

Hi everyone,
I made a secondary skill called supporting. It grants additional shots (ammo) and spells. On basic, all the shooters in hero’s army starts with +4 ammo, and all the casters can cast their spells one more time. Numbers naturally grows with level.
I added a limiter for shooters: “limiters” : [ “SHOOTER_ONLY” ]. This way ammo won’t be provided for regular melee units. I was trying to find similar limiter for casters, but I failed. Is there any? :thinking:

Skill actually works, however after clicking unit, we can see that for example dwarves have 1 spell left :unamused:

Limiter for caster should look like:

					"limiters" : [
						{
							"type" : "HAS_ANOTHER_BONUS_LIMITER",
							"parameters" : [
									"type" : "CASTS
							]
						}	
					]
1 Like