Pocket Plane Group

Miscellany, Inc. => Infinity Engine Modding Q&A => Topic started by: Caedwyr on April 22, 2004, 10:49:38 PM

Title: Spell-Immunity submenu type spell problems
Post by: Caedwyr on April 22, 2004, 10:49:38 PM
I'm working on creating a spell which when cast will bring up a submenu of choices.  I have examined Spell Immunity, and created a new .2DA with the appropriate spells included and referenced in the .2DA.  All I have done there, is add additional rows and changed which spell files are being called.  I have left the 'type' field at 3.

One of the spells I want to be able to cast is Magic Missle.  This spell casts fine, but only one missle is fired off, when the caster should be capable of firing off 5 missles.  The NPC casting this spell is level 25, the pseudo-spell immunity spell is a level 9 innate, and I have set the power of the spell effect that brings up the submenu (opcode 214: Select spell) to 9.  Nothing seems to affect the level at which the spell is cast at.  Since several other of the spells have multiple extended spell headers like magic missle, the level at which the spell is cast is significant.  Any pointers would be very much welcome.
Title: Re: Spell-Immunity submenu type spell problems
Post by: Caedwyr on April 25, 2004, 12:33:54 AM
Figured this one out as well.  It turns out that since the class of the .cre was not a mage class, the wizard spells were all using their lowest level extension header.  Changing the .cre to a wizard multiclass with the right level for the desired effect results in properly working spells.  Yay!