[(BGEE, BG2) bug] Polymorph other
Per its description, Polymorph Other has a save for negation, however a +2 save bonus is being used in the spell. This fix will also cover the polymorph other wild surge:
// poly other shouldn't have save bonuses
COPY_EXISTING ~spwi415.spl~ ~override~
~spwm183.spl~ ~override~
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 (loops = abil_fx_num ; loops > 0 ; loops = loops - 1) BEGIN
WRITE_LONG ("%fx_off%" + 0x28 + (0x30 * ("%abil_fx_idx%" + ("%loops%" - 1)))) 0 // save bonus
END
END
BUT_ONLY_IF_IT_CHANGES
Post edited by Bhryaen on
1
Comments
confirmed spells saving throw adjustment zeroed out.
SPWI415 & SPWM183 both have 0 as the "Save bonus" modifier for all effects (and all set for "Save type" "( (Petrify/Polymorph(4) ).