-
Storm Bolt STR
-
Wydarzenia
- Jednostka - A unit Rozpoczyna działanie zdolności
-
Warunki
- (Ability being cast) RĂłwna siÄ™ Storm Bolt
-
Akcje
- -------- ------------------------------------------------------------------------------------------------- --------
- -------- Getting the Spell constants --------
- -------- ------------------------------------------------------------------------------------------------- --------
- Set StormBolt_Caster = (Triggering unit)
- Set StormBolt_Location = (Position of StormBolt_Caster)
- Set StormBolt_Owner = (Owner of StormBolt_Caster)
- Set StormBolt_Ability_Level = (Level of (Ability being cast) for StormBolt_Caster)
- -------- ------------------------------------------------------------------------------------------------- --------
- -------- Setting the Spell values --------
- -------- ------------------------------------------------------------------------------------------------- --------
- Set StormBolt_STR = (Siła of StormBolt_Caster (Nanieś bonuses))
- Set StormBolt_DMG_Multiplayer = (1.85 x (Real((Level of Storm Bolt for StormBolt_Caster))))
- Set StormBolt_DMG = ((Real(StormBolt_STR)) x StormBolt_DMG_Multiplayer)
- Set StormBolt_Dummy_Ability = Storm Bolt
- Jednostka - Cause StormBolt_Caster to damage (Picked unit), dealing StormBolt_DMG damage of attack type Zaklęcia and damage type Nieznany
- -------- Creating and setting floating text --------
- -------- ------------------------------------------------------------------------------------------------- --------
- Tekst - Create floating text that reads ((String((Integer(StormBolt_DMG)))) + !) above StormBolt_Caster with Z offset 0.00, using font size 10.00, color (0.00%, 40.00%, 100.00%), and 0.00% transparency
- Tekst - Change (Last created floating text): Wyłącz permanence
- Tekst - Set the velocity of (Last created floating text) to 64.00 towards 90.00 degrees
- Tekst - Change the fading age of (Last created floating text) to 3.00 seconds
- Tekst - Change the lifespan of (Last created floating text) to 5.00 seconds
- -------- ------------------------------------------------------------------------------------------------- --------
- -------- Clearing Leaks --------
- -------- ------------------------------------------------------------------------------------------------- --------
- Custom script: call RemoveLocation(udg_StormBolt_Location)
-
Wydarzenia