I did a crappy little thing to make spells stay, using the innate code
from Pat, and my own little piece of ugliness =)
in do_start I added
ACMD( do_innate );
int spl;
extern char *spells[];
switch (GET_RACE(ch)) {
case RACE_TROLL:
spl = SPELL_REGEN;
break;
case RACE_DRACONIAN:
spl = SPELL_FLY;
break;
default:
spl = 0;
break;
}
if (spl) {
mag_affects(LVL_IMMORT -1, ch, ch, spl, 0);
sprintf(buf2, "%s %s", GET_NAME( ch ), spells[spl]);
do_innate(ch, buf2, 0, SCMD_SINNATE);
}
It is very ugly, and I right now you cant assign more than one spell,
but this is just mail code, which I did today just because I was going
to do it anyway. Hope it at least helps for now.
Christian Duvall
chris@dp.net
-_-_-_-_-_-_-
-_-_-_-_-
-_-_-
-
+-----------------------------------------------------------+
| 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/08/00 PST