Spell lvl

monar

New Member
Reaction score
0
How can i add spell lvl to the triggers?

I have:
(Ability being cast) is equal to Shadow step

And i want to have ;) :
(Ability being cast) is equal to Shadow step (lvl 1)

next trigger:
(Ability being cast) is equal to Shadow step (lvl 2)
 

DuckieKing

Elitist Through and Through
Reaction score
51
Sorry - can't find the condition in GUI. Put this in customscript around your actions:
Code:
Custom script:    if GetSpellAbilityLevel(GetTriggerUnit(), GetSpellAbilityId())==1 then
Code:
Custom script:    endif
Can't forget the endif. I'm sure someone will tell you the GUI condition though.
 

SFilip

Gone but not forgotten
Reaction score
634
Integer Comparsion -> Unit - Level Of Ability For Unit
 

2-P

I will work hard tomorrow
Reaction score
325
Integer Comparison: Unit - Level of Ability for Unit

Arrrr, SFilip is soooo fast. xD
 

DuckieKing

Elitist Through and Through
Reaction score
51
Oh, under unit! I was looking under Integer comparison - Hero. That's why I fail with GUI. :D I still like ifs in GUI though.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top