Set lower limit of spell delays to 100 rather than 1

This commit is contained in:
nytmyr
2025-01-31 14:45:00 -06:00
parent 939e5ea38e
commit 2211e125d8
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -153,8 +153,8 @@ void bot_command_spell_delays(Client* c, const Seperator* sep) {
if (sep->IsNumber(2)) {
type_value = atoi(sep->arg[2]);
++ab_arg;
if (type_value < 1 || type_value > 60000) {
c->Message(Chat::Yellow, "You must enter a value between 1-60000 (1ms to 60s).");
if (type_value < 100 || type_value > 60000) {
c->Message(Chat::Yellow, "You must enter a value between 100-60000 (100ms to 60s).");
return;
}