===
Hi, i would like show the image when the durability is tot, someone know how is the script for it?
is using the Yanlfy one
Durability of weapon and tot i mean "x" "value" "number" (because each weapon with different tier have more durability, so for write without explain i wrote tot
I still don't understand what that means. But if you don't care to try a translator to use sentences, that's fine.
reference_to_actor.weapons()[0].durability
DataManager.getBaseItem(reference_to_actor.weapons()[0]).durMax
Google Translator :
Condition: $gameParty.members()[0].weapons()[0].durability == 500;
Thaaanks u soo much
Condition: $gameParty.members()[0].weapons()[0].durability <= 200;
Condition: $gameParty.members()[0].weapons()[0].durability <= 150;
Condition: $gameParty.members()[0].weapons()[0].durability <= 250 && $gameParty.members()[0].weapons()[0].durability > 200;
Condition: $gameParty.members()[0].weapons()[0].durability <= 200 && $gameParty.members()[0].weapons()[0].durability > 150;
Condition: $gameParty.members()[0].weapons()[0].durability <= 150;
<Target Weapon Durability: +77>
this will not increase also the max durability if the actual durability is the same amount of the max?
<Repair Durability: 50>
<Custom Target All Weapon Durability>
diff = $gameParty.members()[target.index()].weapons()[0].durMax - $gameParty.members()[target.index()].weapons()[0].durability;
if (50 > diff) {
value += diff;
} else {
value += 50;
}
</Custom Target All Weapon Durability>
Ok this looks work, aaand another thing, how can i made that if the weapon instead to remove from the equip when is broke, still equipped with 0 durability?
Sure, i will, thanks for the help 🙂
Original thread: https://forums.rpgmakerweb.com/threads/condition-for-the-durability.169211/