forked from kyonshi/grenzland-mud
MAJOR UPDATE: Admin Levels split from Mortal Levels
This commit is contained in:
@@ -254,7 +254,7 @@ void affect_total(struct char_data *ch)
|
||||
affect_modify_ar(ch, af->location, af->modifier, af->bitvector, TRUE);
|
||||
|
||||
/* Make certain values are between 0..25, not < 0 and not > 25! */
|
||||
i = (IS_NPC(ch) || GET_LEVEL(ch) >= LVL_GRGOD) ? 25 : 18;
|
||||
i = (IS_NPC(ch) || IS_ADMIN(ch, ADMLVL_GRGOD)) ? 25 : 18;
|
||||
|
||||
GET_DEX(ch) = MAX(0, MIN(GET_DEX(ch), i));
|
||||
GET_INT(ch) = MAX(0, MIN(GET_INT(ch), i));
|
||||
|
||||
Reference in New Issue
Block a user