- Oct 15, 2021
- 2,123
- 3,592
This is for edicts, I don't know where is base clothing durability:Hey there, does anyone know where I can find the code to modify clothing durability?
FILE = Karryn's Prison\www\js\plugins\RemtairyEdicts.js
UNDER Game_Actor.prototype.edictsBonusClothingMaxDurability = function(skillId)
MODIFY THESE LINES:
if(this.hasEdict(EDICT_WARDEN_CLOTH_UPGRADE_FOUR)) bonus += 805;
else if(this.hasEdict(EDICT_WARDEN_CLOTH_UPGRADE_THREE)) bonus += 550;
else if(this.hasEdict(EDICT_WARDEN_CLOTH_UPGRADE_TWO)) bonus += 330;
else if(this.hasEdict(EDICT_WARDEN_CLOTH_UPGRADE_ONE)) bonus += 150;
if(this.hasEdict(EDICT_BAR_WAITRESS_OUTFIT_II)) bonus += 300;
if(this.hasEdict(EDICT_RECEPTIONIST_OUTFIT_II)) bonus += 300;