From 0f1d0507eb95cf07ce7eb66d89ad9853938612e6 Mon Sep 17 00:00:00 2001 From: Asheraf Date: Mon, 29 Aug 2016 17:40:13 +0100 Subject: change *strcharinfo to use constants --- npc/woe-se/agit_main_se.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'npc/woe-se/agit_main_se.txt') 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,"; -- cgit v1.2.3-60-g2f50