S
Sargon
Guest
Is this possible? I just want to see if I can have a unit who turns everyone within a certain area of him into sheep automatically.
[B]Actions[/B]:
A unit comes within [150*level of polymorph aura] of [preplaced hero]
[B]Conditions[/B]:
unit coming within range is an enemy of [same preplaced hero]
unit coming within range is an ancient = false
unit coming within range is a building= false
unit coming within range is a hero= false
[Add more conditions here for units that you don't want to be polymorphed]
[B]Actions[/B]:
Replace unit coming within range with neutral passive --> sheep, retain color and ownership
Shadowy Fear said:Lol, I think you misunderstood the aura thing :<). I meant that it would add a buff to the units, and then VIA TRIGGERS you would change them into sheep . There are no native morph auras so you need to improvise via triggers.
Alternately, for a more balanced spell, you could do (check out my code for the other one too):
Actions: a unit casts mass morph
Conditions: N/A
Actions: pick every unit in [units within 500 of casting unit matching [matching unit is a unit=true and matching unit is an enemy of caster=true]] and do replace picked unit with a sheep.