summaryrefslogtreecommitdiff
path: root/npc/battleground/tierra/tierra02.txt
diff options
context:
space:
mode:
authorMichieru <michieru@0-mail.com>2013-10-24 12:10:43 +0200
committerMichieru <michieru@0-mail.com>2013-10-24 12:10:43 +0200
commite3afdc2af4c5e50c79237ee092e25f39b7428e47 (patch)
tree20cfd05dd6fc2e3e53173ef059f045cee1526d58 /npc/battleground/tierra/tierra02.txt
parent491892212d338903179909b89a5bfc2385e52261 (diff)
downloadhercules-e3afdc2af4c5e50c79237ee092e25f39b7428e47.tar.gz
hercules-e3afdc2af4c5e50c79237ee092e25f39b7428e47.tar.bz2
hercules-e3afdc2af4c5e50c79237ee092e25f39b7428e47.tar.xz
hercules-e3afdc2af4c5e50c79237ee092e25f39b7428e47.zip
Update to last rAthena npc.
Fix some typos change sc_bleeding to -> sc_blooding Updated RE EXP for quests_brasilis.txt
Diffstat (limited to 'npc/battleground/tierra/tierra02.txt')
-rw-r--r--npc/battleground/tierra/tierra02.txt71
1 files changed, 36 insertions, 35 deletions
diff --git a/npc/battleground/tierra/tierra02.txt b/npc/battleground/tierra/tierra02.txt
index aa5f09215..008944955 100644
--- a/npc/battleground/tierra/tierra02.txt
+++ b/npc/battleground/tierra/tierra02.txt
@@ -1,18 +1,20 @@
//===== Hercules Script ======================================
// BattleGround System - Tierra Gorge 2
-//===== By: ==================================================
+//===== By: ==================================================
//= L0ne_W0lf
-//===== Current Version: =====================================
-//= 1.2
-//===== Description: =========================================
-//= [AEGIS Conversion]
+//===== Current Version: =====================================
+//= 1.4
+//===== Description: =========================================
+//= [Official Conversion]
//= Second Tierra Gorge Battleground.
//= - Winning Team: 3 badges
//= - Losing Team: 1 badge
-//===== Additional Comments: =================================
+//===== Additional Comments: =================================
//= 1.0 First Version.
//= 1.1 Updated 'waitingroom' to support required zeny/lvl. [Kisuka]
//= 1.2 Removed MaxLvl check in waitingrooms.
+//= 1.3 Label standardization. [Euphy]
+//= 1.4 Added GM management function. [Euphy]
//============================================================
// Waiting Room NPCs
@@ -44,7 +46,7 @@ OnEnterBG:
bat_room,1,151,3 script #bat_a02_timer 844,{
end;
-onInit:
+OnInit:
OnEnable:
initnpctimer;
end;
@@ -95,18 +97,18 @@ OnInit:
end;
OnEnable:
- donpcevent "OBJ#bat_a02_a::Onkill";
+ donpcevent "OBJ#bat_a02_a::OnKill";
donpcevent "OBJ#bat_a02_a::OnEnable";
- donpcevent "OBJ#bat_a02_b::Onkill";
+ donpcevent "OBJ#bat_a02_b::OnKill";
donpcevent "OBJ#bat_a02_b::OnEnable";
- donpcevent "barricade#bat_a02_a::Onkill";
+ donpcevent "barricade#bat_a02_a::OnKill";
donpcevent "barricade#bat_a02_a::OnEnable";
- donpcevent "barricade#bat_a02_b::Onkill";
+ donpcevent "barricade#bat_a02_b::OnKill";
donpcevent "barricade#bat_a02_b::OnEnable";
- donpcevent "OBJ#bat_a02_n::Onkill";
+ donpcevent "OBJ#bat_a02_n::OnKill";
donpcevent "OBJ#bat_a02_n::OnEnable";
- donpcevent "NOBJ_mob#bat_a02_a::Onkill";
- donpcevent "NOBJ_mob#bat_a02_b::Onkill";
+ donpcevent "NOBJ_mob#bat_a02_a::OnKill";
+ donpcevent "NOBJ_mob#bat_a02_b::OnKill";
donpcevent "Battle Therapist#a02_a::OnEnable";
donpcevent "Battle Therapist#a02_b::OnEnable";
donpcevent "countdown#bat_a02::OnEnable";
@@ -135,7 +137,7 @@ OnReadyCheck:
set $@TierraBG2,1;
donpcevent "Lieutenant Rundel::OnEnterBG";
donpcevent "Lieutenant Guerrit::OnEnterBG";
- donpcevent "start#bat_a02::onEnable";
+ donpcevent "start#bat_a02::OnEnable";
bg_warp $@TierraBG2_id1,"bat_a02",352,342;
bg_warp $@TierraBG2_id2,"bat_a02",353,52;
initnpctimer;
@@ -152,7 +154,7 @@ OnEnable:
bg_monster $@TierraBG2_id1,"bat_a02",177,345,"Food Storage",1909,"OBJ#bat_a02_a::OnMyMobDead";
end;
-Onkill:
+OnKill:
killmonster "bat_a02","OBJ#bat_a02_a::OnMyMobDead";
end;
@@ -175,7 +177,7 @@ OnEnable:
bg_monster $@TierraBG2_id2,"bat_a02",167,50,"Food Depot",1910,"OBJ#bat_a02_b::OnMyMobDead";
end;
-Onkill:
+OnKill:
killmonster "bat_a02","OBJ#bat_a02_b::OnMyMobDead";
end;
@@ -200,7 +202,7 @@ OnEnable:
setwall "bat_a02",186,266,16,6,1,"bat_a02_c1";
end;
-Onkill:
+OnKill:
killmonster "bat_a02","barricade#bat_a02_a::OnMyMobDead";
delwall "bat_a02_c1";
end;
@@ -222,7 +224,7 @@ OnEnable:
setwall "bat_a02",170,129,16,6,1,"bat_a02_g1";
end;
-Onkill:
+OnKill:
killmonster "bat_a02","barricade#bat_a02_b::OnMyMobDead";
delwall "bat_a02_g1";
end;
@@ -242,7 +244,7 @@ OnEnable:
monster "bat_a02",273,203,"Neutrality Flag",1911,1,"OBJ#bat_a02_n::OnMyMobDead";
end;
-Onkill:
+OnKill:
killmonster "bat_a02","OBJ#bat_a02_n::OnMyMobDead";
end;
@@ -263,13 +265,13 @@ OnMyMobDead:
bat_a02,15,21,3 script NOBJ_mob#bat_a02_a 844,{
OnEnable:
- donpcevent "NOBJ_mob#bat_a02_b::Onkill";
+ donpcevent "NOBJ_mob#bat_a02_b::OnKill";
bg_monster $@TierraBG2_id1,"bat_a02",272,204,"Guillaume Camp Guardian",1949,"NOBJ_mob#bat_a02_a::OnMyMobDead";
bg_monster $@TierraBG2_id1,"bat_a02",272,213,"Guillaume Camp Guardian",1949,"NOBJ_mob#bat_a02_a::OnMyMobDead";
bg_monster $@TierraBG2_id1,"bat_a02",273,197,"Guillaume Camp Guardian",1950,"NOBJ_mob#bat_a02_a::OnMyMobDead";
end;
-Onkill:
+OnKill:
killmonster "bat_a02","NOBJ_mob#bat_a02_a::OnMyMobDead";
end;
@@ -279,13 +281,13 @@ OnMyMobDead:
bat_a02,15,22,3 script NOBJ_mob#bat_a02_b 844,{
OnEnable:
- donpcevent "NOBJ_mob#bat_a02_a::Onkill";
+ donpcevent "NOBJ_mob#bat_a02_a::OnKill";
bg_monster $@TierraBG2_id2,"bat_a02",272,204,"Croix Camp Guardian",1949,"NOBJ_mob#bat_a02_a::OnMyMobDead";
bg_monster $@TierraBG2_id2,"bat_a02",272,213,"Croix Camp Guardian",1949,"NOBJ_mob#bat_a02_a::OnMyMobDead";
bg_monster $@TierraBG2_id2,"bat_a02",273,197,"Croix Camp Guardian",1950,"NOBJ_mob#bat_a02_a::OnMyMobDead";
end;
-Onkill:
+OnKill:
killmonster "bat_a02","NOBJ_mob#bat_a02_b::OnMyMobDead";
end;
@@ -480,7 +482,7 @@ OnEnable:
enablenpc "Battle Therapist#a02_a";
end;
-Onstop:
+OnStop:
disablenpc "bat_a02_rp1_a_warp";
disablenpc "Battle Therapist#a02_a";
stopnpctimer;
@@ -530,7 +532,7 @@ OnEnable:
enablenpc "Battle Therapist#a02_b";
end;
-Onstop:
+OnStop:
disablenpc "bat_a02_rp1_b_warp";
disablenpc "Battle Therapist#a02_b";
stopnpctimer;
@@ -870,7 +872,7 @@ OnEnable:
initnpctimer;
end;
-Onstop:
+OnStop:
stopnpctimer;
end;
@@ -904,7 +906,7 @@ OnTimer1825000:
OnTimer1830000:
mapwarp "bat_a02","bat_room",154,150;
- donpcevent "countdown#bat_a02::Onstop";
+ donpcevent "countdown#bat_a02::OnStop";
end;
}
@@ -920,14 +922,14 @@ bat_a02,356,326,3 script Guillaume Camp Soldier#bat_a02_guide 934,{
}
*/
-/*
bat_a02,1,1,3 script Release all#a02 81,{
- input .@input,0,2000;
- if (.@input == 0) {
+ set .@i, callfunc("F_GM_NPC",1854,0);
+ if (.@i == -1) {
mes "Cancelled.";
close;
- }
- else if (.@input == 1854) {
+ } else if (.@i == 0) {
+ end;
+ } else {
mes "May I help you?";
next;
switch(select("Release all.:Cancel.")) {
@@ -938,8 +940,7 @@ bat_a02,1,1,3 script Release all#a02 81,{
end;
case 2:
mes "Cancelled.";
+ close;
}
}
}
-*/
-