summaryrefslogtreecommitdiff
path: root/npc/re/jobs/2e/kagerou_oboro.txt
diff options
context:
space:
mode:
authorEmistry Haoyan <Equinox1991@gmail.com>2016-08-31 02:49:04 +0800
committerEmistry Haoyan <Equinox1991@gmail.com>2016-08-31 02:49:04 +0800
commit99a36a426b7d2adb6a0f417e02e92366939e5d22 (patch)
tree74a0fef908f373c3c6674821a150e866a2afb4c3 /npc/re/jobs/2e/kagerou_oboro.txt
parentac6fd81810e6afb1ef60e7f2c7f8fc6e03408724 (diff)
parent0f1d03f505fdc03533122db8ba19fa55f64f11b7 (diff)
downloadhercules-99a36a426b7d2adb6a0f417e02e92366939e5d22.tar.gz
hercules-99a36a426b7d2adb6a0f417e02e92366939e5d22.tar.bz2
hercules-99a36a426b7d2adb6a0f417e02e92366939e5d22.tar.xz
hercules-99a36a426b7d2adb6a0f417e02e92366939e5d22.zip
Merge branch 'master' of https://github.com/HerculesWS/Hercules into scriptcommand_makeitem2
Diffstat (limited to 'npc/re/jobs/2e/kagerou_oboro.txt')
-rw-r--r--npc/re/jobs/2e/kagerou_oboro.txt20
1 files changed, 10 insertions, 10 deletions
diff --git a/npc/re/jobs/2e/kagerou_oboro.txt b/npc/re/jobs/2e/kagerou_oboro.txt
index 7d166b75a..c239e4a0e 100644
--- a/npc/re/jobs/2e/kagerou_oboro.txt
+++ b/npc/re/jobs/2e/kagerou_oboro.txt
@@ -1140,12 +1140,12 @@ function script F_KO_Survival_rps {
//- Templates -
- script Sight#ko_trap FAKE_NPC,{
- callfunc "F_KO_Survival_mes", atoi(substr(strnpcinfo(2),3,4));
+ callfunc "F_KO_Survival_mes", atoi(substr(strnpcinfo(NPC_NAME_HIDDEN),3,4));
end;
OnTouch:
mes "There are tiny letters on the sign.";
next;
- switch (atoi(substr(strnpcinfo(2),3,4))) {
+ switch (atoi(substr(strnpcinfo(NPC_NAME_HIDDEN),3,4))) {
case 2: set .@id,0; break;
case 7: set .@id,5; break;
case 11: set .@id,9; break;
@@ -1161,10 +1161,10 @@ OnTouch:
}
- script Sight#ko_trap2 FAKE_NPC,{
- callfunc "F_KO_Survival_mes", atoi(substr(strnpcinfo(2),3,4));
+ callfunc "F_KO_Survival_mes", atoi(substr(strnpcinfo(NPC_NAME_HIDDEN),3,4));
end;
OnTouch:
- set .@id, atoi(substr(strnpcinfo(2),3,4));
+ set .@id, atoi(substr(strnpcinfo(NPC_NAME_HIDDEN),3,4));
switch (.@id) {
case 10: set .@var$, "$20110808_vko01"; break;
case 28: set .@var$, "$20110808_vko03"; break;
@@ -1206,10 +1206,10 @@ OnTouch:
}
- script Sight#ko_heal FAKE_NPC,{
- callfunc "F_KO_Survival_mes", atoi(substr(strnpcinfo(2),3,4));
+ callfunc "F_KO_Survival_mes", atoi(substr(strnpcinfo(NPC_NAME_HIDDEN),3,4));
end;
OnTouch:
- set .@id, atoi(substr(strnpcinfo(2),3,4));
+ set .@id, atoi(substr(strnpcinfo(NPC_NAME_HIDDEN),3,4));
mes "There are tiny letters on the sign.";
next;
mes "This block is blessed.";
@@ -1224,10 +1224,10 @@ OnTouch:
}
- script Sight#ko_curse FAKE_NPC,{
- callfunc "F_KO_Survival_mes", atoi(substr(strnpcinfo(2),3,4));
+ callfunc "F_KO_Survival_mes", atoi(substr(strnpcinfo(NPC_NAME_HIDDEN),3,4));
end;
OnTouch:
- set .@id, atoi(substr(strnpcinfo(2),3,4));
+ set .@id, atoi(substr(strnpcinfo(NPC_NAME_HIDDEN),3,4));
set .@playtime, questprogress(5141,PLAYTIME);
if (!.@playtime) {
mes "There are tiny letters on the sign.";
@@ -1269,10 +1269,10 @@ OnTouch:
}
- script Sight#ko_gravity FAKE_NPC,{
- callfunc "F_KO_Survival_mes", atoi(substr(strnpcinfo(2),3,4));
+ callfunc "F_KO_Survival_mes", atoi(substr(strnpcinfo(NPC_NAME_HIDDEN),3,4));
end;
OnTouch:
- set .@id, atoi(substr(strnpcinfo(2),3,4));
+ set .@id, atoi(substr(strnpcinfo(NPC_NAME_HIDDEN),3,4));
mes "There are tiny letters on the sign.";
next;
mes "Area cursed with 10 times the normal gravity. You will need 10 ^FD0260LP^000000 to roll the dice.";