summaryrefslogtreecommitdiff
path: root/npc/battleground/tierra/tierra02.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/battleground/tierra/tierra02.txt')
-rw-r--r--npc/battleground/tierra/tierra02.txt44
1 files changed, 22 insertions, 22 deletions
diff --git a/npc/battleground/tierra/tierra02.txt b/npc/battleground/tierra/tierra02.txt
index 04d7c69e7..a54935089 100644
--- a/npc/battleground/tierra/tierra02.txt
+++ b/npc/battleground/tierra/tierra02.txt
@@ -267,8 +267,8 @@ OnKill:
OnMyMobDead:
if (mobcount("bat_a02","OBJ#bat_a02_n::OnMyMobDead") < 17) {
- bg_team_setxy getcharid(4),56,212;
- if (getcharid(4) == $@TierraBG2_id1) {
+ bg_team_setxy getcharid(CHAR_ID_BG),56,212;
+ if (getcharid(CHAR_ID_BG) == $@TierraBG2_id1) {
donpcevent "NOBJ_mob#bat_a02_a::OnEnable";
mapannounce("bat_a02", _("Guillaume captured a Neutrality Flag, so they have an advantage."), bc_map, "0xFFCE00");
}
@@ -313,7 +313,7 @@ OnMyMobDead:
}
bat_a02,185,270,1 script Guillaume Blacksmith#a02 4_M_REPAIR,{
- if (getcharid(4) == $@TierraBG2_id1) {
+ if (getcharid(CHAR_ID_BG) == $@TierraBG2_id1) {
mes("[Guillaume Blacksmith]");
mes("We are in urgency! The Barricade has been destroyed!");
mes("We can repair the Barricade with ^3131FF50 Stones, 3 Sinew of Bear, 500 Metal Fragments, 30 Rough Elunium and 100 Gold.^000000");
@@ -397,7 +397,7 @@ OnInit:
}
bat_a02,170,121,5 script Croix Blacksmith#bat_a02 4_M_REPAIR,{
- if (getcharid(4) == $@TierraBG2_id2) {
+ if (getcharid(CHAR_ID_BG) == $@TierraBG2_id2) {
mes("[Croix Blacksmith]");
mes("We are in urgency! The Barricade has been destroyed!");
mes("We can repair the Barricade with ^3131FF50 Stones, 3 Sinew of Bear, 500 Metal Fragments, 30 Rough Elunium and 100 Gold.^000000");
@@ -622,28 +622,28 @@ OnTouch:
bat_a02,194,267,0 script barri_warp_up#bat_a02_a FAKE_NPC,7,0,{
OnTouch:
- if (getcharid(4) == $@TierraBG2_id1)
+ if (getcharid(CHAR_ID_BG) == $@TierraBG2_id1)
warp "bat_a02",194,261;
end;
}
bat_a02,194,265,0 script barri_warp_down#bat_a02a FAKE_NPC,7,0,{
OnTouch:
- if (getcharid(4) == $@TierraBG2_id1)
+ if (getcharid(CHAR_ID_BG) == $@TierraBG2_id1)
warp "bat_a02",194,270;
end;
}
bat_a02,177,130,0 script barri_warp_up#bat_a02_b FAKE_NPC,7,0,{
OnTouch:
- if (getcharid(4) == $@TierraBG2_id2)
+ if (getcharid(CHAR_ID_BG) == $@TierraBG2_id2)
warp "bat_a02",178,125;
end;
}
bat_a02,177,128,0 script barri_warp_down#bat_a02b FAKE_NPC,7,0,{
OnTouch:
- if (getcharid(4) == $@TierraBG2_id2)
+ if (getcharid(CHAR_ID_BG) == $@TierraBG2_id2)
warp "bat_a02",178,134;
end;
}
@@ -695,7 +695,7 @@ bat_a02,357,74,3 script Croix Camp#flag18 1_FLAG_EAGLE,{ end; }
bat_a02,348,74,3 script Croix Camp#flag19 1_FLAG_EAGLE,{ end; }
bat_a02,53,377,3 script Guillaume Vintenar#a02_a 4_M_KY_HEAD,{
- if (getcharid(4) == $@TierraBG2_id1) {
+ if (getcharid(CHAR_ID_BG) == $@TierraBG2_id1) {
if ($@TierraBG2_Victory == 1) {
.@your_medal = countitem(BF_Badge1);
.@medal_gap = 500 - .@your_medal;
@@ -703,7 +703,7 @@ bat_a02,53,377,3 script Guillaume Vintenar#a02_a 4_M_KY_HEAD,{
mes("[Axl Rose]");
mes("Blessed Guillaume!");
mes("Let's enjoy our glorious victory!");
- mesf("%s, it's a sign reflecting victory.", strcharinfo(0));
+ mesf("%s, it's a sign reflecting victory.", strcharinfo(PC_NAME));
close2;
getitem BF_Badge1,3;
}
@@ -711,7 +711,7 @@ bat_a02,53,377,3 script Guillaume Vintenar#a02_a 4_M_KY_HEAD,{
mes("[Axl Rose]");
mes("Blessed Guillaume!");
mes("Let's enjoy our glorious victory!");
- mesf("%s, it's a sign reflecting victory.", strcharinfo(0));
+ mesf("%s, it's a sign reflecting victory.", strcharinfo(PC_NAME));
close2;
getitem BF_Badge1,.@medal_gap;
}
@@ -765,7 +765,7 @@ bat_a02,53,377,3 script Guillaume Vintenar#a02_a 4_M_KY_HEAD,{
mes("[Axl Rose]");
mes("Blessed Guillaume!");
mes("Let's enjoy our glorious victory!");
- mesf("%s, it's a sign reflecting victory.", strcharinfo(0));
+ mesf("%s, it's a sign reflecting victory.", strcharinfo(PC_NAME));
close2;
getitem BF_Badge1,3;
}
@@ -773,7 +773,7 @@ bat_a02,53,377,3 script Guillaume Vintenar#a02_a 4_M_KY_HEAD,{
mes("[Axl Rose]");
mes("Blessed Guillaume!");
mes("Let's enjoy our glorious victory!");
- mesf("%s, it's a sign of victory.", strcharinfo(0));
+ mesf("%s, it's a sign of victory.", strcharinfo(PC_NAME));
close2;
getitem BF_Badge1,.@medal_gap;
}
@@ -789,7 +789,7 @@ OnInit:
}
bat_a02,45,19,3 script Croix Vintenar#a02_b 4_M_CRU_HEAD,{
- if (getcharid(4) == $@TierraBG2_id2) {
+ if (getcharid(CHAR_ID_BG) == $@TierraBG2_id2) {
if ($@TierraBG2_Victory == 2) {
.@your_medal = countitem(BF_Badge1);
.@medal_gap = 500 - .@your_medal;
@@ -797,7 +797,7 @@ bat_a02,45,19,3 script Croix Vintenar#a02_b 4_M_CRU_HEAD,{
mes("[Swandery]");
mes("Blessed Croix!");
mes("Let's enjoy our glorious victory!");
- mesf("%s, it's a sign reflecting victory.", strcharinfo(0));
+ mesf("%s, it's a sign reflecting victory.", strcharinfo(PC_NAME));
close2;
getitem BF_Badge1,3;
}
@@ -805,7 +805,7 @@ bat_a02,45,19,3 script Croix Vintenar#a02_b 4_M_CRU_HEAD,{
mes("[Swandery]");
mes("Blessed Croix!");
mes("Let's enjoy our glorious victory!");
- mesf("%s, it's a sign reflecting victory.", strcharinfo(0));
+ mesf("%s, it's a sign reflecting victory.", strcharinfo(PC_NAME));
close2;
getitem BF_Badge1,.@medal_gap;
}
@@ -815,7 +815,7 @@ bat_a02,45,19,3 script Croix Vintenar#a02_b 4_M_CRU_HEAD,{
.@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 0) {
mes("[Swandery]");
- mesf("Oh, %s Don't be sad.", strcharinfo(0));
+ mesf("Oh, %s Don't be sad.", strcharinfo(PC_NAME));
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 will win the next one.");
close2;
@@ -823,7 +823,7 @@ bat_a02,45,19,3 script Croix Vintenar#a02_b 4_M_CRU_HEAD,{
}
else {
mes("[Swandery]");
- mesf("Oh, %s Don't be sad.", strcharinfo(0));
+ mesf("Oh, %s Don't be sad.", strcharinfo(PC_NAME));
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 will win the next one.");
close2;
@@ -837,7 +837,7 @@ bat_a02,45,19,3 script Croix Vintenar#a02_b 4_M_CRU_HEAD,{
.@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 0) {
mes("[Swandery]");
- mesf("Oh, %s Don't be sad.", strcharinfo(0));
+ mesf("Oh, %s Don't be sad.", strcharinfo(PC_NAME));
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 will win the next one.");
close2;
@@ -845,7 +845,7 @@ bat_a02,45,19,3 script Croix Vintenar#a02_b 4_M_CRU_HEAD,{
}
else {
mes("[Swandery]");
- mesf("Oh, %s Don't be sad.", strcharinfo(0));
+ mesf("Oh, %s Don't be sad.", strcharinfo(PC_NAME));
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 will win the next one.");
close2;
@@ -859,7 +859,7 @@ bat_a02,45,19,3 script Croix Vintenar#a02_b 4_M_CRU_HEAD,{
mes("[Swandery]");
mes("Blessed Croix!");
mes("Let's enjoy our glorious victory!");
- mesf("%s, it's a sign reflecting victory.", strcharinfo(0));
+ mesf("%s, it's a sign reflecting victory.", strcharinfo(PC_NAME));
close2;
getitem BF_Badge1,3;
}
@@ -867,7 +867,7 @@ bat_a02,45,19,3 script Croix Vintenar#a02_b 4_M_CRU_HEAD,{
mes("[Swandery]");
mes("Blessed Croix!");
mes("Let's enjoy our glorious victory!");
- mesf("%s, it's a sign reflecting victory.", strcharinfo(0));
+ mesf("%s, it's a sign reflecting victory.", strcharinfo(PC_NAME));
close2;
getitem BF_Badge1,.@medal_gap;
}