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!
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
To your "Then-Actions", you add a trigger called "Player - Add Property" (simply search the list for it) You can select which property you wanna add, e.g. add a specific value to the players current gold.