How can I make spell with set chance in command?
I can't find an option to do it.
code example:
I can't find an option to do it.
code example:
Code:
Trigger
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Your Ability
Actions
Set Chance = (Random integer number between 1 and 2)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Chance Equal to 0
Then - Actions
-------- then actions --------
Else - Actions
-------- else actions --------