Crusher
You can change this now in User CP.
- Reaction score
- 121
Hi! I need to change this ability from single target to multiple target (AoE). So, it will damage all units in front of casted point, eg. unit.
Trigger:
- Cultist Massacre
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- Or - Any (Conditions) are true
- Conditions
- (Ability being cast) Equal to Cultist Massacre
- (Ability being cast) Equal to Cultist Massacre (Upgrade 1)
- (Ability being cast) Equal to Cultist Massacre (Upgrade 2)
- Conditions
- Or - Any (Conditions) are true
- Actions
- Set TempUnit = (Triggering unit)
- Set TempUnit2 = (Target unit of ability being cast)
- Set TempInt = (Level of (Ability being cast) for TempUnit)
- Set TempInt2 = (Level of Legendary Mind2 for TempUnit)
- -------- base damage --------
- Set TempReal = (50.00 + (Real((35 x TempInt))))
- -------- damage per combo point --------
- Set TempReal2 = (20.00 + (Real((5 x TempInt))))
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- TempInt2 Greater than 0
- Then - Actions
- -------- damage per combo point BONUS from the Legendary Mind --------
- Set TempReal2 = (TempReal2 + (10.00 + (Real((10 x TempInt2)))))
- Else - Actions
- If - Conditions
- -------- damage dealt --------
- Set TempReal = (TempReal + (TempReal2 x (Real(ComboCount))))
- Set ComboText = (|c00FF0303 + (+ + ((String((Integer(TempReal)))) + !|r)))
- Floating Text - Create floating text that reads ComboText above TempUnit with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
- Floating Text - Change (Last created floating text): Disable permanence
- Floating Text - Change the lifespan of (Last created floating text) to 2.00 seconds
- Floating Text - Change the fading age of (Last created floating text) to 0.50 seconds
- Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 90.00 degrees
- Set TempForce = (All enemies of (Owner of TempUnit))
- Floating Text - Hide (Last created floating text) for TempForce
- Custom script: call DestroyForce( udg_TempForce )
- Set ComboCount = 0
- Unit - Cause TempUnit to damage TempUnit2, dealing TempReal damage of attack type Spells and damage type Normal
- Events