Skip to content

[(BGEE, BG2) bug] Hold animal

CamDawgCamDawg Member, Developer Posts: 3,438
edited August 2012 in Fixed
Hold animal has a casting speed of 6 and saves are at a -3 penalty. The spell should have casting speed of 5 and saves should be straight up.
// hold animal has incorrect casting time and has a spurious save penalty
COPY_EXISTING ~sppr305.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 // look through abilities
WRITE_SHORT ("%abil_off%" + 0x12 + ("%index%" * 0x28)) 5 // casting time
READ_SHORT ("%abil_off%" + 0x1e) "abil_fx_num"
READ_SHORT ("%abil_off%" + 0x20) "abil_fx_idx"
FOR (index2 = 0 ; index2 < abil_fx_num ; index2 = index2 + 1) BEGIN
WRITE_LONG ("%fx_off%" + 0x28 + (0x30 * ("%abil_fx_idx%" + "%index2%"))) 0 // save bonus
END
END
BUT_ONLY_IF_IT_CHANGES
Post edited by Bhryaen on
Bhryaen

Comments

  • KeithSKeithS Member Posts: 623
    Adding...
  • NathanNathan Member Posts: 1,007
    Verified, this fix has been integrated internally and should be present in the next build.
  • Avenger_teambgAvenger_teambg Member, Developer Posts: 5,862
    confirmed fixed - casting speed=5, no bonus
  • BhryaenBhryaen Member Posts: 2,874
    Confirmed fixed:

    SPPR305 has casting speed = 5, all three effects set to Save v Spells at +0.
Sign In or Register to comment.