button the shield

Friend, thanks for the ideas, instead of the button, how do you make it so that when you use a weapon after x turns it breaks or disappears?
ChronoEngine doesn't have turns because its an ABS.
ChronoEngine doesn't have turns because its an ABS.
My friend, help me, what if I make a variable or a time so that the weapon disappears later, isn't that possible?
My friend, help me, what if I make a variable or a time so that the weapon disappears later, isn't that possible?
Yes, I already told you it was possible but would require overwriting a section of code in ChronoEngine. You could also do it with the Yanfly Item Durability plugin using "lunatic" code, which you didn't answer if you were using that plugin or not.
Yes, I already told you it was possible but would require overwriting a section of code in ChronoEngine. You could also do it with the Yanfly Item Durability plugin using "lunatic" code, which you didn't answer if you were using that plugin or not.
I'm sorry, yes I'm using the durability plugin, I don't know how to program, I'm just a storyteller lol, is there anything you can do without messing with the code?
Put this in the shield notebox
<Custom Break Effect>
$gameActors.actor($gameParty.leader()._actorId).forceChangeEquip(1, null);
$gameParty.leader().refreshToolIds();
</Custom Break Effect>

Original thread: https://forums.rpgmakerweb.com/threads/button-the-shield.166696/