summaryrefslogtreecommitdiff
path: root/npc/instances/EndlessTower.txt
diff options
context:
space:
mode:
authorDastgir <dastgirpojee@rocketmail.com>2015-12-10 15:32:03 +0530
committerHaru <haru@dotalux.com>2015-12-18 05:13:35 +0100
commita1d160ead032b63a0f696a34961df9e099154402 (patch)
treeff5b9b3eca3753c358667c4089fdb093b42bac28 /npc/instances/EndlessTower.txt
parentbfc63570ef3f5c37eab9c84d62a382bd54c66ff4 (diff)
downloadhercules-a1d160ead032b63a0f696a34961df9e099154402.tar.gz
hercules-a1d160ead032b63a0f696a34961df9e099154402.tar.bz2
hercules-a1d160ead032b63a0f696a34961df9e099154402.tar.xz
hercules-a1d160ead032b63a0f696a34961df9e099154402.zip
ItemID to Constant: instances/jobs Folder
Diffstat (limited to 'npc/instances/EndlessTower.txt')
-rw-r--r--npc/instances/EndlessTower.txt24
1 files changed, 12 insertions, 12 deletions
diff --git a/npc/instances/EndlessTower.txt b/npc/instances/EndlessTower.txt
index 2f58b6276..b1126c0bc 100644
--- a/npc/instances/EndlessTower.txt
+++ b/npc/instances/EndlessTower.txt
@@ -44,7 +44,7 @@
6@tower mapflag src4instance
alberta,214,77,6 script Captain Janssen 4_M_SEAMAN,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "^008800Wait here!!";
mes "You're carrying too much stuff. Why don't you put some of it away, and then come back.^000000";
close;
@@ -1203,12 +1203,12 @@ function script F_Tower_Warp {
setarray .@map$[1],"2@tower","3@tower","4@tower";
.@i = select("26th Level:51st Level:76th Level");
- if (countitem(6000) < .@i) {
+ if (countitem(Dark_Ashes) < .@i) {
mes "-Warning-";
mes "To warp to the "+.@level$[.@i]+" Level, you need "+.@i+" Ashes of the Darkness.";
close;
}
- delitem 6000,.@i; //Dark_Ashes
+ delitem Dark_Ashes,.@i;
mapannounce instance_mapname("1@tower"), strcharinfo(0)+". You will be warped to the "+.@level$[.@i]+" Level.",bc_map,"0x00ff99";
warp instance_mapname(.@map$[.@i]),52,354;
close;
@@ -1334,7 +1334,7 @@ OnEnable:
end;
OnTouch_:
- getitem 6000,1; //Dark_Ashes
+ getitem Dark_Ashes,1;
warp instance_mapname("2@tower"),52,354;
end;
@@ -1466,7 +1466,7 @@ OnEnable:
end;
OnTouch_:
- getitem 6000,1; //Dark_Ashes
+ getitem Dark_Ashes,1;
warp instance_mapname("3@tower"),52,354;
end;
@@ -1581,7 +1581,7 @@ OnEnable:
end;
OnTouch_:
- getitem 6000,1; //Dark_Ashes
+ getitem Dark_Ashes,1;
warp instance_mapname("4@tower"),52,354;
end;
@@ -1695,7 +1695,7 @@ OnEnable:
end;
OnTouch_:
- getitem 6000,1; //Dark_Ashes
+ getitem Dark_Ashes,1;
warp instance_mapname("5@tower"),101,72;
end;
@@ -2124,7 +2124,7 @@ OnMyMobDead:
}
6@tower,169,127,2 script Lost Soul#102 4_M_NFDEADSWDMAN,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You're carrying too much stuff. Why don't you put some of it away, and then come back?";
close;
}
@@ -2134,7 +2134,7 @@ OnMyMobDead:
mes "[Lost Souls]";
mes "Thank you so much. Now we can escape from this cold and dark place... to heaven.";
next;
- if ((countitem(13412) > 0) && (countitem(13413) > 0)) {
+ if ((countitem(Twin_Edge_B) > 0) && (countitem(Twin_Edge_R) > 0)) {
mes "[Lost Souls]";
mes "Hey, you have the remnants of Nacht Sieger with you.";
next;
@@ -2151,9 +2151,9 @@ OnMyMobDead:
mes "[Lost Souls]";
mes "Good, then I'll combine these to create a two-handed sword.";
next;
- delitem 13412,1; //Twin_Edge_B
- delitem 13413,1; //Twin_Edge_R
- getitem 1185,1; //Violet_Fear
+ delitem Twin_Edge_B,1;
+ delitem Twin_Edge_R,1;
+ getitem Violet_Fear,1;
break;
case 2:
mes "[Lost Souls]";