Everything is great! To make the max durability a decimal would only show bigger settings, it's the opposite of what I'm wanting. Thank you very much, Selchar!
Have you considered something like Fire Emblem Awakening's Armthrift skill where a passive skill or even an accessory can sometimes prevent equipment from losing durability?
So, I'm having issues with the script...
No, it works, durability works as it should, all items are counted as different entries in the inventory, but my issue is: the script keeps crashing the game I'm working on whenever I'm going to sell items with the Galv Shopping script.
Is there a patch I'm missing? Is it an compatibility issue? Is there an simple fix I haven't seen?
Edit: Also, every single time I use an item(like a potion or something) it crashes the game.
I've look at your Armthrift script, and it seems you forgot to add a method in the skills class which you call in Game_Battler.
Sorry for reviving this, but does anyone know how to make the broken weapon change occur within battle?
You can set an item whose durability has reached 0 to change to another weapon (such as a broken sword), but I've set it up so that a sword switches between three forms whenever the durability runs out. However, when it reaches 0 in battle, the battler has no weapon in combat. (The next form in line does appear in the inventory though, but not equipped)
When i try to use Tsukihime's Item Instance i get this message: Script 'Game_Party' line103: NoMethodError occured. undefined method '+' for nil:NilClass
How do i fix this?
Hey this is an awesome script, way to go! I was just wondering if there was any way to use an armor's durability in and if statement inside of an event.
For example If body slot armor is 5 then display an image.
Basicly, I have an image of the main character and when they're armor gets damaged I want to use an event to change thier picture to reflect the look of damaged armor
Thank you both, it works awesomely now. 🙂
Related but unrelated to this script, I sent you a PM Selchar. Tell me what you think about it.
If you were hit by a low sweep or mid slash, how would that affect your iron helm's durability, just as how would a punch affect your iron boots' durability?
What if there were an inclusion/exclusion list, where you specify, say, what attacks do affect the armor's durability, say if you're using a high/low/mid/all system?
Wait, there's the element rate for this script.
Meaning that you can affect percentage chance at which a skill damages your durability. So you could set the chance to have your helm's durability damaged by skills of the "Low" element to zero. I am not sure how this function works with the multiple-element scripts (which I do use), but I will be testing it out.
I've been looking at this script, and it seems to work pretty well, but would it be possible to damage a weapon outside of combat somehow (probably with a script call)? I have been trying to find a way, but I can't seem to get it to work.
EDIT: I got it to work with this:
equip = $game_actors[1].equips[0]equip.durability -= 1But it doesn't update the suffix in the menu. It updates after I go into battle, however, and by setting a variable to equip.durability I figured out that it is working. Also, the weapon won't break. If I add:
if equip.durability <= 0 equip.durability = 0 equip.break_by_durability($game_actors[1])endIt gives a no mothod error, saying "undefined method 'log_window'". I'm guessing this is because it's not in battle, but I'm not sure.
How would you use the <skill durability mod> tag? I think I'm doing something wrong.
Do I put the tag in the weapon or the skill?