>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;
>>
Nah, you are misunderstanding me. I know what the max/min stuff is. What
i don't know is why OLC is assigning the size of the damage dice to
GET_MANA(mob).
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