Hi there!
So this might be a really stupid thing but I'm pretty new to rpg maker and I'm stuck on this problem.
I created a skill which equips a weapon to the actor & adds 6 "Bullet Tokens" to the inventory. "Bullet Tokens" are consumed upon attacking. All of this works (with help from the Yanfly engine), however I'm trying to figure out a way to get rid of the items + weapon when the skill is used again, so that the Bullet Tokens are reset to 6 (for balancing reasons). So ideally, if the character has i.e. 3 Bullet Tokens and uses the Skill a second time, they should now have 6 Bullet Tokens in their inventory again (hope that makes sense).
Currently, the skill runs this common event, however when using the skill the game seems to be stuck in a constant loop.
Again, this might be a really stupid problem but any and all help is greatly appreciated <3
So this might be a really stupid thing but I'm pretty new to rpg maker and I'm stuck on this problem.
I created a skill which equips a weapon to the actor & adds 6 "Bullet Tokens" to the inventory. "Bullet Tokens" are consumed upon attacking. All of this works (with help from the Yanfly engine), however I'm trying to figure out a way to get rid of the items + weapon when the skill is used again, so that the Bullet Tokens are reset to 6 (for balancing reasons). So ideally, if the character has i.e. 3 Bullet Tokens and uses the Skill a second time, they should now have 6 Bullet Tokens in their inventory again (hope that makes sense).
Currently, the skill runs this common event, however when using the skill the game seems to be stuck in a constant loop.
Again, this might be a really stupid problem but any and all help is greatly appreciated <3