Skip to content

[(BG2, BGEE 0709) Bug] Full plate +1 bugs

CamDawgCamDawg Member, Developer Posts: 3,438
edited August 2012 in Fixed
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

Comments

  • CorianderCoriander Member Posts: 1,667
    I'll add it.
  • NathanNathan Member Posts: 1,007
    Verified, this has been integrated internally and should be present in the next build.
  • Avenger_teambgAvenger_teambg Member, Developer Posts: 5,862
    edited July 2012
    It had 2 disable stealth effects already, now you added one more?
    I think the proper patch would only change one of the 0's to 1.


    Ahh you also removed them?
  • CamDawgCamDawg Member, Developer Posts: 3,438
    It deletes the existing two first, cause I was still playing around with the shiny new functions.
  • Avenger_teambgAvenger_teambg Member, Developer Posts: 5,862
    Confirmed fixed - minstr=15, disable thieving/stealth
  • BhryaenBhryaen Member Posts: 2,874
    Confirmed Fixed:

    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.
Sign In or Register to comment.