[(BGEE, BG2) bug] Remove magic
Remove magic is supposed to be dispel magic, only for enemies. Unlike dispel, though, remove magic was not removing the effects of feeblemind:
// remove magic not removing feeblemind like dispel magic
COPY_EXISTING ~spwi302.spl~ ~override~
LAUNCH_PATCH_FUNCTION ~ADD_SPELL_EFFECT~ INT_VAR
opcode = 240 // remove portrait icon
target = 2 // target preset target
parameter2 = 48 // icon: feeblemind
timing = 1 // instant/perm
END
LAUNCH_PATCH_FUNCTION ~ADD_SPELL_EFFECT~ INT_VAR
opcode = 77 // remove feeblemind
target = 2 // target preset target
timing = 1 // instant/perm
END
BUT_ONLY
Post edited by Bhryaen on
0
Comments
I casted Feeblemind on a Ghoul and it took effect (made sure of this with CTRL+Q). Then I casted Remove Magic and it dispelled Feeblemind (Ghoul started moving and CTRL+Q showed that it no longer had Feeblmind status).
SPWI302
Two new effects added:
Remove portrait icon- Feeblemind (because we don't want enemies having cluttered portraits like ours)
Cure Feeblemindedness (77)