OLC

From: Chuck Reed (creed@I-55.COM)
Date: 02/24/98


Umm, I'm confused as to what the hell is going on in this area of medit.c

case MEDIT_NUM_HP_DICE:
    GET_HIT(OLC_MOB(d)) = MAX(0, MIN(30, atoi(arg)));
    break;

  case MEDIT_SIZE_HP_DICE:
    GET_MANA(OLC_MOB(d)) = MAX(0, MIN(1000, atoi(arg)));
    break;

  case MEDIT_ADD_HP:
    GET_MOVE(OLC_MOB(d)) = MAX(0, MIN(3000, atoi(arg)));
    break;

Is this asigning the mobs hp dice to hp move and mana????!!!
I am having a problem in that whenever I assign a value to a mob's hp
bonus, it always defaults to 100.
Any clue as to what all this means?

Chuck


     +------------------------------------------------------------+
     | 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