summaryrefslogtreecommitdiff
path: root/npc/kafras
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/kafras
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/kafras')
-rw-r--r--npc/kafras/functions_kafras.txt28
-rw-r--r--npc/kafras/kafras.txt2
2 files changed, 15 insertions, 15 deletions
diff --git a/npc/kafras/functions_kafras.txt b/npc/kafras/functions_kafras.txt
index 3155c5df8..24592a96d 100644
--- a/npc/kafras/functions_kafras.txt
+++ b/npc/kafras/functions_kafras.txt
@@ -609,56 +609,56 @@ function script F_KafSet {
deletearray @wrpP$;
deletearray @viewpX;
deletearray @viewpY;
- if (strnpcinfo(4) == "prontera") {
+ if (strnpcinfo(NPC_MAP) == "prontera") {
setarray @wrpD$, "Izlude", "Geffen", "Payon", "Morroc", "Orc Dungeon", "Alberta";
setarray @wrpP, 600, 1200, 1200, 1200, 1200, 1800;
setarray @viewpX, 151, 29, 282, 152;
setarray @viewpY, 29, 207, 200, 326;
- } else if (strnpcinfo(4) == "alberta") {
+ } else if (strnpcinfo(NPC_MAP) == "alberta") {
setarray @wrpP, 1200, 1800, 1800;
setarray @wrpD$, "Payon", "Morroc", "Prontera";
setarray @viewpX, 28, 113, 0, 0;
setarray @viewpY, 229, 60, 0, 0;
- } else if (strnpcinfo(4) == "aldebaran") {
+ } else if (strnpcinfo(NPC_MAP) == "aldebaran") {
setarray @wrpP, 1200, 1200, 1800, 1700;
setarray @wrpD$, "Geffen", "Juno" , "Izlude", "Mjolnir Dead Pit";
- } else if (strnpcinfo(4) == "comodo" ) {
+ } else if (strnpcinfo(NPC_MAP) == "comodo" ) {
setarray @wrpD$, "Morroc", "Comodo Pharos Beacon", "Umbala";
setarray @wrpP, 1800, 1200, 1800;
- } else if (strnpcinfo(4) == "cmd_fild07") {
+ } else if (strnpcinfo(NPC_MAP) == "cmd_fild07") {
setarray @wrpD$, "Comodo", "Morroc";
setarray @wrpP, 1200, 1200;
- } else if (strnpcinfo(4) == "geffen") {
+ } else if (strnpcinfo(NPC_MAP) == "geffen") {
setarray @wrpD$, "Prontera", "Al De Baran", "Orc Dungeon", "Mjolnir Dead Pit";
setarray @wrpP, 1200, 1200, 1200, 1700;
setarray @viewpX, 120, 203;
setarray @viewpY, 62, 123;
- } else if (strnpcinfo(4) == "izlude") {
+ } else if (strnpcinfo(NPC_MAP) == "izlude") {
setarray @wrpD$, "Geffen", "Payon", "Morroc", "Al De Baran";
setarray @wrpP, 1200, 1200, 1200, 1800;
- } else if (strnpcinfo(4) == "morocc") {
+ } else if (strnpcinfo(NPC_MAP) == "morocc") {
setarray @wrpD$, "Prontera", "Payon", "Alberta", "Comodo", "Comodo Pharos Beacon";
setarray @wrpP, 1200, 1200, 1800, 1800, 1200;
setarray @viewpX, 156, 163, 28, 292;
setarray @viewpY, 97, 260, 167, 211;
- } else if (strnpcinfo(4) == "umbala") {
+ } else if (strnpcinfo(NPC_MAP) == "umbala") {
setarray @wrpD$, "Comodo";
setarray @wrpP, 1800;
- } else if (strnpcinfo(4) == "payon") {
+ } else if (strnpcinfo(NPC_MAP) == "payon") {
setarray @wrpD$, "Prontera", "Alberta", "Morroc";
setarray @wrpP, 1200, 1200, 1200;
- } else if (strnpcinfo(4) == "yuno") {
+ } else if (strnpcinfo(NPC_MAP) == "yuno") {
setarray @wrpD$, "Al De Baran";
setarray @wrpP, 1200;
setarray @viewpX, 328, 278, 153, 0;
setarray @viewpY, 108, 221, 187, 0;
- } else if (strnpcinfo(4) == "job3_rune01") {
+ } else if (strnpcinfo(NPC_MAP) == "job3_rune01") {
setarray @wrpD$, "Izlude", "Geffen", "Payon", "Morroc", "Alberta";
setarray @wrpP, 600, 1200, 1200, 1200, 1800;
- } else if (strnpcinfo(4) == "rachel") {
+ } else if (strnpcinfo(NPC_MAP) == "rachel") {
setarray @wrpD$, "Veins";
setarray @wrpP, 2200;
- } else if (strnpcinfo(4) == "veins") {
+ } else if (strnpcinfo(NPC_MAP) == "veins") {
setarray @wrpD$, "Rachel";
setarray @wrpP, 2200;
}
diff --git a/npc/kafras/kafras.txt b/npc/kafras/kafras.txt
index 39e389682..29b1b02da 100644
--- a/npc/kafras/kafras.txt
+++ b/npc/kafras/kafras.txt
@@ -421,7 +421,7 @@ cmd_fild07,136,134,4 script Kafra Employee::kaf_cmd_fild07 4_F_KAFRA7,{
mes "How may I assist you?";
callfunc "F_Kafra",5,0,1,40,820;
if (RENEWAL)
- savepoint strnpcinfo(4),129,97;
+ savepoint strnpcinfo(NPC_MAP),129,97;
else
savepoint "izlude",94,103;
callfunc "F_KafEnd",0,1,"in the city of Izlude";