RMRK is retiring.
Server is paid up for the rest of 2026, but the forum may go after that. See here for more information. Please archive or save anything you would like to keep before 2027.
Main Menu
  • Welcome to The RPG Maker Resource Kit.

Item break / repair script???

Started by viperviper, March 29, 2009, 04:00:45 AM

0 Members and 1 Guest are viewing this topic.

viperviper

just wondering if there is such thing havent seen something of the sort yet. If you have a script like it, please share ^^ thankyou

Sirius

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