summaryrefslogtreecommitdiff
path: root/npc/quests/guildrelay.txt
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2019-10-20 13:40:25 -0400
committergumi <git@gumi.ca>2019-10-20 22:20:12 -0400
commit50f7cd8138cafc307b51d5c1f02c7f2893d2a0c5 (patch)
tree16ee679469af6aba9aa8b50b5985508e9715a450 /npc/quests/guildrelay.txt
parent9127ead75b9baa4e6372d11cb4ba033651976629 (diff)
downloadhercules-50f7cd8138cafc307b51d5c1f02c7f2893d2a0c5.tar.gz
hercules-50f7cd8138cafc307b51d5c1f02c7f2893d2a0c5.tar.bz2
hercules-50f7cd8138cafc307b51d5c1f02c7f2893d2a0c5.tar.xz
hercules-50f7cd8138cafc307b51d5c1f02c7f2893d2a0c5.zip
convert scripts to use getguildinfo()
Diffstat (limited to 'npc/quests/guildrelay.txt')
-rw-r--r--npc/quests/guildrelay.txt14
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";