Allrighty so save some time here is the salution to the 1.0 probelm a single target. and it's working now
Add healing amount to Int
Current single target code.
so after some thought that i can't (in my mind convert this in to a multi heal i belive i need a whole new trigger for stuff like healing wave and a tower that does "ever sec heal unitws within in range Y health"
so I would need a trigger that looks for if the minion is player 11 or 12(only targets so could be a if player 11 then add points to team 1 int. else add points to team 2.
I do offcourse have a " ever 1 sec" trigger that i assume i would need to put this in to check on it. and maybe if needed (probrly is) call triggers. but im hoping for a universal that just look for how much heal is done. it's NOT importen for it to know the source of the healing.
Short version: Need a trigger that looks for healing amount done to all targets of player 11 or 12 and don't count in overheals. only up to 100%.
Add healing amount to Int
Current single target code.
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Ability being cast) Equal to Heal1
-
-
Then - Actions
-
Set Healcaster = (Triggering unit)
-
Set HealTaget = (Target unit of ability being cast)
-
Set HealAmount = 75
-
Set Heallife = (Integer((Life of (Target unit of ability being cast))))
-
Set HealMax = (Integer((Max life of (Target unit of ability being cast))))
-
Set HealSum = (Heallife + HealAmount)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
HealSum Greater than HealMax
-
-
Then - Actions
-
Set HealExtra = (HealSum - HealMax)
-
Set TotalHeal[(Player number of (Owner of Healcaster))] = (TotalHeal[(Player number of (Owner of Healcaster))] + (HealAmount - HealExtra))
-
-
Else - Actions
-
Set TotalHeal[(Player number of (Owner of Healcaster))] = (TotalHeal[(Player number of (Owner of Healcaster))] + HealAmount)
-
-
-
-
Else - Actions
-
-
so after some thought that i can't (in my mind convert this in to a multi heal i belive i need a whole new trigger for stuff like healing wave and a tower that does "ever sec heal unitws within in range Y health"
so I would need a trigger that looks for if the minion is player 11 or 12(only targets so could be a if player 11 then add points to team 1 int. else add points to team 2.
I do offcourse have a " ever 1 sec" trigger that i assume i would need to put this in to check on it. and maybe if needed (probrly is) call triggers. but im hoping for a universal that just look for how much heal is done. it's NOT importen for it to know the source of the healing.
Short version: Need a trigger that looks for healing amount done to all targets of player 11 or 12 and don't count in overheals. only up to 100%.