[CODE] SpecProcs

From: Quinn ShadowStalker (quinn@MUD.COMSYS.NET)
Date: 06/08/98


Ok my friend wrote a specproc but he didnt make it into a
SPECAL(blah_blah)  here is how he put it.

void slash_materia(struct char_data * tech)
{
        int ii, jj;
    struct obj_data *temp_obj;

    jj = 0;
        for (ii = 0; ii < NUM_WEARS; ii++)
        {
                temp_obj = GET_EQ(tech, ii);
                if (temp_obj)
                if (GET_OBJ_VNUM(temp_obj) == SLASH_MATERIA)
                        {
                                jj = 1;
                                break;
                        }
        }


Now how would I change this into a normal specproc?

--------------------------------------------------------------------------
|Matt Roach - owner of OnyxMUD            | "I dont have bugs... just    |
|And Coder/Builder of Quaratine           | randomly created features!"  |
|matt@shiva.ml.org    quinn@mud.comsys.net|                              |
|quinn@match.org                          |                              |
--------------------------------------------------------------------------


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



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