- Joined
- Jun 2, 2009
- Messages
- 1,276
When you press W, your W ABILITY skill level increases. If you have 2 booleans true, each pressing should make it to 2, then make it to 4 after second cast.
But here is what happens
I am turning SpellMagicArrow boolean True
I am turning SpellFlameStrike boolean True
When i press to W, it skips to level 4 instead of increasing it to 2 because according if runs after SpellMagicArrow.
Here is what i want
I am turning SpellMagicArrow boolean True
I am turning SpellFlameStrike boolean True
I am pressing W, i want to set ability level to 2
Then second cast, i want to set it level to 4
But it increasing it to 4 immediately.
How to solve this?
But here is what happens
I am turning SpellMagicArrow boolean True
I am turning SpellFlameStrike boolean True
When i press to W, it skips to level 4 instead of increasing it to 2 because according if runs after SpellMagicArrow.
Here is what i want
I am turning SpellMagicArrow boolean True
I am turning SpellFlameStrike boolean True
I am pressing W, i want to set ability level to 2
Then second cast, i want to set it level to 4
But it increasing it to 4 immediately.
How to solve this?
-
SpellSagaDegiss Copy
-

Events
-


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

Conditions
-


(Ability being cast) Equal to SAG //
-
-

Actions
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




SpellMagicArrow[(Player number of (Owner of (Triggering unit)))] Equal to True
-
-



Then - Actions
-




Set NextSpell[(Player number of (Owner of (Triggering unit)))] = Spell[2]
-




Unit - Set level of Büyü Yap // for (Triggering unit) to 2
-
-



Else - Actions
-
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




SpellFireball[(Player number of (Owner of (Triggering unit)))] Equal to True
-
-



Then - Actions
-




Set SpellSayisi[(Player number of (Owner of (Triggering unit)))] = (SpellSayisi[(Player number of (Owner of (Triggering unit)))] + 1)
-




Set NextSpell[(Player number of (Owner of (Triggering unit)))] = Spell[3]
-




Unit - Set level of Büyü Yap // for (Triggering unit) to 3
-
-



Else - Actions
-
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




SpellFlameStrike[(Player number of (Owner of (Triggering unit)))] Equal to True
-
-



Then - Actions
-




Set NextSpell[(Player number of (Owner of (Triggering unit)))] = Flame Strike // 3
-




Unit - Set level of Büyü Yap // for (Triggering unit) to 4
-




Set SpellSayisi[(Player number of (Owner of (Triggering unit)))] = (SpellSayisi[(Player number of (Owner of (Triggering unit)))] + 1)
-
-



Else - Actions
-
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




SpellHolyLight[(Player number of (Owner of (Triggering unit)))] Equal to True
-
-



Then - Actions
-




Set NextSpell[(Player number of (Owner of (Triggering unit)))] = Holy Light // 4
-




Unit - Set level of Büyü Yap // for (Triggering unit) to 5
-




Set SpellSayisi[(Player number of (Owner of (Triggering unit)))] = (SpellSayisi[(Player number of (Owner of (Triggering unit)))] + 1)
-
-



Else - Actions
-
-
-
Last edited:
