L
LordOok
Guest
Trying to make an ability that steals gold. I have 2 triggers for this. 1 being a variable trigger and 1 being the actual stealing of gold.
The variable works.
-A Unit learns a skill
-Learned Hero skill equal to Steal
-Set Steal = (steala+1)
-game display to ll players ....blah blah
I have seen the message so i know this works, now for the second part.
-A Unit begins to cast a spell
-Ability being caster equal to Steal
-If..... .... ...
- Owner of triggering units equal to player 3 teal
- Owner of targeted unit equal to player 8 Pink
-Then
-Set player 3 teal gold to (tealgold + (steala x 50))
-Set player 8 pink god to (pinkgold - (steala x 50))
-Else
- If (and it goes down the line for every player / target combination)
Not to sure why i cant make the second trigger go off. I have the steal abilities base ability as Sleep, but when you removed the buffs stun and duration and make the casting time 1.00 it shouldnt be any different than anyother ability.
Anyone know what i am doing wrong?
The variable works.
-A Unit learns a skill
-Learned Hero skill equal to Steal
-Set Steal = (steala+1)
-game display to ll players ....blah blah
I have seen the message so i know this works, now for the second part.
-A Unit begins to cast a spell
-Ability being caster equal to Steal
-If..... .... ...
- Owner of triggering units equal to player 3 teal
- Owner of targeted unit equal to player 8 Pink
-Then
-Set player 3 teal gold to (tealgold + (steala x 50))
-Set player 8 pink god to (pinkgold - (steala x 50))
-Else
- If (and it goes down the line for every player / target combination)
Not to sure why i cant make the second trigger go off. I have the steal abilities base ability as Sleep, but when you removed the buffs stun and duration and make the casting time 1.00 it shouldnt be any different than anyother ability.
Anyone know what i am doing wrong?


