Skip to content

[(BGEE, BG2) bug] Horror duration

CamDawgCamDawg Member, Developer Posts: 3,438
edited September 2012 in Fixed
Horror is only lasting three rounds instead of the one turn (10 rounds) listed in its description.
// horror duration incorrect
COPY_EXISTING ~spwi205.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 // cycle thru abilities
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%" + 0x0e + (0x30 * ("%index2%" + "%abil_fx_idx%"))) "duration"
PATCH_IF ("%duration%" = 18) BEGIN
WRITE_LONG ("%fx_off%" + 0x0e + (0x30 * ("%index2%" + "%abil_fx_idx%"))) 60
END
END
END
BUT_ONLY_IF_IT_CHANGES
Post edited by Bhryaen on

Comments

  • Avenger_teambgAvenger_teambg Member, Developer Posts: 5,862
    Confirmed fixed.
  • BhryaenBhryaen Member Posts: 2,874
    Confirmed Fixed:

    Duration for Effects of Panic, Display Portrait Icon, Play Visual Effect, and Play sound (Effects #0, 3, 4, 6) all set to 60sec = 10 rounds = 1 turn.
Sign In or Register to comment.