right now im struggling with ability like bash. I figured out that it does not work like normal ability but since im green in making custom skills I dont know how to make passive. This one is probably whole wrong
. Can someone help me with passive skills. I hope I dont have to implement "chance on hit" in custom skills since it has to be something like "Bash" but without stun and with dmg from level and STR - so I've used "chance on hit" from editor
-
Double Hit STR
-
Wydarzenia
-
Jednostka - A unit Rozpoczyna działanie zdolności
-
-
Warunki
-
(Ability being cast) RĂłwna siÄ™ Double Hit
-
-
Akcje
-
-------- ------------------------------------------------------------------------------------------------- --------
-
-------- Getting the Spell constants --------
-
-------- ------------------------------------------------------------------------------------------------- --------
-
Set Double_Hit_Caster = (Triggering unit)
-
Set Double_Hit_Location = (Position of Double_Hit_Caster)
-
Set Double_Hit_Owner = (Owner of Double_Hit_Caster)
-
Set Double_Hit_Ability_Level = (Level of (Ability being cast) for Double_Hit_Caster)
-
-------- ------------------------------------------------------------------------------------------------- --------
-
-------- Setting the Spell values --------
-
-------- ------------------------------------------------------------------------------------------------- --------
-
Set Double_Hit_STR = (Siła of Double_Hit_Caster (Nanieś bonuses))
-
Set Double_Hit_DMG_Multiplayer = (0.35 x (Real((Level of Double Hit for Double_Hit_Caster))))
-
Set Double_Hit_DMG = ((Real(Double_Hit_STR)) x Double_Hit_DMG_Multiplayer)
-
Set Double_Hit_Dummy_Ability = Double Hit
-
Jednostka - Cause Double_Hit_Caster to damage (Target unit of ability being cast), dealing Double_Hit_DMG damage of attack type Zaklęcia and damage type Nieznany
-
-------- Creating and setting floating text --------
-
-------- ------------------------------------------------------------------------------------------------- --------
-
Tekst - Create floating text that reads ((String((Integer(Double_Hit_DMG)))) + !) above Double_Hit_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_Double_Hit_Location)
-
-