summaryrefslogtreecommitdiff
path: root/npc/woe-se
diff options
context:
space:
mode:
Diffstat (limited to 'npc/woe-se')
-rw-r--r--npc/woe-se/agit_main_se.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/npc/woe-se/agit_main_se.txt b/npc/woe-se/agit_main_se.txt
index 6f1ad7df0..9e01c6efd 100644
--- a/npc/woe-se/agit_main_se.txt
+++ b/npc/woe-se/agit_main_se.txt
@@ -230,7 +230,7 @@ OnTreasureDied:
mes "to conquer this stronghold?";
close;
}
- if (getcharid(2) != .@GID || strcharinfo(0) != getguildmaster(.@GID)) {
+ if (getcharid(2) != .@GID || strcharinfo(PC_NAME) != getguildmaster(.@GID)) {
mes "[ Steward ]";
mes "Hmpf. Your threats don't";
mes "scare me! Guardians, drive";
@@ -664,7 +664,7 @@ OnStartArena:
close;
}
if (getcharid(2) == .@GID) {
- if (strcharinfo(0) != getguildmaster(.@GID)) {
+ if (strcharinfo(PC_NAME) != getguildmaster(.@GID)) {
mes .@n$;
mes "As guardian of this";
mes "stronghold, I answer only";
@@ -781,7 +781,7 @@ OnStartArena:
}
else {
mes .@n$;
- mes "Greetings, "+strcharinfo(0)+".";
+ mes "Greetings, "+strcharinfo(PC_NAME)+".";
mes "What are your orders?";
next;
switch(select("Increase Stronghold Defense", "Situational Briefing", "Cancel")) {
@@ -1121,7 +1121,7 @@ OnEnable:
.@num = atoi(charat(strnpcinfo(NPC_NAME_VISIBLE),15));
.@var$ = "$agit_"+strnpcinfo(NPC_NAME_HIDDEN);
if (getcharid(2) == .@GID) {
- if (strcharinfo(0) == getguildmaster(.@GID)) {
+ if (strcharinfo(PC_NAME) == getguildmaster(.@GID)) {
if (getd(.@var$+"["+(.@num+1)+"]") == 2) {
mes "^3355FFDemolished Fortress";
mes "Gates can be repaired,";