Updated World and files for 3.53 release --Rumble

This commit is contained in:
Rumble 2007-06-19 22:35:15 +00:00
parent eff90e60d0
commit fb0cc1f450
6 changed files with 12 additions and 8 deletions

View file

@ -972,7 +972,7 @@ void oedit_parse(struct descriptor_data *d, char *arg)
if (number == 0 || number == -1)
GET_OBJ_VAL(OLC_OBJ(d), 1) = -1;
else
GET_OBJ_VAL(OLC_OBJ(d), 1) = LIMIT(number, 1, NUM_SPELLS-1);
GET_OBJ_VAL(OLC_OBJ(d), 1) = LIMIT(number, 1, NUM_SPELLS);
oedit_disp_val3_menu(d);
break;
@ -1010,7 +1010,7 @@ void oedit_parse(struct descriptor_data *d, char *arg)
return;
}
min_val = 1;
max_val = NUM_SPELLS - 1;
max_val = NUM_SPELLS;
break;
case ITEM_WEAPON:
min_val = 1;
@ -1049,12 +1049,12 @@ void oedit_parse(struct descriptor_data *d, char *arg)
return;
}
min_val = 1;
max_val = NUM_SPELLS - 1;
max_val = NUM_SPELLS;
break;
case ITEM_WAND:
case ITEM_STAFF:
min_val = 1;
max_val = NUM_SPELLS - 1;
max_val = NUM_SPELLS;
break;
case ITEM_WEAPON:
min_val = 0;