Jump to content

Jaheira Proficiency Fixes


Recommended Posts

Jaheira's top-level creature files are missing a proficincy star. At 800,000 XP a F/D should have 7 stars total and at 2.5M 8 stars; JAHEIR12 and JAHEI14 both have 6. JAHEI14 levels up immediately upon joining the party, which nets one more star, but is still one short of where she should be. This patch will adjust her one star in scimitars to two.


This patch will also fix JAHEIR12 having 14 dexterity, whereas all other versions of her have 17.


COPY_EXISTING ~JAHEIR12.cre~ ~override~
             ~JAHEI14.cre~  ~override~
 READ_LONG 0x2c4 "fx_off"
 READ_LONG 0x2c8 "fx_num"
 WRITE_BYTE 0x23c 17 // sets dex to 17
 WHILE ("%fx_num%" > 0) BEGIN
   SET "fx_num" = ("%fx_num%" - 1)
   READ_LONG ("%fx_off%" + 0x08 + ("%fx_num%" * 0x108)) "type"
   READ_LONG ("%fx_off%" + 0x18 + ("%fx_num%" * 0x108)) "wpn"
   PATCH_IF (("%type%" = 233) AND ("%wpn%" = 95)) BEGIN      // if scimitar prof
     WRITE_LONG ("%fx_off%" + 0x14 + ("%fx_num%" * 0x108)) 2 // set to 2 stars


edit: Ghrey spotted a mistake; corrected.

Link to comment


This topic is now archived and is closed to further replies.

  • Create New...