louis_9300
New Member
- Reaction score
- 3
I made a trigger that checks if the hero gain 1 soul,the ability of the item will be lvl 1.
2soul=lv 2
3soul=lv 3
all the way to lvl 6.
But seems that it has some problems on it ...
2soul=lv 2
3soul=lv 3
all the way to lvl 6.
But seems that it has some problems on it ...
Code:
Soul
Events
Unit - A unit Acquires an item
Conditions
((Hero manipulating item) has an item of type |cff32cd32Corrupted Soul) Equal to True
Actions
Set Item = 0
For each (Integer A) from 1 to 6, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to |cff32cd32Corrupted Soul
Then - Actions
Set Item = (Item + 1)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Item Greater than or equal to 1
Then - Actions
Unit - Increase level of Corupt Soul Aura for (Hero manipulating item)
Sound - Play GoodJob <gen>
Else - Actions