diff options
author | Haru <haru@dotalux.com> | 2019-07-28 19:05:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-28 19:05:49 +0200 |
commit | afe0f1377070f1f6679a679aab0d6ad5ed83b565 (patch) | |
tree | 20d38a8581f3a6159157bfa6644027d4007485bc /npc/cities/alberta.txt | |
parent | ef8bc3a8375d4fe9a5f75faf951b3deecb891d57 (diff) | |
parent | 371d056df80b6f83484534f64883c3d020c4112d (diff) | |
download | hercules-afe0f1377070f1f6679a679aab0d6ad5ed83b565.tar.gz hercules-afe0f1377070f1f6679a679aab0d6ad5ed83b565.tar.bz2 hercules-afe0f1377070f1f6679a679aab0d6ad5ed83b565.tar.xz hercules-afe0f1377070f1f6679a679aab0d6ad5ed83b565.zip |
Merge pull request #2494 from Emistry/npc_input
Update minimum value of *input script command.
Diffstat (limited to 'npc/cities/alberta.txt')
-rw-r--r-- | npc/cities/alberta.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/cities/alberta.txt b/npc/cities/alberta.txt index ed4be5438..abac7b76a 100644 --- a/npc/cities/alberta.txt +++ b/npc/cities/alberta.txt @@ -347,7 +347,7 @@ alberta,190,173,4 script Phelix 4_M_03,{ mes "[Phelix]"; mes "I'm not giving you more then 100 at a time so don't bother, OK? If you don't want any, just say '0'."; mes "Right now, the most you can get is " + .@max + " but remember, 100 at most, you want to break my back?."; - input .@amount; + input(.@amount); next; mes "[Phelix]"; if (.@amount <= 0) { @@ -396,10 +396,10 @@ alberta,190,173,4 script Phelix 4_M_03,{ case 2: mes "[Phelix]"; mes "Right I'm not giving you more then 100 at a time so don't bother, okay? If you don't want any, just say '0'."; - input .@amount; + input(.@amount); next; mes "[Phelix]"; - if (.@amount == 0) { + if (.@amount <= 0) { mes "Alright then, see you next time."; close; } |