summaryrefslogtreecommitdiff
path: root/npc/custom/battleground/bg_tierra_02.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/custom/battleground/bg_tierra_02.txt')
-rw-r--r--npc/custom/battleground/bg_tierra_02.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/npc/custom/battleground/bg_tierra_02.txt b/npc/custom/battleground/bg_tierra_02.txt
index b3b6cff21..e0f1b402a 100644
--- a/npc/custom/battleground/bg_tierra_02.txt
+++ b/npc/custom/battleground/bg_tierra_02.txt
@@ -99,13 +99,13 @@ OnReadyCheck:
end;
OnNeutralBreak:
- if( getcharid(4) == $@TierraBG2_id1 )
+ if( getcharid(CHAR_ID_BG) == $@TierraBG2_id1 )
{
mapannounce "bat_a02","Guillaume obtained a neurality banner, so they have an advantage.",1,0x0000FF;
bg_team_setxy $@TierraBG2_id2,42,16;
areawarp "bat_a02",52,208,61,217,"bat_a02",42,16;
}
- else if( getcharid(4) == $@TierraBG2_id2 )
+ else if( getcharid(CHAR_ID_BG) == $@TierraBG2_id2 )
{
mapannounce "bat_a02","Croix obtained a neutrality banner, so they have an advantage.",1,0xFF0000;
bg_team_setxy $@TierraBG2_id1,50,374;
@@ -113,7 +113,7 @@ OnNeutralBreak:
}
else end;
- set .Neutral_Base, getcharid(4);
+ set .Neutral_Base, getcharid(CHAR_ID_BG);
bg_team_setxy .Neutral_Base,56,212;
if( .Guardian_1 == 0 )
@@ -326,12 +326,12 @@ bat_a02,45,19,3 script Croix Vintenar#tv2 4_M_CRU_HEAD,{
mes "[Swandery]";
mes "Blessed Croax!!";
mes "Let's enjoy our glorious victory!";
- mes "" + strcharinfo(0) + ", its a sign reflecting victory";
+ mes "" + strcharinfo(PC_NAME) + ", its a sign reflecting victory";
close2;
} else {
set .@reward, 1;
mes "[Swandery]";
- mes "Oh, " + strcharinfo(0) + ". Don't be sad.";
+ mes "Oh, " + strcharinfo(PC_NAME) + ". Don't be sad.";
mes "Even though we didn't win, we did our best.";
mes "This is a Royal gift from Croix, and please don't forget this battle. We can win the next.";
close2;
@@ -355,7 +355,7 @@ bat_a02,53,377,3 script Guillaume Vintenar#tv2 4_M_KY_HEAD,{
mes "[Swandery]";
mes "Blessed Guillaume!!";
mes "Let's enjoy our glorious victory!";
- mes "" + strcharinfo(0) + ", its a sign reflecting victory";
+ mes "" + strcharinfo(PC_NAME) + ", its a sign reflecting victory";
close2;
} else {
set .@reward, 1;