- Joined
- Dec 15, 2017
- Messages
- 12
Hello guys, this is what I'm trying to achieve:
I have a spellbook. In this spellbook there are 3 abilities. Each of them has a cost in gold, in order to be cast.
If I have enough gold, it goes in cooldown as soon as i click it.
If i don't have enough gold it should say:"Not enough gold!"; while not going in cooldown.
How do i do this?
I have a spellbook. In this spellbook there are 3 abilities. Each of them has a cost in gold, in order to be cast.
If I have enough gold, it goes in cooldown as soon as i click it.
If i don't have enough gold it should say:"Not enough gold!"; while not going in cooldown.
How do i do this?