weapon profs revisited

From: Christopher Daly (snaga@mail.thewolvesden.net)
Date: 04/12/00


hi everyone:

I'm still working on the groundwork for my custom weapon profs
system.  Specifically still working on a way for the code to know
which skill to check based on the wielded weapon.

Someone (i accidentally deleted the email, but thanks) responded
that one of the weapon values is unused.  i looked in oedit.c and
found this:

 case ITEM_WEAPON:
    /*
     * This doesn't seem to be used if I remembe right.
     */
    SEND_TO_Q("Modifier to Hitroll : ", d);
    break;

Choosing to be thourough, i checked it all out, and couldn't find any
use of value 0 for weapon type.

My question is:
Am i correct, can i usurp that variable for my own purposes (basically
as a weapon type variable, so i can tell the game which skill to check)
without nasty repurcussions?

thanks in advance
Snaga of perp


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 04/10/01 PDT