summaryrefslogtreecommitdiff
path: root/npc/woe-se/agit_main_se.txt
diff options
context:
space:
mode:
authorAsheraf <acheraf1998@gmail.com>2016-08-29 17:40:13 +0100
committerhemagx <ibrahem.h.basyone@gmail.com>2016-09-02 04:56:00 +0200
commit0f1d0507eb95cf07ce7eb66d89ad9853938612e6 (patch)
tree57780b1ecc7c5ae125be1c89406f8db1e00a581b /npc/woe-se/agit_main_se.txt
parent0f1d03f505fdc03533122db8ba19fa55f64f11b7 (diff)
downloadhercules-0f1d0507eb95cf07ce7eb66d89ad9853938612e6.tar.gz
hercules-0f1d0507eb95cf07ce7eb66d89ad9853938612e6.tar.bz2
hercules-0f1d0507eb95cf07ce7eb66d89ad9853938612e6.tar.xz
hercules-0f1d0507eb95cf07ce7eb66d89ad9853938612e6.zip
change *strcharinfo to use constants
Diffstat (limited to 'npc/woe-se/agit_main_se.txt')
-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,";