diff options
Diffstat (limited to 'npc/quests/guildrelay.txt')
-rw-r--r-- | npc/quests/guildrelay.txt | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/npc/quests/guildrelay.txt b/npc/quests/guildrelay.txt index 3d3358005..81e38b299 100644 --- a/npc/quests/guildrelay.txt +++ b/npc/quests/guildrelay.txt @@ -38,30 +38,30 @@ //== Floating NPCs to duplicate from. ====================== - script RelayDummy1::GuildRelay1 4_M_SAGE_A,{ - .@name$ = strnpcinfo(1); + .@name$ = strnpcinfo(NPC_NAME_VISIBLE); if (.@name$ == "Buzz") { .@name2$ = "Lenya"; .@name3$ = "Gealuve"; .@name4$ = "Pariz"; - .@GID = getcastledata("aldeg_cas"+strnpcinfo(2),1); + .@GID = getcastledata("aldeg_cas"+strnpcinfo(NPC_NAME_HIDDEN),1); } else if (.@name$ == "Jody") { .@name2$ = "Ron Haware"; .@name3$ = "Vers"; .@name4$ = "Gen Garish"; - .@GID = getcastledata("gefg_cas"+strnpcinfo(2),1); + .@GID = getcastledata("gefg_cas"+strnpcinfo(NPC_NAME_HIDDEN),1); } else if (.@name$ == "Chungye") { .@name2$ = "Dosuhlji"; .@name3$ = "Yayula"; .@name4$ = "Ashin"; - .@GID = getcastledata("payg_cas"+strnpcinfo(2),1); + .@GID = getcastledata("payg_cas"+strnpcinfo(NPC_NAME_HIDDEN),1); } else if (.@name$ == "Hermod") { .@name2$ = "Atila"; .@name3$ = "Cecil"; .@name4$ = "Diligo"; - .@GID = getcastledata("prtg_cas"+strnpcinfo(2),1); + .@GID = getcastledata("prtg_cas"+strnpcinfo(NPC_NAME_HIDDEN),1); } if (checkweight(Spawn,630) == 0) { mes "^3355FFWait a minute! You're"; @@ -1239,7 +1239,7 @@ } - script RelayDummy2::GuildRelay2 4_M_SAGE_A,{ - .@name$ = strnpcinfo(1); + .@name$ = strnpcinfo(NPC_NAME_VISIBLE); getmapxy(.@m$, .@x, .@x, UNITTYPE_NPC); .@GID = getcastledata(.@m$,1); if (checkweight(Knife,1) == 0) { @@ -1748,7 +1748,7 @@ } - script RelayDummy3::GuildRelay3 4_M_SAGE_A,{ - .@name$ = strnpcinfo(1); + .@name$ = strnpcinfo(NPC_NAME_VISIBLE); getmapxy(.@m$, .@x, .@x, UNITTYPE_NPC); .@GID = getcastledata(.@m$,1); if (checkweight(Knife,1) == 0) { @@ -2432,7 +2432,7 @@ } - script GuildDummy4::GuildRelay4 4_M_SAGE_A,{ - .@name$ = strnpcinfo(1); + .@name$ = strnpcinfo(NPC_NAME_VISIBLE); getmapxy(.@m$, .@x, .@x, UNITTYPE_NPC); .@GID = getcastledata(.@m$,1); if (checkweight(Knife,1) == 0) { |