- Joined
- Jul 25, 2009
- Messages
- 3,091
Is there a way to make Phoenix Fire do a single AoE damage to units in an area where the Phoenix Fire missile hits, like an explosion from artillery?
That or create a custom spell that will create a dummy which will attack a random unit from a unit group near your hero, the attacking unit will have the same Missile as Phoenix Fire, and do the same for all units near your hero. That way you will get Position of Attacked Unit and it will look similiar to phoenix fire. Or you could do a trigger which will detect if a unit has a buff of type Phoenix Fire and do actions, here:
Events
Time - Every 0.50 seconds of game time
Conditions
Actions
Set HeroPoint = (Unit (Position of Your Hero))
Unit Group - Pick every unit in (Units in (Region centered at (HeroPoint)) with size (600.00, 600.00))) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) has buff Phoenix Fire ) Equal to True
Then - Actions
Unit - Remove Phoenix Fire buff from (Picked unit)
Your Actions
Else - Actions
Custom script: call RemoveLocation (udg_HeroPoint)