diff options
Diffstat (limited to 'npc/quests/guildrelay.txt')
-rw-r--r-- | npc/quests/guildrelay.txt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/npc/quests/guildrelay.txt b/npc/quests/guildrelay.txt index 87c72ef16..ec4b081fa 100644 --- a/npc/quests/guildrelay.txt +++ b/npc/quests/guildrelay.txt @@ -86,7 +86,7 @@ close; } if (getcharid(CHAR_ID_GUILD) == .@GID) { - if (strcharinfo(PC_NAME) == getguildmaster(.@GID)) { + if (strcharinfo(PC_NAME) == getguildinfo(GUILDINFO_MASTER_NAME, .@GID)) { if (guildrelay_q == 100) { if (guildtime > 22) { if (gettime(GETTIME_HOUR) > 1 && gettime(GETTIME_HOUR) < guildtime) { @@ -1265,7 +1265,7 @@ close; } if (getcharid(CHAR_ID_GUILD) == .@GID) { - if (strcharinfo(PC_NAME) == getguildmaster(.@GID)) { + if (strcharinfo(PC_NAME) == getguildinfo(GUILDINFO_MASTER_NAME, .@GID)) { if (countitem(Soul_Of_Guild) > 0) { mes "[" + .@name$ + "]"; mes "Hm. You can't just keep"; @@ -1728,7 +1728,7 @@ } } else { - if (strcharinfo(PC_NAME) == getguildmaster(.@GID)) { + if (strcharinfo(PC_NAME) == getguildinfo(GUILDINFO_MASTER_NAME, .@GID)) { mes "[" + .@name$ + "]"; mes "Hm? What brings you"; mes "here? Feel free to take"; @@ -1769,7 +1769,7 @@ close; } if (getcharid(CHAR_ID_GUILD) == .@GID) { - if (strcharinfo(PC_NAME) == getguildmaster(.@GID)) { + if (strcharinfo(PC_NAME) == getguildinfo(GUILDINFO_MASTER_NAME, .@GID)) { if (countitem(Soul_Of_Confidence) > 0) { mes "[" + .@name$ + "]"; mes "Hm? What are you doing?"; @@ -2283,7 +2283,7 @@ } } else { - if (strcharinfo(PC_NAME) == getguildmaster(.@GID)) { + if (strcharinfo(PC_NAME) == getguildinfo(GUILDINFO_MASTER_NAME, .@GID)) { mes "[" + .@name$ + "]"; mes "Hm. You're the master"; mes "of another guild, aren't"; @@ -2453,7 +2453,7 @@ close; } if (getcharid(CHAR_ID_GUILD) == .@GID) { - if (strcharinfo(PC_NAME) == getguildmaster(.@GID)) { + if (strcharinfo(PC_NAME) == getguildinfo(GUILDINFO_MASTER_NAME, .@GID)) { if (countitem(Soul_Of_Peace) > 0) { mes "[" + .@name$ + "]"; mes "Hm? That spirit that"; @@ -3076,7 +3076,7 @@ } } else { - if (strcharinfo(PC_NAME) == getguildmaster(.@GID)) { + if (strcharinfo(PC_NAME) == getguildinfo(GUILDINFO_MASTER_NAME, .@GID)) { mes "[" + .@name$ + "]"; mes "You might be the master"; mes "of a guild, but you and I"; |