- Joined
- Jul 3, 2004
- Messages
- 404
In this trigger a player buys a spell. But the spell costs money. So how do i do this???
This is how the trigger looks like right now!
This is how the trigger looks like right now!
Code:
Avatar
Events
Dialog - A dialog button is clicked for Human_Spell_Next
Conditions
(Clicked dialog button) Equal to Avatar
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Triggering player) Equal to Player 1 (Red)
Then - Actions
Unit - Add Blizzard to HeroPlayer_1
Else - Actions