Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Axis & Allies 1942 Online is now available in Early Access! Buy it on Steam. The FAQ is available.
New Premium Module: Tyrants of the Moonsea! Read More
Attention, new and old users! Please read the new rules of conduct for the forums, and we hope you enjoy your stay!

[(BG2) bug] Monk fists

CamDawgCamDawg Member, Developer Posts: 3,394
edited November 2012 in Fixed
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
AndreaColomboCrevsDaak

Comments

Sign In or Register to comment.