I have a need for a magic wand that has limited uses, after which, it disappears. Would I be able to make it with Common Events, and if so, is there a tutorial to go with it?
A Magic Item with limited Uses.
RPG Maker MV SupportA fairly simple affair, I think.
Use (presumably only in combat) triggers the Common Event, the Common Event fires off the effect, removes 1 from the wand's variable, checks if the variable is 0, and if so, destroys the wand.
Of course, if you have multiple wands, that's going to be a LOT more complicated.
Use (presumably only in combat) triggers the Common Event, the Common Event fires off the effect, removes 1 from the wand's variable, checks if the variable is 0, and if so, destroys the wand.
Of course, if you have multiple wands, that's going to be a LOT more complicated.
Basically, what I intended to do is to have a device that will recharge the wand. An item that, when consumed, adds to the variable.
I'm only going to be using one wand anyway.
I'm only going to be using one wand anyway.
Is there a reason you can't just make the wand a consumable item, and have the charges be copies of the item? I assume you can't sell it, so you don't have to worry about selling charges.
If you want to leave an uncharged wand behind when they run out, you can still use a common event:
Then, for your recharge item, you just make it give you a charge item via common event, and recover the uncharged wand if you have one.
Which method you use is up to you.
If you want to leave an uncharged wand behind when they run out, you can still use a common event:
Code:
If the player doesn't have any charges in their inventory:
Add 'uncharged wand' to the inventory.
Which method you use is up to you.
Original thread: https://forums.rpgmakerweb.com/threads/a-magic-item-with-limited-uses.83691/