Just curious if anyone could help me rig up a system of triggers that make so if a player attacks one of his team mates, the unit (or units) are instantly polymorphed into sheep, then after 1 second are changed back?
Just make a dummy with a polymorph based ability that costs 0 mana that can target enemies and allies. also give the dummy -1 hp regen and 1(2) hp.
Events: Unit is attacked Conditions: -------- Actions: If: owner of attacking unit is an allie of owner of attacked unit Then: Create 1 polymorph dummy at position of attacking unit Order last created unit to human sorceress - polymorph attacking unit Else: Do Nothing
PS: Make sure u base the spell off the sorc polymorph and not the neutral hostile, else it doesnt work
Blade: its not a stupid idea. N00by: Doesnt really matter because u can configure polymorph to target heroes and change duration, only difference between hex and polymorph is that hex can turn people into other critters too than just sheep.
RamzaJust make a dummy with a polymorph based ability that costs 0 mana that can target enemies and allies. also give the dummy -1 hp regen and 1(2) hp.
Events: Unit is attacked Conditions: -------- Actions: If: owner of attacking unit is an allie of owner of attacked unit Then: Create 1 polymorph dummy at position of attacking unit Order last created unit to human sorceress - polymorph attacking unit Else: Do Nothing
PS: Make sure u base the spell off the sorc polymorph and not the neutral hostile, else it doesnt work
hey i think the corret way is that no ??
If ((Owner of (Attacking unit)) Equal to (Random player from (All allies of (Owner of (Attacked unit)))))...