-
Hammer Toss
-
Wydarzenia
- Jednostka - A unit Rozpoczyna działanie zdolności
-
Warunki
- (Ability being cast) RĂłwna siÄ™ Hammer Toss
-
Akcje
- -------- ------------------------------------------------------------------------------------------------- --------
- -------- Getting the Spell constants --------
- -------- ------------------------------------------------------------------------------------------------- --------
- Set HT_Caster = (Triggering unit)
- Set HT_Target = (Target unit of ability being cast)
- Set HT_Location = (Position of HT_Target)
- Set HT_Owner = (Owner of HT_Caster)
- Set HT_ability_level = (Level of (Ability being cast) for HT_Caster)
- -------- ------------------------------------------------------------------------------------------------- --------
- -------- Setting the Spell values --------
- -------- ------------------------------------------------------------------------------------------------- --------
- Set HT_STR = (Siła of HT_Caster (Nanieś bonuses))
- Set HT_DMG_MP = (2.00 x (Real((Level of Reincarnation for HT_Caster))))
- Set HT_DMG = ((Real(HT_STR)) x HT_DMG_MP)
- Set HT_Dummy = Hammer Toss(dummy)
- -------- ------------------------------------------------------------------------------------------------- --------
- -------- Damaging the Target --------
- -------- ------------------------------------------------------------------------------------------------- --------
- Jednostka - Cause HT_Caster to damage HT_Target, dealing HT_DMG damage of attack type Zaklęcia and damage type Nieznany
- -------- ------------------------------------------------------------------------------------------------- --------
- -------- Setting the Dummy, ordering it to cast a spell --------
- -------- ------------------------------------------------------------------------------------------------- --------
- Jednostka - Create 1 Dummy for HT_Owner at HT_Location facing Domyślna orientacja budynku degrees
- Jednostka - Add a 1.50 second OgĂłlny expiration timer to (Last created unit)
- Jednostka - Add HT_Dummy to (Last created unit)
- Jednostka - Set level of HT_Dummy for (Last created unit) to HT_ability_level
- -------- ------------------------------------------------------------------------------------------------- --------
- -------- Creating and setting floating text --------
- -------- ------------------------------------------------------------------------------------------------- --------
- Tekst - Create floating text that reads ((String((Integer(HT_DMG)))) + !) above HT_Target 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_HT_Location)
-
Wydarzenia