- Joined
- Sep 15, 2012
- Messages
- 311
Hello,
I have this trigger right here to craft an item:
The ability that needs to be clicked is based on 'Charge Gold and Lumber' on a "Forge" unit (with shared shop etc.) which actually has all the other similar abilities needed for the other crafts. Does the fact that they are based on the same ability interferes with the trigger?
I have this trigger right here to craft an item:
-
Craft Attuned Staff
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Forge Attuned Staff
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
And - All (Conditions) are true
-
Conditions
- (Hero has an item of type Steel Staff) Equal to True
- MaterialTrollMojo Greater than or equal to 15
- MaterialKoboldEye Greater than or equal to 15
-
Conditions
-
And - All (Conditions) are true
-
Then - Actions
- Special Effect - Create a special effect attached to the origin of Hero using Abilities\Spells\Orc\AncestralSpirit\AncestralSpiritCaster.mdl
- Special Effect - Create a special effect attached to the origin of Hero using Abilities\Spells\NightElf\Blink\BlinkTarget.mdl
- Item - Remove (Item carried by Hero of type Steel Staff)
- Set MaterialTrollMojo = (MaterialTrollMojo - 15)
- Set MaterialKoboldEye = (MaterialKoboldEye - 15)
- Item - Create |cff0099ffAttuned Staff|r at (Position of Hero)
- Hero - Give (Last created item) to Hero
-
Else - Actions
- Game - Display to Player Group - Player 1 (Red) the text: You lack the requir...
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
The ability that needs to be clicked is based on 'Charge Gold and Lumber' on a "Forge" unit (with shared shop etc.) which actually has all the other similar abilities needed for the other crafts. Does the fact that they are based on the same ability interferes with the trigger?