Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Axis & Allies 1942 Online is now available in Early Access! Buy it on Steam. The FAQ is available.
New Premium Module: Tyrants of the Moonsea! Read More
Attention, new and old users! Please read the new rules of conduct for the forums, and we hope you enjoy your stay!

[(BG2, BGEE) Bug] Spell failure portrait icons

CamDawgCamDawg Member, Developer Posts: 3,394
edited August 2012 in Fixed
The divine spells creeping doom, insect swarm and the wild make surge repulsion all cause 100% spell failure, but lack portrait icons to indicate this effect. This patch will add spell failure icons to these spells:
// spell failure effects not accompanied by spell failure icon
COPY_EXISTING ~sppr517.spl~ ~override~ // 100%, no icon
LAUNCH_PATCH_FUNCTION ~ADD_SPELL_EFFECT~ INT_VAR
opcode = 142 // display portrait icon
target = 2 // preset target
power = 5 // power
resist_dispel = 1 // dispel/bypass MR
duration = 36 // duration
parameter2 = 83 // icon: spell failure
END
BUT_ONLY

// spell failure effects not accompanied by spell failure icon
COPY_EXISTING ~sppr717.spl~ ~override~ // 100%, no icon
LAUNCH_PATCH_FUNCTION ~ADD_SPELL_EFFECT~ INT_VAR
opcode = 142 // display portrait icon
target = 2 // preset target
power = 7 // power
resist_dispel = 1 // dispel/bypass MR
duration = 18 // duration
parameter2 = 83 // icon: spell failure
END
BUT_ONLY

// spell failure effects not accompanied by spell failure icon
COPY_EXISTING ~spwm128.spl~ ~override~ // 100%, no icon
LAUNCH_PATCH_FUNCTION ~ADD_SPELL_EFFECT~ INT_VAR
opcode = 142 // display portrait icon
target = 2 // preset target
resist_dispel = 0 // dno ispel/bypass MR
duration = 60 // duration
parameter2 = 83 // icon: spell failure
END
BUT_ONLY

Post edited by Bhryaen on
AndreaColomboTanthalasIgneousBhryaen

Comments

Sign In or Register to comment.