Re: SPRINTBIT ERROR!

From: Gary (gwalicze@students.uiuc.edu)
Date: 08/11/95


On Fri, 11 Aug 1995, Julian Fong wrote:

> On Fri, 11 Aug 1995, Thomas G. Dailey wrote:
> 
> > 
> > I made a spell called stupidity.  When casted on the mob, the mob loses
> > -11 to int and -11 to wis.  I thought this would make it so mobs wouldn't be
> > able to cast spells or at least make them fail more.  I am getting this
> > SPRINTBIT ERROR! in the affect area when you stat the mob.  It does do the
> > -11 to both wis and int though. *shrug*  Any ideas??
> > Thanks in advance.
> 
> I assume you added an affect in structs.h. You also need to add the name 
> of the affect to constants.c, to the array of strings in affected_bits[]. 
> It should now be fine.
> 
> Regards,
> 
> Levork

Affects to int and wis are shiped in standard circle, are they not?  
Anyway, in the magic_user special proceedure it calls the spell casting 
AFTER the point that it makes the check for failing the cast, because 
mobs don't have skills/spells.  Also, the check it makes for the cast is 
just the characters skill level vs. a number(1, 101), and so int and 
wisdom wouldn't affect this anyway.

--Gary 



This archive was generated by hypermail 2b30 : 12/18/00 PST