powerof3 / PapyrusExtenderSSE

MIT License
66 stars 14 forks source link

Bugs in AddMagicEffectToSpell and RemoveMagicEffectFromSpell #1

Closed pijaczkar8 closed 4 years ago

pijaczkar8 commented 4 years ago

Calling AddMagicEffectToSpell without passing args 6 and 7 (allowing them to use the default values) causes a log warning:

[08/14/2020 - 03:53:19PM] warning: Passing NONE to non-object argument 7.

Passing an empty string array gets rid of that warning, but results in a different one:

Failed to parse condition list

RemoveMagicEffectFromSpell doesn't appear to be able to remove effects which were added to the spell in the CK (ie original effects), and when calling it on new effects added through AddMagicEffectToSpell it causes an instant CTD. This may be related to the AddMagicEffectToSpell NONE warning mentioned above?