- Joined
- Aug 10, 2010
- Messages
- 77
Code:
Crystal1
Události
Jednotka - A unit owned by Hráč 1 (ÄŤervenĂ˝) ZaÄŤĂná pouĹľĂvat schopnost
PodmĂnky
(Unit-type of (Casting unit)) Rovná se |cFFBF0000Crystal|r cave
(Ability being cast) Rovná se Buy 1 Crystal
(Hráč 1 (červený) Stav dřeva) Většà nebo rovno 30
ÄŚinnosti
Hráč - Add -30 to Hráč 1 (červený) Stav dřeva
Set Crystals = (Crystals + 1)
Ăškol - Display to (All players) the Tip message: You have received 1...
This code works for ability 1.
next 3. are almost the same and only conditions are changed
My question would be if the triggers are wrong or abilities in Object manager
Lets imagine i have created Shop for crystals, Crystals is Variable
I made 4 abilities with Copy paste
1. Buy 1 Crystal for 30 Gems
2. Buy 10 Crystal for 300 Gems
3. Buy 100 Crystal for 3000 Gems
4. Buy 1000 Crystal for 30 000 Gems
When I click on random ability they are clicked all 4 why? I think it is by abilities because they are almost similar, also there has to be a solution.
Attachments
Last edited: