Lets say rope fragments was used 3 times on actor 1, and 9 times on actor 2. Then actor 2 uses rope fragments one more time, and gains the "air strike barrage" skill. Then it's used on actor 1, 7 more times and they gain the "Air strike barrier" skill. Is there some way to pull this off?
How to store the number of times an item was used on an actor in a variable
RPG Maker VXAce SupportI would use a state effect thats invisible to inflict the actor 100% on use and use a common event / conditional branch to check which actor is inflicted with said state. This will allow you to identify the actor and item based on the conditional and common event. The amount of times will be stored correctly because when you use the item you use a variable +1 which gives +1 each time the item is used.
Oh that's brilliant! Thank you
Edit: this game mechanic is inspired by the manga/anime "the rise of shield hero" by the way
Edit: this game mechanic is inspired by the manga/anime "the rise of shield hero" by the way
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
Original thread: https://forums.rpgmakerweb.com/threads/how-to-store-the-number-of-times-an-item-was-used-on-an-actor-in-a-variable.126536/