I need a trigger that makes a move have a chance to add a buff on the target. It also has to be an activated ability. These are the many fails i have:
For some very weird reason it says fooked every time yet that imo is the simplest part of the trigger... So i turned it off for now...
-
Freeze
-
Events
- Unit - A unit Finishes casting an ability
-
Conditions
- (Ability being cast) Equal to Frostbolt sorcerer 2
-
Actions
- Set chance[1] = (Integer((Life of chancer 0314 <gen>)))
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- chance[1] Equal to 1
-
Then - Actions
- Hero - Create Freeze and give it to special 0309 <gen>
- Unit - Move special 0309 <gen> instantly to ((Position of (Casting unit)) offset by (1.00, 1.00))
- Hero - Order special 0309 <gen> to use (Last created item) on Practise target 0311 <gen>
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- special 0309 <gen> Equal to (Hero manipulating item)
-
Then - Actions
- Game - Display to (All players) the text: pt4 works
-
Else - Actions
- Game - Display to (All players) the text: pt4 fooked
-
If - Conditions
- Unit - Move special 0309 <gen> instantly to (Center of Region 022 <gen>)
-
Else - Actions
- Do nothing
-
If - Conditions
-
Events
-
chance
-
Events
- Time - Every 0.87 seconds of game time
- Conditions
-
Actions
- Unit - Set life of chancer 0314 <gen> to (Random real number between 1.00 and 100.00)%
-
Events
For some very weird reason it says fooked every time yet that imo is the simplest part of the trigger... So i turned it off for now...
-
Freeze 2
-
Events
- Unit - A unit Is attacked
-
Conditions
- ((Attacked unit) has buff Frozen for freeze chances) Equal to True
-
Actions
- Set chance[1] = (Integer((Life of chancer 0314 <gen>)))
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- chance[1] Equal to 1
-
Then - Actions
- Unit - Remove Frozen for freeze chances buff from (Target unit of ability being cast)
-
Else - Actions
- Do nothing
-
If - Conditions
-
Events