summaryrefslogtreecommitdiff
path: root/npc/instances
diff options
context:
space:
mode:
Diffstat (limited to 'npc/instances')
-rw-r--r--npc/instances/EndlessTower.txt10
-rw-r--r--npc/instances/NydhoggsNest.txt2
-rw-r--r--npc/instances/SealedShrine.txt16
3 files changed, 15 insertions, 13 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.");
diff --git a/npc/instances/NydhoggsNest.txt b/npc/instances/NydhoggsNest.txt
index d39d90cd3..ebaf70f92 100644
--- a/npc/instances/NydhoggsNest.txt
+++ b/npc/instances/NydhoggsNest.txt
@@ -2234,7 +2234,7 @@ sec_in02,36,167,3 script Nidhoggur Manager 4_M_FAIRYSOLDIER,1,1,{
}
mes("Input the variable number");
next();
- input(.@input);
+ input(.@input, 0);
setd(.@var$, .@input);
mesf("%s has been set to %d.", .@var$, .@input);
close();
diff --git a/npc/instances/SealedShrine.txt b/npc/instances/SealedShrine.txt
index 91771c31c..1c4f4b9d8 100644
--- a/npc/instances/SealedShrine.txt
+++ b/npc/instances/SealedShrine.txt
@@ -1108,13 +1108,15 @@ OnInstanceInit:
next();
mes("The bottom of the Main Altar trembles furiously.");
next();
- specialeffect(EF_METEORSTORM);
- specialeffect(EF_METEORSTORM);
- mesf("[%s]", strcharinfo(PC_NAME));
- mes("Watch out! Something... Something is coming.");
- 'ins_baphomet = 6;
- donpcevent(instance_npcname("ins_2f_hero_broad")+"::OnEnable");
- disablenpc(instance_npcname("The Main Altar#ss"));
+ if ('ins_baphomet == 5) {
+ specialeffect(EF_METEORSTORM);
+ specialeffect(EF_METEORSTORM);
+ mesf("[%s]", strcharinfo(PC_NAME));
+ mes("Watch out! Something... Something is coming.");
+ 'ins_baphomet = 6;
+ donpcevent(instance_npcname("ins_2f_hero_broad")+"::OnEnable");
+ disablenpc(instance_npcname("The Main Altar#ss"));
+ }
close();
} else {
mes("An evil power, too terrible to describe, lies under the great altar radiating a violet color.");