Fix in do_set
This commit is contained in:
@@ -36,6 +36,7 @@ Xlist (mlist, olist, rlist, zlist, slist, tlist, qlist)
|
|||||||
(lots of major bugfixes too)
|
(lots of major bugfixes too)
|
||||||
[Jan 15 2009] - Fizban
|
[Jan 15 2009] - Fizban
|
||||||
Immortals can now never have their hands full when you attempt to hand them an item.
|
Immortals can now never have their hands full when you attempt to hand them an item.
|
||||||
|
Fixed message when setting gold abnormally high.
|
||||||
[Jan 09 2009] - Fizban
|
[Jan 09 2009] - Fizban
|
||||||
Fixed a bug in do_rescue allowing players to get twice as many attacks per round. (thanks Zordrac)
|
Fixed a bug in do_rescue allowing players to get twice as many attacks per round. (thanks Zordrac)
|
||||||
Fixed Bug Where Questmaster rnums didn't previously update. (thanks Tails)
|
Fixed Bug Where Questmaster rnums didn't previously update. (thanks Tails)
|
||||||
|
|||||||
@@ -2777,7 +2777,7 @@ static int perform_set(struct char_data *ch, struct char_data *vict, int mode, c
|
|||||||
send_to_char(ch, "%s %s for %s.\r\n", set_fields[mode].cmd, ONOFF(on), GET_NAME(vict));
|
send_to_char(ch, "%s %s for %s.\r\n", set_fields[mode].cmd, ONOFF(on), GET_NAME(vict));
|
||||||
} else if (set_fields[mode].type == NUMBER) {
|
} else if (set_fields[mode].type == NUMBER) {
|
||||||
value = atoi(val_arg);
|
value = atoi(val_arg);
|
||||||
send_to_char(ch, "%s's %s set to %d.\r\n", GET_NAME(vict), set_fields[mode].cmd, value);
|
send_to_char(ch, "%s's %s set to %d.\r\n", GET_NAME(vict), set_fields[mode].cmd, mode == 16 && value > 100000000 ? 100000000 : value);
|
||||||
} else
|
} else
|
||||||
send_to_char(ch, "%s", CONFIG_OK);
|
send_to_char(ch, "%s", CONFIG_OK);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user