I was just wondering if anyone knows where the script for "resistspell" can be found. Im trying to create a spell bouncing shield and the "myresistspell" script only seems to apply visual graphics and while does return a number based on how the spell was resisted, it doesn't do the work to determine how the spell was resisted.
Also I was wondering if anyone knows what a "player spell" is...
// Do a Spell Resistance check between oCaster and oTarget, returning TRUE if
// the spell was resisted.
// * Return value if oCaster or oTarget is an invalid object: FALSE
// * Return value if spell cast is not a player spell: - 1 <-?? "User type" in the spells.2da ??
// * Return value if spell resisted: 1
// * Return value if spell resisted via magic immunity: 2
// * Return value if spell resisted via spell absorption: 3
// * Return value if spell was turned by my new and wonderful spell shield : 4
Thanks J