odd glitch in scroll recital

Posted by Meerclar on Fri 22 Nov 2002 01:45 AM — 2 posts, 8,220 views.

USA #0
Earlier today I created a scroll with these spells in this order:

v1 curse
v2 blindness
v3 weaken
v4 slow

For some very bazare reason the only spell on the scroll that casts correctly when recited is blindness. Any thoughts?
USA #1
Well, thanks to an assist from Daos, this has been solved. Seems the obj_cast_spell function in magic.cpp was missing a case handler for TAR_MOB_OFFENSIVE which essentially had the scrolls react as if any spell flagged as TAR_MOB_OFFENSIVE was a blank field when the scroll was recited. Hopefully anyone else that runs into this catches this fix and adds the missing case in magic.cpp