I am trying to stop players from being able to level into immortality, but to no avail. The only thing I have found to do is change it in limits.c and this is what I have done: (In gain_exp_regardless - Is this the right place to modify it?) int is_altered = FALSE; int num_levels = 0; GET_EXP(ch) += gain; if (GET_EXP(ch) < 0) GET_EXP(ch) = 0; if (!IS_NPC(ch)) { if (GET_LEVEL(ch) < LVL_IMMORT - 1) if(GET_EXP(ch) >= exp_to_level(ch)) { GET_LEVEL(ch) += 1; num_levels++; advance_level(ch); is_altered = TRUE; } 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/08/00 PST