_markone_
New Member
- Reaction score
- 0
i would like to make sth like passive spirit link, but not like chain, to be area effect around one who have spell
any ideas??
any ideas??
Events
>your unit< takes damage
Condition
Level of (Aura) for (Triggering Unit) is not equal to 0
Action
set unitgroup_var = Every unit within *aoe* of (Triggering Unit) matching (((Matching Unit) has buff "spirit link") equal to true) [COLOR="Lime"]and ((owner of (Matching Unit) is equal to owner of (Triggering Unit) equal to true)[/COLOR] [size=-1]// the green only if you want to make it 1 player only.[/size]
set integer_var = number of units in unitgroup_var
set real_var = (Damage Taken) / integer_var
unit - set hp of (Triggering Unit) to (Current hp of (Triggering Unit) + Real(Damage Taken))
Unit Group - Pick every unit in unitgroup_var
Unit - order (Damage Source) to damage (Picked Unit) dealing real_var damage of type [U]"whatever you want[/U]"
Custom Script: (call DestroyGroup (udg_unitgroup_var))
E)map ini......
C)
A)
pick evry unit in entier map and do
trigger - add new event to (frozenwinds trigger) picked unit take damage
E) unit enter entier map
C)
A) trigger - add new event to (frozenwinds trigger) entering unit take damage
check takes damage on all units on map... wont that lag a lot??