Ithladir
Member
- Reaction score
- 5
Hello fellow editors, as you might guess i have a problem making this spell MUI since the 2nd trigger that does per second and i do not know a good way to make it easier
The spell is an instant spell that will have its effect directly on cast and for the duration of the spell/buff.
EDIT: As stated below i brought the wrong problem forward, the main thing is that i cant prove the killer to be the killer in this MUI problem and award him for it.
The spell is an instant spell that will have its effect directly on cast and for the duration of the spell/buff.
Trigger:
- Imminent Death cast
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to Imminent Death
- Actions
- Set Owner_Of_Death_Knight = (Casting unit)
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Integer((Percentage life of (Target unit of ability being cast)))) Less than or equal to 15
- Then - Actions
- Unit - Cause (Casting unit) to damage (Target unit of ability being cast), dealing 9000.00 damage of attack type Spells and damage type Death
- Unit Group - Remove (Target unit of ability being cast) from Imminent_Death_Group
- Else - Actions
- Unit Group - Add (Target unit of ability being cast) to Imminent_Death_Group
- If - Conditions
- Events
Trigger:
- Imminent Death Buff
- Events
- Time - Every 1.00 seconds of game time
- Conditions
- Actions
- Unit Group - Pick every unit in Imminent_Death_Group and do (Actions)
- Loop - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Integer((Percentage life of (Picked unit)))) Less than or equal to 15
- Then - Actions
- Unit - Cause Owner_Of_Death_Knight to damage (Picked unit), dealing 9000.00 damage of attack type Spells and damage type Death
- Unit Group - Remove (Picked unit) from Imminent_Death_Group
- Else - Actions
- Do nothing
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Loop - Actions
- Unit Group - Pick every unit in Imminent_Death_Group and do (Actions)
- Events
EDIT: As stated below i brought the wrong problem forward, the main thing is that i cant prove the killer to be the killer in this MUI problem and award him for it.