Skip to content

[(BG2, BGEE) Bug] Horror save bonus

CamDawgCamDawg Member, Developer Posts: 3,438
edited August 2012 in Fixed
The effects of the horror spell (as a mage spell or the Bhaalspawn version) provide a save at a +2 bonus. Per its descript, there should be no save bonus.
// removing horror's undocumented save bonus
COPY_EXISTING ~spin105.spl~ ~override~ // bhaalspawn innate horror
~spwi205.spl~ ~override~ // wizard spell horror
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%" + 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_LONG ("%fx_off%" + 0x28 + (0x30 * ("%abil_fx_idx%" + "%index2%"))) "savebonus"
PATCH_IF ("%savebonus%" != 0) BEGIN // saving throw bonus shouldn't be there
WRITE_LONG ("%fx_off%" + 0x28 + (0x30 * ("%abil_fx_idx%" + "%index2%"))) 0
END // end PATCH_IF for saving throw bonus
END // end FOR index2 for reading each ability
END // end FOR index for reading each extended header
BUT_ONLY_IF_IT_CHANGES
Post edited by Bhryaen on

Comments

  • CorianderCoriander Member Posts: 1,667
    I'll add this.
  • NathanNathan Member Posts: 1,007
    Verified this has been integrated internally, should be in the next build.
  • Avenger_teambgAvenger_teambg Member, Developer Posts: 5,862
    Confirmed fixed - saving throw bonuses were removed from all effects.
  • BhryaenBhryaen Member Posts: 2,874
    Confirmed Fixed:

    NI shows all effects (except the first Play3DEffect) in the Spell Ability of SPWI205 & SPIN105 are set to "( Save vs spells(0) )" and a "Save bonus" of 0.
Sign In or Register to comment.