summaryrefslogtreecommitdiff
path: root/npc/other/comodo_gambling.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/other/comodo_gambling.txt')
-rw-r--r--npc/other/comodo_gambling.txt31
1 files changed, 16 insertions, 15 deletions
diff --git a/npc/other/comodo_gambling.txt b/npc/other/comodo_gambling.txt
index bd2b0d692..1c9494e4a 100644
--- a/npc/other/comodo_gambling.txt
+++ b/npc/other/comodo_gambling.txt
@@ -9,18 +9,18 @@
//= This file is part of Hercules.
//= http://herc.ws - http://github.com/HerculesWS/Hercules
//=
-//= Copyright (C) 2012-2015 Hercules Dev Team
-//= Copyright (C) Euphy
-//= Copyright (C) Masao
-//= Copyright (C) Kisuka
-//= Copyright (C) L0ne_W0lf
-//= Copyright (C) Paradox924X
-//= Copyright (C) ultramage
-//= Copyright (C) Lupus
-//= Copyright (C) MasterOfMuppets
-//= Copyright (C) Zefris
-//= Copyright (C) Cypress
-//= Copyright (C) Reddozen
+//= Copyright (C) 2012-2020 Hercules Dev Team
+//= Copyright (C) Euphy
+//= Copyright (C) Masao
+//= Copyright (C) Kisuka
+//= Copyright (C) L0ne_W0lf
+//= Copyright (C) Paradox924X
+//= Copyright (C) ultramage
+//= Copyright (C) Lupus
+//= Copyright (C) MasterOfMuppets
+//= Copyright (C) Zefris
+//= Copyright (C) Cypress
+//= Copyright (C) Reddozen
//=
//= Hercules is free software: you can redistribute it and/or modify
//= it under the terms of the GNU General Public License as published by
@@ -540,14 +540,15 @@ mjolnir_02,85,362,3 script Blacksmith Miner 4_F_JOB_BLACKSMITH,{
mes "If you change your mind,";
mes "please enter '0' to cancel.";
next;
- input .@amount;
- if (.@amount == 0) {
+ input(.@amount);
+ if (.@amount <= 0) {
mes "[Dwayne]";
mes "Alright, you've";
mes "canceled the trade.";
mes "Take care!";
close;
- } else if (.@amount < 1 || .@amount > 500){
+ }
+ if (.@amount > 500) {
mes "[Dwayne]";
mes "The maximum";
mes "amount is 500.";