[(BG2) bug] Monk fists
Monks receive an erroneous +1 to THAC0 at levels 6-8, but are being shorted a point of THAC0 and damage at levels 15-17.
// monk fists are inconsistent w/ descript
COPY_EXISTING ~mfist3.itm~ ~override~
~mfist6.itm~ ~override~
READ_LONG 0x60 "enchantment" ELSE 0
READ_LONG 0x64 "abil_off" ELSE 0
READ_SHORT 0x68 "abil_num" ELSE 0
FOR (index = 0; index < abil_num; index = index + 1) BEGIN // looks for melee ability header
READ_BYTE ("%abil_off%" + ("%index%" * 0x38)) "type"
PATCH_IF ("%type%" = 1) BEGIN // melee ability check
WRITE_SHORT ("%abil_off%" + 0x14 + ("%index%" * 0x38)) "%enchantment%" // sets thac0 bonus
WRITE_SHORT ("%abil_off%" + 0x1a + ("%index%" * 0x38)) "%enchantment%" // sets damage bonus
END
END
BUT_ONLY_IF_IT_CHANGES
Post edited by Tanthalas on
2
Comments
MFIST3- no longer has +1 dam bonus (vBG2 Bonus to hit = 0 but an extra +1 dam))
MFIST6- now has +3 THAC0 and +3 dam (vBG2 has +2 in both)