diff options
Diffstat (limited to 'npc/battleground/tierra/tierra01.txt')
-rw-r--r-- | npc/battleground/tierra/tierra01.txt | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/npc/battleground/tierra/tierra01.txt b/npc/battleground/tierra/tierra01.txt index ff5c578ef..22a612c81 100644 --- a/npc/battleground/tierra/tierra01.txt +++ b/npc/battleground/tierra/tierra01.txt @@ -267,8 +267,8 @@ OnKill: OnMyMobDead: if (mobcount("bat_a01","OBJ#bat_a01_n::OnMyMobDead") < 17) { - bg_team_setxy getcharid(4),56,212; - if (getcharid(4) == $@TierraBG1_id1) { + bg_team_setxy getcharid(CHAR_ID_BG),56,212; + if (getcharid(CHAR_ID_BG) == $@TierraBG1_id1) { donpcevent "NOBJ_mob#bat_a01_a::OnEnable"; mapannounce("bat_a01", _("Guillaume captured a Neutrality Flag, so they have an advantage."), bc_map, "0xFFCE00"); } @@ -313,7 +313,7 @@ OnMyMobDead: } bat_a01,185,270,1 script Guillaume Blacksmith#a01 4_M_REPAIR,{ - if (getcharid(4) == $@TierraBG1_id1) { + if (getcharid(CHAR_ID_BG) == $@TierraBG1_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_a01,170,121,5 script Croix Blacksmith#bat_a01 4_M_REPAIR,{ - if (getcharid(4) == $@TierraBG1_id2) { + if (getcharid(CHAR_ID_BG) == $@TierraBG1_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_a01,194,267,0 script barri_warp_up#bat_a01_a FAKE_NPC,7,0,{ OnTouch: - if (getcharid(4) == $@TierraBG1_id1) + if (getcharid(CHAR_ID_BG) == $@TierraBG1_id1) warp "bat_a01",194,261; end; } bat_a01,194,265,0 script barri_warp_down#bat_a01a FAKE_NPC,7,0,{ OnTouch: - if (getcharid(4) == $@TierraBG1_id1) + if (getcharid(CHAR_ID_BG) == $@TierraBG1_id1) warp "bat_a01",194,270; end; } bat_a01,177,130,0 script barri_warp_up#bat_a01_b FAKE_NPC,7,0,{ OnTouch: - if (getcharid(4) == $@TierraBG1_id2) + if (getcharid(CHAR_ID_BG) == $@TierraBG1_id2) warp "bat_a01",178,125; end; } bat_a01,177,128,0 script barri_warp_down#bat_a01b FAKE_NPC,7,0,{ OnTouch: - if (getcharid(4) == $@TierraBG1_id2) + if (getcharid(CHAR_ID_BG) == $@TierraBG1_id2) warp "bat_a01",178,134; end; } @@ -695,7 +695,7 @@ bat_a01,357,74,3 script Croix Camp#flag8 1_FLAG_EAGLE,{ end; } bat_a01,348,74,3 script Croix Camp#flag9 1_FLAG_EAGLE,{ end; } bat_a01,53,377,3 script Guillaume Vintenar#a01_a 4_M_KY_HEAD,{ - if (getcharid(4) == $@TierraBG1_id1) { + if (getcharid(CHAR_ID_BG) == $@TierraBG1_id1) { if ($@TierraBG1_Victory == 1) { .@your_medal = countitem(BF_Badge1); .@medal_gap = 500 - .@your_medal; @@ -703,7 +703,7 @@ bat_a01,53,377,3 script Guillaume Vintenar#a01_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_a01,53,377,3 script Guillaume Vintenar#a01_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_a01,53,377,3 script Guillaume Vintenar#a01_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_a01,53,377,3 script Guillaume Vintenar#a01_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_a01,45,19,3 script Croix Vintenar#a01_b 4_M_CRU_HEAD,{ - if (getcharid(4) == $@TierraBG1_id2) { + if (getcharid(CHAR_ID_BG) == $@TierraBG1_id2) { if ($@TierraBG1_Victory == 2) { .@your_medal = countitem(BF_Badge1); .@medal_gap = 500 - .@your_medal; @@ -797,7 +797,7 @@ bat_a01,45,19,3 script Croix Vintenar#a01_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_a01,45,19,3 script Croix Vintenar#a01_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_a01,45,19,3 script Croix Vintenar#a01_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_a01,45,19,3 script Croix Vintenar#a01_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_a01,45,19,3 script Croix Vintenar#a01_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_a01,45,19,3 script Croix Vintenar#a01_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_a01,45,19,3 script Croix Vintenar#a01_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_a01,45,19,3 script Croix Vintenar#a01_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; } |