Hello.
i'm making a Passive skill called "Blessing of siren" which gives 2/4/6 % chance when struck by enemy unit to silence nearby enemies (10/20/30% in beta mode) .
Problem is that i'm not very good at making triggers, yet.
this is what i've made sofar, and i can see a few errors, but i don't know how else to do.
i would really appreciate some help with this mess...
i'm making a Passive skill called "Blessing of siren" which gives 2/4/6 % chance when struck by enemy unit to silence nearby enemies (10/20/30% in beta mode) .
Problem is that i'm not very good at making triggers, yet.
this is what i've made sofar, and i can see a few errors, but i don't know how else to do.
-
Blessing of Siren
-
Events
-
Unit - A unit Is attacked
-
-
Conditions
-
(Ability being cast) Equal to Blessing of Siren
-
-
Actions
-
Set SirenB_integer = (Random integer number between 1 and 100)
-
Set SirenB_Unit = (Attacked unit)
-
Set SirenB_Loc = (Position of SirenB_Unit)
-
If ((Level of Blessing of Siren for SirenB_Unit) Equal to 1) then do (Set loops = 1) else do (Do nothing)
-
If ((Level of Blessing of Siren for SirenB_Unit) Equal to 2) then do (Set loops = 2) else do (Do nothing)
-
If ((Level of Blessing of Siren for SirenB_Unit) Equal to 3) then do (Set loops = 3) else do (Do nothing)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
SirenB_integer Less than or equal to 10
-
-
Then - Actions
-
Unit - Create 1 Blessing of Siren dummy for (Owner of SirenB_Unit) at SirenB_Loc facing Default building facing degrees
-
Unit - Order (Last created unit) to Neutral Dark Ranger - Silence SirenB_Loc
-
-
Else - Actions
-
-
-
i would really appreciate some help with this mess...