The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Tutorials and Eventing => Topic started by: viperviper on March 29, 2009, 04:00:45 AM

Title: Item break / repair script???
Post by: viperviper on March 29, 2009, 04:00:45 AM
just wondering if there is such thing havent seen something of the sort yet. If you have a script like it, please share ^^ thankyou
Title: Re: Item break / repair script???
Post by: Sirius on March 29, 2009, 05:14:27 AM
Hmm, I don't know if this will work, cause it's just an idea in my head right now :blizj:

Maybe try setting a variable to 100 for each piece of equipment you want to make, and after every battle have a random chance of lowering those values by 1. When it reaches 5, maybe give a notice that the weapon's gonna break soon, and when it hits 0, remove the equipment from your inventory and replace it with the same armor without stats and a *Broken* next to it.

Try it and tell me if it works  :P