- Joined
- Apr 8, 2016
- Messages
- 58
hey guys, how to remove lightning effect on my skill?
i tried to add this trigger
.. but when i didn't add that, the lightning effect is appear, but it will be permanently
i tried to add this trigger
-
Lightning - Destroy A_PKk_Lightning
.. but when i didn't add that, the lightning effect is appear, but it will be permanently
-
Panah Kekuatan
-

Events
-


Unit - A unit Starts the effect of an ability
-
-

Conditions
-


(Ability being cast) Equal to Panah Kekuatan
-
-

Actions
-


Set A_PKk_Caster = (Casting unit)
-


Set A_PKk_CP = (Position of A_PKk_Caster)
-


Set A_PKk_Target = (Target unit of ability being cast)
-


Set A_PKk_TP = (Position of A_PKk_Target)
-


Set A_PKk_Ability_Level = (Level of (Ability being cast) for A_PKk_Caster)
-


Set A_PKk_Damage = ((Real((Agility of A_PKk_Caster (Include bonuses)))) x ((Real(A_PKk_Ability_Level)) + 5.00))
-


Custom script: set udg_A_PKk_Lightning = AddLightningEx("FORK", true , GetLocationX(udg_A_PKk_CP), GetLocationY(udg_A_PKk_CP), GetLocationZ(udg_A_PKk_CP) + 70, GetLocationX(udg_A_PKk_TP), GetLocationY(udg_A_PKk_TP), GetLocationZ(udg_A_PKk_TP) + 70)
-


Unit - Cause A_PKk_Caster to damage A_PKk_Target, dealing A_PKk_Damage damage of attack type Spells and damage type Normal
-


Custom script: call RemoveLocation(udg_A_PKk_CP)
-


Custom script: call RemoveLocation(udg_A_PKk_TP)
-
-





