summaryrefslogtreecommitdiff
path: root/npc/quests/guildrelay.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/quests/guildrelay.txt')
-rw-r--r--npc/quests/guildrelay.txt56
1 files changed, 28 insertions, 28 deletions
diff --git a/npc/quests/guildrelay.txt b/npc/quests/guildrelay.txt
index 25282ff56..de61abad4 100644
--- a/npc/quests/guildrelay.txt
+++ b/npc/quests/guildrelay.txt
@@ -70,7 +70,7 @@
if (strcharinfo(0) == getguildmaster(.@GID)) {
if (guildrelay_q == 100) {
if (guildtime > 22) {
- if ((gettime(3) > 1) && (gettime(3) < guildtime)) {
+ if ((gettime(HOUR) > 1) && (gettime(HOUR) < guildtime)) {
mes "[" + .@name$ + "]";
mes "Oh, you're back. So did you";
mes "rest up enough? I'm sure the";
@@ -127,7 +127,7 @@
}
}
else if (guildtime > 22) {
- if ((gettime(3) > 0) && (gettime(3) < guildtime)) {
+ if ((gettime(HOUR) > 0) && (gettime(HOUR) < guildtime)) {
mes "[" + .@name$ + "]";
mes "Oh, you're back. So did you";
mes "rest up enough? I'm sure the";
@@ -183,7 +183,7 @@
close;
}
}
- else if ((gettime(3) - guildtime) > 2) {
+ else if ((gettime(HOUR) - guildtime) > 2) {
mes "[" + .@name$ + "]";
mes "Oh, you're back. So did you";
mes "rest up enough? I'm sure the";
@@ -240,7 +240,7 @@
}
}
else if (guildrelay_q == 150) {
- if (((guildtime > 22) && (gettime(3) > 1) && (gettime(3) < guildtime)) || ((guildtime > 21) && (gettime(3) > 0) && (gettime(3) < guildtime)) || ((gettime(3) - guildtime) > 2)) {
+ if (((guildtime > 22) && (gettime(HOUR) > 1) && (gettime(HOUR) < guildtime)) || ((guildtime > 21) && (gettime(HOUR) > 0) && (gettime(HOUR) < guildtime)) || ((gettime(HOUR) - guildtime) > 2)) {
mes "[" + .@name$ + "]";
mes "Ah, you look well rested,";
mes "master. It is now time for";
@@ -304,12 +304,12 @@
}
}
else if (guildrelay_q == 25) {
- if (((guildtime > 22) && ((gettime(3) > 4) && (gettime(3) < guildtime)))
- || ((guildtime > 21) && ((gettime(3) > 3) && (gettime(3) < guildtime)))
- || ((guildtime > 20) && ((gettime(3) > 2) && (gettime(3) < guildtime)))
- || ((guildtime > 19) && ((gettime(3) > 1) && (gettime(3) < guildtime)))
- || ((guildtime > 18) && ((gettime(3) > 0) && (gettime(3) < guildtime)))
- || ((gettime(3) - guildtime) > 5)) {
+ if (((guildtime > 22) && ((gettime(HOUR) > 4) && (gettime(HOUR) < guildtime)))
+ || ((guildtime > 21) && ((gettime(HOUR) > 3) && (gettime(HOUR) < guildtime)))
+ || ((guildtime > 20) && ((gettime(HOUR) > 2) && (gettime(HOUR) < guildtime)))
+ || ((guildtime > 19) && ((gettime(HOUR) > 1) && (gettime(HOUR) < guildtime)))
+ || ((guildtime > 18) && ((gettime(HOUR) > 0) && (gettime(HOUR) < guildtime)))
+ || ((gettime(HOUR) - guildtime) > 5)) {
mes "[" + .@name$ + "]";
mes "Ah, have you rested well,";
mes "master? Please excuse my";
@@ -413,7 +413,7 @@
mes "Hand me the spirit, and allow";
mes "me to give you your guild's reward.";
delitem 7239,1; //Soul_Of_Proceeding
- guildtime = gettime(3);
+ guildtime = gettime(HOUR);
guildrelay_q = 100;
.@incen_item = rand(1,100);
if ((.@incen_item > 0) && (.@incen_item < 25)) {
@@ -481,7 +481,7 @@
mes "challenges that you will all";
mes "face together. Good work!";
delitem 7245,1; //Soul_Of_Friendship
- guildtime = gettime(3);
+ guildtime = gettime(HOUR);
guildrelay_q = 150;
.@incen_item = rand(1,100);
if ((.@incen_item > 0) && (.@incen_item < 16)) {
@@ -574,7 +574,7 @@
mes "Tristan III, and share it with";
mes "guild. Once again, good work.";
delitem 7251,1; //Soul_Of_Victory
- guildtime = gettime(3);
+ guildtime = gettime(HOUR);
guildrelay_q = 25;
.@incen_item = rand(1,100);
if ((.@incen_item > 0) && (.@incen_item < 26)) {
@@ -1409,11 +1409,11 @@
mes "don't you worry about it.";
delitem 7235,1; //Soul_Of_Courage
guildrelay_q = 4;
- guildtime = gettime(3);
+ guildtime = gettime(HOUR);
close;
}
if ((guildtime > 22) && (guildrelay_q == 4) && (BaseJob == Job_Blacksmith)) {
- if ((gettime(3) > 2) && (gettime(3) < guildtime)) {
+ if ((gettime(HOUR) > 2) && (gettime(HOUR) < guildtime)) {
mes "[" + .@name$ + "]";
mes "I guess enough time";
mes "has passed. You ready";
@@ -1427,7 +1427,7 @@
}
}
if ((guildtime > 21) && (guildrelay_q == 4) && (BaseJob == Job_Blacksmith)) {
- if ((gettime(3) > 0101) && (gettime(3) < guildtime)) {
+ if ((gettime(HOUR) > 0101) && (gettime(HOUR) < guildtime)) {
mes "[" + .@name$ + "]";
mes "I guess enough time";
mes "has passed. You ready";
@@ -1441,7 +1441,7 @@
}
}
if ((guildtime > 20) && (guildrelay_q == 4) && (BaseJob == Job_Blacksmith)) {
- if ((gettime(3) > 0001) && (gettime(3) < guildtime)) {
+ if ((gettime(HOUR) > 0001) && (gettime(HOUR) < guildtime)) {
mes "[" + .@name$ + "]";
mes "I guess enough time";
mes "has passed. You ready";
@@ -1454,7 +1454,7 @@
close;
}
}
- if ((gettime(3) - guildtime > 0300) && (guildrelay_q == 4) && (BaseJob == Job_Blacksmith)) {
+ if ((gettime(HOUR) - guildtime > 0300) && (guildrelay_q == 4) && (BaseJob == Job_Blacksmith)) {
mes "[" + .@name$ + "]";
mes "I guess enough time";
mes "has passed. You ready";
@@ -1795,11 +1795,11 @@
mes "in order to be successful.";
delitem 7240,1; //Soul_Of_Confidence
guildrelay_q = 9;
- guildtime = gettime(3);
+ guildtime = gettime(HOUR);
close;
}
if ((guildtime > 22) && (guildrelay_q == 9) && (BaseJob == Job_Sage)) {
- if ((gettime(3) > 02) && (gettime(3) < guildtime)) {
+ if ((gettime(HOUR) > 02) && (gettime(HOUR) < guildtime)) {
mes "[" + .@name$ + "]";
mes "So did you spend some";
mes "quality time with your";
@@ -1830,7 +1830,7 @@
}
}
else if ((guildtime > 21) && (guildrelay_q == 9) && (BaseJob == Job_Sage)) {
- if ((gettime(3) > 01) && (gettime(3) < guildtime)) {
+ if ((gettime(HOUR) > 01) && (gettime(HOUR) < guildtime)) {
mes "[" + .@name$ + "]";
mes "So did you spend some";
mes "quality time with your";
@@ -1861,7 +1861,7 @@
}
}
else if ((guildtime > 20) && (guildrelay_q == 9) && (BaseJob == Job_Sage)) {
- if ((gettime(3) > 0) && (gettime(3) < guildtime)) {
+ if ((gettime(HOUR) > 0) && (gettime(HOUR) < guildtime)) {
mes "[" + .@name$ + "]";
mes "So did you spend some";
mes "quality time with your";
@@ -1891,7 +1891,7 @@
close;
}
}
- else if ((gettime(3) - guildtime > 3) && (guildrelay_q == 9) && (BaseJob == Job_Sage)) {
+ else if ((gettime(HOUR) - guildtime > 3) && (guildrelay_q == 9) && (BaseJob == Job_Sage)) {
mes "[" + .@name$ + "]";
mes "So did you spend some";
mes "quality time with your";
@@ -2765,11 +2765,11 @@
mes "to your feelings this time...";
delitem 7249,1; //Soul_Of_Service
guildrelay_q = 21;
- guildtime = gettime(3);
+ guildtime = gettime(HOUR);
close;
}
if ((guildtime > 22) && (guildrelay_q == 21) && (BaseJob == Job_Crusader)) {
- if ((gettime(3) > 2) && (gettime(3) < guildtime)) {
+ if ((gettime(HOUR) > 2) && (gettime(HOUR) < guildtime)) {
mes "[" + .@name$ + "]";
mes "Yes. You've come at just";
mes "the right time. Remember";
@@ -2791,7 +2791,7 @@
}
}
if ((guildtime > 21) && (guildrelay_q == 21) && (BaseJob == Job_Crusader)) {
- if ((gettime(3) > 1) && (gettime(3) < guildtime)) {
+ if ((gettime(HOUR) > 1) && (gettime(HOUR) < guildtime)) {
mes "[" + .@name$ + "]";
mes "Yes. You've come at just";
mes "the right time. Remember";
@@ -2813,7 +2813,7 @@
}
}
if ((guildtime > 20) && (guildrelay_q == 21) && (BaseJob == Job_Crusader)) {
- if ((gettime(3) > 0) && (gettime(3) < guildtime)) {
+ if ((gettime(HOUR) > 0) && (gettime(HOUR) < guildtime)) {
mes "[" + .@name$ + "]";
mes "Yes. You've come at just";
mes "the right time. Remember";
@@ -2834,7 +2834,7 @@
close;
}
}
- if ((gettime(3) - guildtime > 3) && (guildrelay_q == 21) && (BaseJob == Job_Crusader)) {
+ if ((gettime(HOUR) - guildtime > 3) && (guildrelay_q == 21) && (BaseJob == Job_Crusader)) {
mes "[" + .@name$ + "]";
mes "Yes. You've come at just";
mes "the right time. Remember";