Jump to content

Barkskin


Recommended Posts

Pretty clean install of BG2:ToB. Only G3 Fixpack installed + PnP Celestials (which doesn't affect Barkskin as far as I can tell).

 

level 1-3, AC:6

level 4-6, AC:5

level 7-11, AC:4

level 12, AC:3

level 13-15, AC:4

level 16, AC:2

level 17, AC:4

level 18-19, AC:2

level 20, AC:1

 

I think the durations are correct.

Link to comment

Durations check out.

 

// barkskin AC bonus incorrect at higher levels
COPY_EXISTING ~sppr202.spl~ ~override~
 READ_LONG  0x64 "abil_off"
 READ_SHORT 0x68 "abil_num"
 READ_LONG  0x6a "fx_off"
 FOR (index = 0; index < abil_num; index = index + 1) BEGIN
   READ_SHORT ("%abil_off%" + 0x10 + (0x28 * "%index%")) "min_level"
   READ_SHORT ("%abil_off%" + 0x1e + (0x28 * "%index%")) "abil_fx_num"
   READ_SHORT ("%abil_off%" + 0x20 + (0x28 * "%index%")) "abil_fx_idx"
   FOR (index2 = 0; index2 < abil_fx_num; index2 = index2 + 1) BEGIN
     READ_SHORT ("%fx_off%" +        (("%abil_fx_idx%" + "%index2%") * 0x30)) "opcode"
     PATCH_IF ("%opcode%" = 0) BEGIN // ac bonus
       WRITE_LONG ("%fx_off%" + 0x04 + (("%abil_fx_idx%" + "%index2%") * 0x30)) (6 - (("%min_level%" - 1) / 4)) // ((6 - (caster level/4), per descript
     END
   END
 END
 BUT_ONLY_IF_IT_CHANGES

Link to comment

Archived

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

×
×
  • Create New...