Hi,
There is a market in my game.There are 6 buffs in the market.
I want the player to buy a maximum of 3 buffs. How can I do that ?
I added "buff count" statistic to each player."buff count" statistic increases by 1 when 1 buff is purchased.
This system is working properly. But if the player buys 5-6 buffs one after another , the system does not work because the purchasing process is faster than the update of the "buff count" statistic.