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/instances/EndlessTower.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/instances/EndlessTower.txt')
-rw-r--r-- | npc/instances/EndlessTower.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/npc/instances/EndlessTower.txt b/npc/instances/EndlessTower.txt index 2964f7e2a..4353de224 100644 --- a/npc/instances/EndlessTower.txt +++ b/npc/instances/EndlessTower.txt @@ -1300,7 +1300,7 @@ OnTimer120000: mes("This NPC manages the tower from the 1st to the 25th Level."); mes("Please enter the Level number to open."); mes("(i.g.: 1F->1, 25F->25)"); - input(.@input, 1, 25); + input(.@input); next(); if (.@input < 1 || .@input > 25) { mes("You can only enter a number from 1 to 25."); @@ -1412,9 +1412,9 @@ OnTouch_: mes("This NPC manages the tower from the 26st to the 50th Level."); mes("Please enter the Level number to open."); mes("(i.g.: 26F->26, 50F->50)"); - input(.@input, 26, 50); + input(.@input); next(); - if (.@onput < 26 || .@input > 50) { + if (.@input < 26 || .@input > 50) { mes("You can only enter a number from 26 to 50."); } else { donpcevent(instance_npcname(.@input+"FGate102tower")+"::OnEnable"); @@ -1524,7 +1524,7 @@ OnTouch_: mes("This NPC manages the tower from the 51st to the 75th Level."); mes("Please enter the Level number to open."); mes("(i.g.: 51F->51, 75F->75)"); - input(.@input, 51, 75); + input(.@input); next(); if (.@input < 51 || .@input > 75) { mes("You can only enter a number from 51 to 75."); @@ -1635,7 +1635,7 @@ OnTouch_: mes("This NPC manages the tower from the 76th to the 99th Level."); mes("Please enter the Level number to open."); mes("(i.g.: 76F->76, 99F->99)"); - input(.@input, 76, 99); + input(.@input); next(); if (.@input < 76 || .@input > 99) { mes("You can only enter a number from 76 to 99."); |