This makes it so you cant set the variable above the specified number i.e. num_hp_dice can not be higher than 30, etc. Chris Powell > > 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 | > +------------------------------------------------------------+ > +------------------------------------------------------------+ | 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