Re: [Circle] two quickies

From: Brian Guilbault (guil9964@nova.gmi.edu)
Date: 07/24/96


At 08:04 PM 7/24/96 -0400, you wrote:
>1.  I have a class that has both skills and spells.  In class.c, you define
>whether the class has skills or spells, for practice message purposes.  I
>want it to have both, and say the right thing.  Any ideas, if any of that
>made sense?

Sorry I can't help you with the second question, but I have a proposed
answer to this one. Couldn't you just remove that new class from the array
and then add a case that would check the number of the spell/skill being
called if it was that class using it? Then if it were less than the number
of your first skill, call it a spell, else call it a skill.

Did that make any sense? It is off the top of my head and my src is on
my other partition so I can't really post any code right now, but I do
think I remember that being an array. It's an idea anyway :-)


   -Brian



-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Brian Guilbault - GMI Engineering Institute
E-mail: guil9964@gmi.edu, dante@i-55.com
WWW: http://apollo.gmi.edu/~guil9964
QuarantineMUD: Telnet to exit1.i-55.com 4000
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
+-----------------------------------------------------------+



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