[(BG2, BGEE 0709) Bug] Full plate +1 bugs
The full plate +1 only requires 14 strength to wear (should be 15) and allows thieving while worn. This patch restores the strength requirement and disables thieving.
// full plate +1 doesn't disable thieving button, has bad min str
COPY_EXISTING ~plat05.itm~ ~override~
WRITE_BYTE 0x26 15 // correct min str
LAUNCH_PATCH_FUNCTION ~DELETE_ITEM_EQEFFECT~ INT_VAR
opcode_to_delete = "144" // disable buttons
END
LAUNCH_PATCH_FUNCTION ~ADD_ITEM_EQEFFECT~ INT_VAR
opcode = "144" // disable button
target = "1" // target self
timing = "2" // instant/while equipped
parameter2 = "1" // thieving
END
LAUNCH_PATCH_FUNCTION ~ADD_ITEM_EQEFFECT~ INT_VAR
opcode = "144" // disable button stealth (0)
target = "1" // target self
timing = "2" // instant/while equipped
END
BUT_ONLY_IF_IT_CHANGES
Post edited by Bhryaen on
1
Comments
I think the proper patch would only change one of the 0's to 1.
Ahh you also removed them?
Works in-game fine. A STR14 char has PLAt05 redded out and the "Inadequate Strength" message upon trying to equip it. A single BOOK04 and it's no longer redded out and goes on just fine.