Gibberlings3 / BG2-Fixpack

The BG2 Fixpack is an ongoing project to finally fix the last remaining bugs and errors left after numerous official patches and unofficial fixpacks in Baldur's Gate 2 and Throne of Bhaal.
https://www.gibberlings3.net/mods/fixes/bg2fixpack/
24 stars 7 forks source link

Blade Offensive Spin - bg2fixpack and TobEx #10

Closed TotoR115 closed 2 years ago

TotoR115 commented 3 years ago

There is a bug with the fix for SPCL521 in conjunction with tobex : the additional attack is not granted.

This is due to the following lines 12178:

LPF ADD_SPELL_EFFECT INT_VAR opcode = 1 target = 1 parameter1 = 1 duration = 24 resist_dispel = 2 END // +1 apr

it adds the opcode at the end of effect, after the opcode 206 (protection from spells) which make the +1 APR ineffective.

the use of the following line instead solves the bug : LPF CLONE_EFFECT INT_VAR silent = 1 check_globals = 0 match_opcode = 65 opcode = 1 target = 1 parameter1 = 1 duration = 24 resist_dispel = 2 END

CamDawg commented 2 years ago

Fixed in commit https://github.com/Gibberlings3/BG2-Fixpack/commit/5e79a00d4399c07ab9f68ba54ffceac7bbf2b04d