Making passive aoe damage share

_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??
 

Frozenwind

System maker
Reaction score
99
Make it based on an aura that you don't use anyway and set it's data to "0".
Code:
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))

Disadvantage: this is MPI, not MUI.

frozenwind.
 

_markone_

New Member
Reaction score
0
well that solve the some part of problem, thx a lot,
but how should i make this work for all units who are in area...

i mean:
if some of units in area are attacked should be shared damage too, not just share attacks of one who have spell?
 

Frozenwind

System maker
Reaction score
99
This trigger takes all units that have the buff you want,
and they share the damage.

frozenwind.
 

polo2005

Wana start playing LoL? http://tinyurl.com/369as27
Reaction score
97
thats isnt mui...., where do you find - takes damage? oO

make another trigger and do it like
Code:
E)map ini......
C)
A) 
pick evry unit in entier map and do
       trigger - add new event to (frozenwinds trigger) picked unit take damage


trigger 2
Code:
E) unit enter entier map
C)
A) trigger - add new event to (frozenwinds trigger) entering unit take damage
 

polo2005

Wana start playing LoL? http://tinyurl.com/369as27
Reaction score
97
check takes damage on all units on map... wont that lag a lot??

dont think soo... becuse all unit on the map hopefull and probobly dont tke damage at same time oO
and if it do, add a unit type condition oO

offtopic: lol 444 postes, waiting for +222 postes oO
 

Frozenwind

System maker
Reaction score
99
You should just try it, it at least can't bug since they can't attack all withing 1,0x10^-6 second at once:)

frozenwind.
 

polo2005

Wana start playing LoL? http://tinyurl.com/369as27
Reaction score
97
it doesnt lagg for me atlest oO
had up to 141heroes at smae time oO
 
General chit-chat
Help Users

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top