hello. heres the deal i have a script that when i buy the item, gives the hero an abilitie, the thing is i wanted to make a condition that if unit(the hero) abilities =4(counting only normal abilities without ultimate abilitie count) do else actions
from a1 to a80 its trigger of hero abilities
from a1 to a80 its trigger of hero abilities
-
a1
-
Events
-
Unit - A unit Acquires an item
-
-
Conditions
-
(Item-type of (Item being manipulated)) Equal to Dark Ritual -Can Be Upgraded To level 10-
-
-
Actions
-
Set skill[(Player number of (Triggering player))] = Dark Ritual
-
Wait 0.20 seconds
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Level of skill[(Player number of (Triggering player))] for (Triggering unit)) Less than 1
-
-
Then - Actions
-
Unit - Add skill[(Player number of (Triggering player))] to (Triggering unit)
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Level of skill[(Player number of (Triggering player))] for (Triggering unit)) Less than 10
-
-
Then - Actions
-
Unit - Increase level of skill[(Player number of (Triggering player))] for (Triggering unit)
-
-
Else - Actions
-
Game - Display to (Player group((Triggering player))) for 5.00 seconds the text: You can´t get your...
-
Player - Add 100 to (Triggering player) Current lumber
-
-
-
-
-
-