I tested it and it works for when a unit belongs to a player, everything is fine
but when I make it so that a computer owns the unit when he casts the spell the second trigger doesn't happen so... yeah
suggestions?
but when I make it so that a computer owns the unit when he casts the spell the second trigger doesn't happen so... yeah
suggestions?
Trigger:
- Ice Overlordcast
- Events
- Unit - A unit Is attacked
- Conditions
- (Unit-type of (Attacked unit)) Equal to |cCFFF0202Frigid Overlord |n*Boss*
- Actions
- Unit - Order (Attacked unit) to Special - Channel
- Events
Trigger:
- Ice Overlord
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to Ice Storm (Ice Overlord)
- Actions
- Set p_IceOverlord = (Position of (Casting unit))
- Unit - Create 1 Dummy for (Owner of (Triggering unit)) at p_IceOverlord facing Default building facing degrees
- Set u_overlord = (Last created unit)
- Unit - Add (Ice Storm Dummy) to u_overlord
- Unit - Set level of (Ice Storm Dummy) for u_overlord to 1
- Unit - Order u_overlord to Human Archmage - Blizzard p_IceOverlord
- Unit - Add a 6.00 second Generic expiration timer to (Last created unit)
- Custom script: call RemoveLocation (udg_p_IceOverlord)
- Events