- Joined
- May 23, 2018
- Messages
- 13
I am creating a passive skill for a unit, where whenever it casts a spell there is a probability of resetting the cooldown of the previous cast spell. The probability is based on the unit's intelligence.
I tried this:
Need help
I tried this:
-
Arcane Lust
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Unit-type of (Triggering unit)) Equal to Ytrix
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Random integer number between 1 and 100) Less than or equal to ((Intelligence of (Triggering unit) (Include bonuses)) / 2)
-
Then - Actions
- Unit - Reset ability cooldowns for (Triggering unit)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
Need help