So basicly what I want to do is aaahm... I don't know how to explain. I'll give an example.
I have a unit [citizen] and he has a spell, when he activates he runs to townhall and gets replaced with Worker. But to cast the spell you pay 20g.
So everything works when only one citizen is selected, but when 2citizen are selected and cast it cost me not 40gold but 60gold, and if 3citizen it costs 120g or w/e.
I hope you get what I say.
Here is my code:
If you need whole trigger, ask.
I have a unit [citizen] and he has a spell, when he activates he runs to townhall and gets replaced with Worker. But to cast the spell you pay 20g.
So everything works when only one citizen is selected, but when 2citizen are selected and cast it cost me not 40gold but 60gold, and if 3citizen it costs 120g or w/e.
I hope you get what I say.
Here is my code:
Trigger:
- Player - Add ((Number of units in Become_a_worker) x -20) to Player 1 (Red) Current gold
If you need whole trigger, ask.