summaryrefslogtreecommitdiff
path: root/npc/battleground/flavius
diff options
context:
space:
mode:
Diffstat (limited to 'npc/battleground/flavius')
-rw-r--r--npc/battleground/flavius/flavius01.txt82
-rw-r--r--npc/battleground/flavius/flavius02.txt82
2 files changed, 82 insertions, 82 deletions
diff --git a/npc/battleground/flavius/flavius01.txt b/npc/battleground/flavius/flavius01.txt
index a02752d52..5fc1de8f5 100644
--- a/npc/battleground/flavius/flavius01.txt
+++ b/npc/battleground/flavius/flavius01.txt
@@ -26,7 +26,7 @@ OnInit:
waitingroom "Battle Station",11,"start#bat_b01::OnReadyCheck",1,0,80;
end;
OnEnterBG:
- set $@FlaviusBG1_id1, waitingroom2bg("bat_b01",10,290,"start#bat_b01::OnGuillaumeQuit","");
+ $@FlaviusBG1_id1 = waitingroom2bg("bat_b01",10,290,"start#bat_b01::OnGuillaumeQuit","");
end;
}
@@ -36,7 +36,7 @@ OnInit:
waitingroom "Battle Station",11,"start#bat_b01::OnReadyCheck",1,0,80;
end;
OnEnterBG:
- set $@FlaviusBG1_id2, waitingroom2bg("bat_b01",390,10,"start#bat_b01::OnCroixQuit","");
+ $@FlaviusBG1_id2 = waitingroom2bg("bat_b01",390,10,"start#bat_b01::OnCroixQuit","");
end;
}
@@ -58,11 +58,11 @@ OnStop:
OnTimer1000:
stopnpctimer;
initnpctimer;
- set .@chk_bat_a01,getmapusers("bat_b01");
+ .@chk_bat_a01 = getmapusers("bat_b01");
if (.@chk_bat_a01 < 1) {
- set $@FlaviusBG1, 0;
- if( $@FlaviusBG1_id1 ) { bg_destroy $@FlaviusBG1_id1; set $@FlaviusBG1_id1, 0; }
- if( $@FlaviusBG1_id2 ) { bg_destroy $@FlaviusBG1_id2; set $@FlaviusBG1_id2, 0; }
+ $@FlaviusBG1 = 0;
+ if( $@FlaviusBG1_id1 ) { bg_destroy $@FlaviusBG1_id1; $@FlaviusBG1_id1 = 0; }
+ if( $@FlaviusBG1_id2 ) { bg_destroy $@FlaviusBG1_id2; $@FlaviusBG1_id2 = 0; }
donpcevent "start#bat_b01::OnReadyCheck";
}
end;
@@ -79,18 +79,18 @@ OnInit:
OnReadyCheck:
if( $@FlaviusBG1 )
end;
- set .@Guillaume, getwaitingroomstate(0,"Lieutenant Ator");
- set .@Croix, getwaitingroomstate(0,"Lieutenant Thelokus");
+ .@Guillaume = getwaitingroomstate(0,"Lieutenant Ator");
+ .@Croix = getwaitingroomstate(0,"Lieutenant Thelokus");
if( !.@Guillaume && !.@Croix ) {
donpcevent "#bat_b01_timer::OnStop";
end;
}
if( .@Guillaume < 10 || .@Croix < 10 )
end;
- set $@FlaviusBG1, 1;
- set $@FlaviusBG1_Victory, 0;
- set $@Croix_ScoreBG1, 0;
- set $@Guill_ScoreBG1, 0;
+ $@FlaviusBG1 = 1;
+ $@FlaviusBG1_Victory = 0;
+ $@Croix_ScoreBG1 = 0;
+ $@Guill_ScoreBG1 = 0;
bg_updatescore "bat_b01",$@Guill_ScoreBG1,$@Croix_ScoreBG1;
donpcevent "Lieutenant Ator::OnEnterBG";
@@ -160,14 +160,14 @@ OnMyMobDead:
if (mobcount("bat_b01","OBJ#bat_b01_a::OnMyMobDead") < 1) {
mapannounce "bat_b01", "Guillaume's Crystal has been destroyed.",bc_map,"0xFFCE00";
if ($@Croix_ScoreBG1 > 0) {
- set $@FlaviusBG1_Victory,2;
- set $@Croix_ScoreBG1,$@Croix_ScoreBG1+1;
+ $@FlaviusBG1_Victory = 2;
+ ++$@Croix_ScoreBG1;
enablenpc "Guillaume Vintenar#b01_a";
enablenpc "Croix Vintenar#b01_b";
donpcevent "time#bat_b01::OnStop";
}
else {
- set $@Croix_ScoreBG1,1;
+ $@Croix_ScoreBG1 = 1;
donpcevent "time#bat_b01::OnEnable";
donpcevent "start#bat_b01::OnReset";
}
@@ -193,14 +193,14 @@ OnMyMobDead:
if (mobcount("bat_b01","OBJ#bat_b01_b::OnMyMobDead") < 1) {
mapannounce "bat_b01", "Croix's Crystal has been destroyed.",bc_map,"0xFFCE00";
if ($@Guill_ScoreBG1 > 0) {
- set $@FlaviusBG1_Victory,1;
- set $@Guill_ScoreBG1,$@Guill_ScoreBG1+1;
+ $@FlaviusBG1_Victory = 1;
+ ++$@Guill_ScoreBG1;
enablenpc "Guillaume Vintenar#b01_a";
enablenpc "Croix Vintenar#b01_b";
donpcevent "time#bat_b01::OnStop";
}
else {
- set $@Guill_ScoreBG1,1;
+ $@Guill_ScoreBG1 = 1;
donpcevent "time#bat_b01::OnEnable";
donpcevent "start#bat_b01::OnReset";
}
@@ -392,8 +392,8 @@ OnTouch:
bat_b01,10,294,3 script Guillaume Vintenar#b01_a 4_M_RASWORD,{
if ($@FlaviusBG1_id1 == getcharid(4)) {
if ($@FlaviusBG1_Victory == 1) {
- set .@your_medal,countitem(7829);
- set .@medal_gap,500 - .@your_medal;
+ .@your_medal = countitem(7829);
+ .@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 8) {
mes "[Axl Rose]";
mes "Blessed Guillaume!";
@@ -412,8 +412,8 @@ bat_b01,10,294,3 script Guillaume Vintenar#b01_a 4_M_RASWORD,{
}
}
else {
- set .@your_medal,countitem(7829);
- set .@medal_gap,500 - .@your_medal;
+ .@your_medal = countitem(7829);
+ .@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 2) {
mes "[Axl Rose]";
mes "You lost, but you're dedicated to this battle.";
@@ -444,8 +444,8 @@ OnInit:
bat_b01,389,14,3 script Croix Vintenar#b01_b 4_M_RASWORD,{
if ($@FlaviusBG1_id2 == getcharid(4)) {
if ($@FlaviusBG1_Victory == 2) {
- set .@your_medal,countitem(7829);
- set .@medal_gap,500 - .@your_medal;
+ .@your_medal = countitem(7829);
+ .@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 8) {
mes "[Swandery]";
mes "Blessed Croix!";
@@ -464,8 +464,8 @@ bat_b01,389,14,3 script Croix Vintenar#b01_b 4_M_RASWORD,{
}
}
else {
- set .@your_medal,countitem(7829);
- set .@medal_gap,500 - .@your_medal;
+ .@your_medal = countitem(7829);
+ .@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 2) {
mes "[Swandery]";
mes "Oh, "+strcharinfo(0)+". Don't be sad.";
@@ -574,11 +574,11 @@ bat_b01,336,139,3 script Croix Camp#flag30 1_FLAG_EAGLE,{ end; }
bat_b01,389,16,3 script Croix Camp#flag31 1_FLAG_EAGLE,{ end; }
bat_b01,10,294,3 script Vintenar#bat_b01_aover 4_M_KY_HEAD,{
- set .@A_B_gap,$@Guill_ScoreBG1 - $@Croix_ScoreBG1;
+ .@A_B_gap = $@Guill_ScoreBG1 - $@Croix_ScoreBG1;
if ($@FlaviusBG1_id1 == getcharid(4)) {
if (.@A_B_gap > 0) {
- set .@your_medal,countitem(7829);
- set .@medal_gap,500 - .@your_medal;
+ .@your_medal = countitem(7829);
+ .@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 8) {
mes "[Axl Rose]";
mes "Blessed Guillaume!";
@@ -597,8 +597,8 @@ bat_b01,10,294,3 script Vintenar#bat_b01_aover 4_M_KY_HEAD,{
}
}
else if (.@A_B_gap == 0) {
- set .@your_medal,countitem(7829);
- set .@medal_gap,500 - .@your_medal;
+ .@your_medal = countitem(7829);
+ .@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 2) {
mes "[Axl Rose]";
mes "You lost, but you're dedicated to this battle.";
@@ -617,8 +617,8 @@ bat_b01,10,294,3 script Vintenar#bat_b01_aover 4_M_KY_HEAD,{
}
}
else {
- set .@your_medal,countitem(7829);
- set .@medal_gap,500 - .@your_medal;
+ .@your_medal = countitem(7829);
+ .@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 2) {
mes "[Axl Rose]";
mes "You lost, but you're dedicated to this battle.";
@@ -652,11 +652,11 @@ OnInit:
}
bat_b01,389,14,3 script Vintenar#bat_b01_bover 4_M_CRU_HEAD,{
- set .@A_B_gap,$@Guill_ScoreBG1 - $@Croix_ScoreBG1;
+ .@A_B_gap = $@Guill_ScoreBG1 - $@Croix_ScoreBG1;
if ($@FlaviusBG1_id2 == getcharid(4)) {
if (.@A_B_gap > 0) {
- set .@your_medal,countitem(7829);
- set .@medal_gap,500 - .@your_medal;
+ .@your_medal = countitem(7829);
+ .@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 2) {
mes "[Swandery]";
mes "Oh, "+strcharinfo(0)+". Don't be sad.";
@@ -675,8 +675,8 @@ bat_b01,389,14,3 script Vintenar#bat_b01_bover 4_M_CRU_HEAD,{
}
}
else if (.@A_B_gap == 0) {
- set .@your_medal,countitem(7829);
- set .@medal_gap,500 - .@your_medal;
+ .@your_medal = countitem(7829);
+ .@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 2) {
mes "[Swandery]";
mes "Oh, "+strcharinfo(0)+". Don't be sad.";
@@ -695,8 +695,8 @@ bat_b01,389,14,3 script Vintenar#bat_b01_bover 4_M_CRU_HEAD,{
}
}
else {
- set .@your_medal,countitem(7829);
- set .@medal_gap,500 - .@your_medal;
+ .@your_medal = countitem(7829);
+ .@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 8) {
mes "[Swandery]";
mes "Blessed Croix!";
@@ -730,7 +730,7 @@ OnInit:
}
bat_b01,1,10,3 script Release all#b01 4_DOG01,{
- set .@i, callfunc("F_GM_NPC",1854,0);
+ .@i = callfunc("F_GM_NPC",1854,0);
if (.@i == -1) {
mes "Cancelled.";
close;
diff --git a/npc/battleground/flavius/flavius02.txt b/npc/battleground/flavius/flavius02.txt
index 79b7b5168..42a0abc42 100644
--- a/npc/battleground/flavius/flavius02.txt
+++ b/npc/battleground/flavius/flavius02.txt
@@ -27,7 +27,7 @@ OnInit:
waitingroom "Battle Station",11,"start#bat_b02::OnReadyCheck",1,0,80;
end;
OnEnterBG:
- set $@FlaviusBG2_id1, waitingroom2bg("bat_b02",10,290,"start#bat_b02::OnGuillaumeQuit","");
+ $@FlaviusBG2_id1 = waitingroom2bg("bat_b02",10,290,"start#bat_b02::OnGuillaumeQuit","");
end;
}
@@ -37,7 +37,7 @@ OnInit:
waitingroom "Battle Station",11,"start#bat_b02::OnReadyCheck",1,0,80;
end;
OnEnterBG:
- set $@FlaviusBG2_id2, waitingroom2bg("bat_b02",390,10,"start#bat_b02::OnCroixQuit","");
+ $@FlaviusBG2_id2 = waitingroom2bg("bat_b02",390,10,"start#bat_b02::OnCroixQuit","");
end;
}
@@ -59,11 +59,11 @@ OnStop:
OnTimer1000:
stopnpctimer;
initnpctimer;
- set .@chk_bat_a01,getmapusers("bat_b02");
+ .@chk_bat_a01 = getmapusers("bat_b02");
if (.@chk_bat_a01 < 1) {
- set $@FlaviusBG2, 0;
- if( $@FlaviusBG2_id1 ) { bg_destroy $@FlaviusBG2_id1; set $@FlaviusBG2_id1, 0; }
- if( $@FlaviusBG2_id2 ) { bg_destroy $@FlaviusBG2_id2; set $@FlaviusBG2_id2, 0; }
+ $@FlaviusBG2 = 0;
+ if( $@FlaviusBG2_id1 ) { bg_destroy $@FlaviusBG2_id1; $@FlaviusBG2_id1 = 0; }
+ if( $@FlaviusBG2_id2 ) { bg_destroy $@FlaviusBG2_id2; $@FlaviusBG2_id2 = 0; }
donpcevent "start#bat_b02::OnReadyCheck";
}
end;
@@ -80,18 +80,18 @@ OnInit:
OnReadyCheck:
if( $@FlaviusBG2 )
end;
- set .@Guillaume, getwaitingroomstate(0,"Lieutenant Huvas");
- set .@Croix, getwaitingroomstate(0,"Lieutenant Yukon");
+ .@Guillaume = getwaitingroomstate(0,"Lieutenant Huvas");
+ .@Croix = getwaitingroomstate(0,"Lieutenant Yukon");
if( !.@Guillaume && !.@Croix ) {
donpcevent "#bat_b02_timer::OnStop";
end;
}
if( .@Guillaume < 10 || .@Croix < 10 )
end;
- set $@FlaviusBG2, 1;
- set $@FlaviusBG2_Victory, 0;
- set $@Croix_ScoreBG2, 0;
- set $@Guill_ScoreBG2, 0;
+ $@FlaviusBG2 = 1;
+ $@FlaviusBG2_Victory = 0;
+ $@Croix_ScoreBG2 = 0;
+ $@Guill_ScoreBG2 = 0;
bg_updatescore "bat_b02",$@Guill_ScoreBG2,$@Croix_ScoreBG2;
donpcevent "Lieutenant Huvas::OnEnterBG";
@@ -161,14 +161,14 @@ OnMyMobDead:
if (mobcount("bat_b02","OBJ#bat_b02_a::OnMyMobDead") < 1) {
mapannounce "bat_b02", "Guillaume's Crystal has been destroyed.",bc_map,"0xFFCE00";
if ($@Croix_ScoreBG2 > 0) {
- set $@FlaviusBG2_Victory,2;
- set $@Croix_ScoreBG2,$@Croix_ScoreBG2+1;
+ $@FlaviusBG2_Victory = 2;
+ $@Croix_ScoreBG2 = $@Croix_ScoreBG2+1;
enablenpc "Guillaume Vintenar#b02_a";
enablenpc "Croix Vintenar#b02_b";
donpcevent "time#bat_b02::OnStop";
}
else {
- set $@Croix_ScoreBG2,1;
+ $@Croix_ScoreBG2 = 1;
donpcevent "time#bat_b02::OnEnable";
donpcevent "start#bat_b02::OnReset";
}
@@ -194,14 +194,14 @@ OnMyMobDead:
if (mobcount("bat_b02","OBJ#bat_b02_b::OnMyMobDead") < 1) {
mapannounce "bat_b02", "Croix's Crystal has been destroyed.",bc_map,"0xFFCE00";
if ($@Guill_ScoreBG2 > 0) {
- set $@FlaviusBG2_Victory,1;
- set $@Guill_ScoreBG2,$@Guill_ScoreBG2+1;
+ $@FlaviusBG2_Victory = 1;
+ ++$@Guill_ScoreBG2;
enablenpc "Guillaume Vintenar#b02_a";
enablenpc "Croix Vintenar#b02_b";
donpcevent "time#bat_b02::OnStop";
}
else {
- set $@Guill_ScoreBG2,1;
+ $@Guill_ScoreBG2 = 1;
donpcevent "time#bat_b02::OnEnable";
donpcevent "start#bat_b02::OnReset";
}
@@ -393,8 +393,8 @@ OnTouch:
bat_b02,10,294,3 script Guillaume Vintenar#b02_a 4_M_RASWORD,{
if ($@FlaviusBG2_id1 == getcharid(4)) {
if ($@FlaviusBG2_Victory == 1) {
- set .@your_medal,countitem(7829);
- set .@medal_gap,500 - .@your_medal;
+ .@your_medal = countitem(7829);
+ .@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 8) {
mes "[Axl Rose]";
mes "Blessed Guillaume!";
@@ -413,8 +413,8 @@ bat_b02,10,294,3 script Guillaume Vintenar#b02_a 4_M_RASWORD,{
}
}
else {
- set .@your_medal,countitem(7829);
- set .@medal_gap,500 - .@your_medal;
+ .@your_medal = countitem(7829);
+ .@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 2) {
mes "[Axl Rose]";
mes "You lost, but you're dedicated to this battle.";
@@ -445,8 +445,8 @@ OnInit:
bat_b02,389,14,3 script Croix Vintenar#b02_b 4_M_RASWORD,{
if ($@FlaviusBG2_id2 == getcharid(4)) {
if ($@FlaviusBG2_Victory == 2) {
- set .@your_medal,countitem(7829);
- set .@medal_gap,500 - .@your_medal;
+ .@your_medal = countitem(7829);
+ .@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 8) {
mes "[Swandery]";
mes "Blessed Croix!";
@@ -465,8 +465,8 @@ bat_b02,389,14,3 script Croix Vintenar#b02_b 4_M_RASWORD,{
}
}
else {
- set .@your_medal,countitem(7829);
- set .@medal_gap,500 - .@your_medal;
+ .@your_medal = countitem(7829);
+ .@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 2) {
mes "[Swandery]";
mes "Oh, "+strcharinfo(0)+". Don't be sad.";
@@ -575,11 +575,11 @@ bat_b02,336,139,3 script Croix Camp#flag41 1_FLAG_EAGLE,{ end; }
bat_b02,389,16,3 script Croix Camp#flag42 1_FLAG_EAGLE,{ end; }
bat_b02,10,294,3 script Vintenar#bat_b02_aover 4_M_KY_HEAD,{
- set .@A_B_gap,$@Guill_ScoreBG2 - $@Croix_ScoreBG2;
+ .@A_B_gap = $@Guill_ScoreBG2 - $@Croix_ScoreBG2;
if ($@FlaviusBG2_id1 == getcharid(4)) {
if (.@A_B_gap > 0) {
- set .@your_medal,countitem(7829);
- set .@medal_gap,500 - .@your_medal;
+ .@your_medal = countitem(7829);
+ .@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 8) {
mes "[Axl Rose]";
mes "Blessed Guillaume!";
@@ -598,8 +598,8 @@ bat_b02,10,294,3 script Vintenar#bat_b02_aover 4_M_KY_HEAD,{
}
}
else if (.@A_B_gap == 0) {
- set .@your_medal,countitem(7829);
- set .@medal_gap,500 - .@your_medal;
+ .@your_medal = countitem(7829);
+ .@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 2) {
mes "[Axl Rose]";
mes "You lost, but you're dedicated to this battle.";
@@ -618,8 +618,8 @@ bat_b02,10,294,3 script Vintenar#bat_b02_aover 4_M_KY_HEAD,{
}
}
else {
- set .@your_medal,countitem(7829);
- set .@medal_gap,500 - .@your_medal;
+ .@your_medal = countitem(7829);
+ .@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 2) {
mes "[Axl Rose]";
mes "You lost, but you're dedicated to this battle.";
@@ -653,11 +653,11 @@ OnInit:
}
bat_b02,389,14,3 script Vintenar#bat_b02_bover 4_M_CRU_HEAD,{
- set .@A_B_gap,$@Guill_ScoreBG2 - $@Croix_ScoreBG2;
+ .@A_B_gap = $@Guill_ScoreBG2 - $@Croix_ScoreBG2;
if ($@FlaviusBG2_id2 == getcharid(4)) {
if (.@A_B_gap > 0) {
- set .@your_medal,countitem(7829);
- set .@medal_gap,500 - .@your_medal;
+ .@your_medal = countitem(7829);
+ .@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 2) {
mes "[Swandery]";
mes "Oh, "+strcharinfo(0)+". Don't be sad.";
@@ -676,8 +676,8 @@ bat_b02,389,14,3 script Vintenar#bat_b02_bover 4_M_CRU_HEAD,{
}
}
else if (.@A_B_gap == 0) {
- set .@your_medal,countitem(7829);
- set .@medal_gap,500 - .@your_medal;
+ .@your_medal = countitem(7829);
+ .@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 2) {
mes "[Swandery]";
mes "Oh, "+strcharinfo(0)+". Don't be sad.";
@@ -696,8 +696,8 @@ bat_b02,389,14,3 script Vintenar#bat_b02_bover 4_M_CRU_HEAD,{
}
}
else {
- set .@your_medal,countitem(7829);
- set .@medal_gap,500 - .@your_medal;
+ .@your_medal = countitem(7829);
+ .@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 8) {
mes "[Swandery]";
mes "Blessed Croix!";
@@ -731,7 +731,7 @@ OnInit:
}
bat_b02,1,10,3 script Release all#b02 4_DOG01,{
- set .@i, callfunc("F_GM_NPC",1854,0);
+ .@i = callfunc("F_GM_NPC",1854,0);
if (.@i == -1) {
mes "Cancelled.";
close;