WeiDUorg / weidu

WeiDU is a program used to develop, distribute and install modifications for games based on the Infinity Engine.
http://www.weidu.org
GNU General Public License v2.0
90 stars 20 forks source link

ADD_MEMORIZED_SPELL should work correctly with innate SPLs #130

Closed 4Luke4 closed 5 years ago

4Luke4 commented 5 years ago

ADD_MEMORIZED_SPELL ~spcl321~ #0 ~INNATE~ (2)

The previous instruction does nothing (if you check the CRE with NearInfinity, you'll notice that BERSERKER_RAGE is not listed under the Memorized spells section.......

I know you can achieve the same goal with ADD_CRE_EFFECT (opcode = 171), but I'd like to report this issue in any case (since the ReadMe states that ADD_MEMORIZED_SPELL works for innate SPLs.....)

EDIT: OK, sorry, it seems to work fine now, maybe I was writing #2 instead of (2) (I'm referring to [(value)].....)

FredrikLindgren commented 5 years ago

Works for me too. Closing.