- Joined
- Nov 8, 2008
- Messages
- 174
Hi I'm still new to doing triggers,
Currently making a spell that let you buff a target unit, and that target unit when he cast, his spell would reset cooldown but the buff will be remove after that.
it only works to those abilities that has less than Required Level 6.
Currently making a spell that let you buff a target unit, and that target unit when he cast, his spell would reset cooldown but the buff will be remove after that.
it only works to those abilities that has less than Required Level 6.
-
The Wizard of Menlo Park Casting Reset
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
((Triggering unit) has buff The Wizard of Menlo Park ) Equal to True
-
-
Actions
-
Set WizardCaster = (Triggering unit)
-
Set WizardAbility = (Ability being cast)
-
Set WizardAbility_Copy = (Unit: WizardCaster's Ability with Ability Code: WizardAbility)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Ability: WizardAbility_Copy's Integer Field: Required Level ('arlv')) Less than 6
-
(Ability: WizardAbility_Copy's Boolean Field: Item Ability ('aite')) Equal to False
-
-
Then - Actions
-
Unit - Remove WizardAbility from WizardCaster
-
Unit - Add WizardAbility to WizardCaster
-
Unit - Remove The Wizard of Menlo Park buff from WizardCaster
-
-
Else - Actions
-
Trigger - Turn off (This trigger)
-
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Ability: WizardAbility_Copy's Integer Field: Required Level ('arlv')) Greater than or equal to 6
-
-
Then - Actions
-
Else - Actions
-
Trigger - Turn off (This trigger)
-
-
-
-