Howdy, Stranger!

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


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!

[(BG1, BG2) BUG] Oil of fiery burning

CamDawgCamDawg Member, Developer Posts: 3,394
edited August 2012 in Fixed
The oil of fiery burning descript says it causes 5d6 damage (save for half) but inexplicably causes 3d6 + 3d4 (save against 3d4). Despite being thrown, it says 'gulp!' over the user. Finally, power levels on some of the effects are wrong, meaning it could potentially be blocked by magical protections.
// thrown oil of fiery burning shouldn't say 'gulp!', fix power levels
// oil of fiery burning damage incorrect
COPY_EXISTING ~potn13.itm~ ~override~
opcode_to_delete = "139" // kills 'gulp' effect
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 // cycle thru abilities
READ_SHORT (0x1e + "%abil_off%" + ("%index%" * 0x38)) "abil_fx_num"
READ_SHORT (0x20 + "%abil_off%" + ("%index%" * 0x38)) "abil_fx_idx"
FOR (index2 = 0 ; index2 < abil_fx_num ; index2 = index2 + 1) BEGIN
READ_BYTE ("%fx_off%" + (("%abil_fx_idx%" + "%index2%") * 0x30)) "opcode"
WRITE_BYTE ("%fx_off%" + 0x03 + (("%abil_fx_idx%" + "%index2%") * 0x30)) 0 // should bypass spell protections
PATCH_IF ("%opcode%" = 12) BEGIN // as long as we're here, fix duration
READ_LONG ("%fx_off%" + 0x24 + (("%abil_fx_idx%" + "%index2%") * 0x30)) "save"
PATCH_IF ("%save%" = 0) BEGIN // if not subject to save
WRITE_LONG ("%fx_off%" + 0x1c + (("%abil_fx_idx%" + "%index2%") * 0x30)) 2 // two rolls...
WRITE_LONG ("%fx_off%" + 0x20 + (("%abil_fx_idx%" + "%index2%") * 0x30)) 6 // of 6-sided die

Post edited by Bhryaen on


Sign In or Register to comment.