summaryrefslogtreecommitdiff
path: root/npc/battleground/tierra/tierra01.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/tierra01.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/tierra01.txt')
-rw-r--r--npc/battleground/tierra/tierra01.txt71
1 files changed, 36 insertions, 35 deletions
diff --git a/npc/battleground/tierra/tierra01.txt b/npc/battleground/tierra/tierra01.txt
index 4dec175c2..edb2f3c91 100644
--- a/npc/battleground/tierra/tierra01.txt
+++ b/npc/battleground/tierra/tierra01.txt
@@ -1,19 +1,21 @@
//===== Hercules Script ======================================
// BattleGround System - Tierra Gorge
-//===== By: ==================================================
+//===== By: ==================================================
//= L0ne_W0lf
-//===== Current Version: =====================================
-//= 1.3
-//===== Description: =========================================
-//= [AEGIS Conversion]
+//===== Current Version: =====================================
+//= 1.5
+//===== Description: =========================================
+//= [Official Conversion]
//= Tierra Gorge Battleground.
//= - Winning Team: 3 badges
//= - Losing Team: 1 badge
-//===== Additional Comments: =================================
+//===== Additional Comments: =================================
//= 1.0 First Version.
//= 1.1 Corrected setwalls for barricades. [L0ne_W0lf]
//= 1.2 Updated 'waitingroom' to support required zeny/lvl. [Kisuka]
//= 1.3 Removed MaxLvl check in waitingrooms.
+//= 1.4 Label standardization. [Euphy]
+//= 1.5 Added GM management function. [Euphy]
//============================================================
// Waiting Room NPCs
@@ -45,7 +47,7 @@ OnEnterBG:
bat_room,1,151,3 script #bat_a01_timer 844,{
end;
-onInit:
+OnInit:
OnEnable:
initnpctimer;
end;
@@ -96,18 +98,18 @@ OnInit:
end;
OnEnable:
- donpcevent "OBJ#bat_a01_a::Onkill";
+ donpcevent "OBJ#bat_a01_a::OnKill";
donpcevent "OBJ#bat_a01_a::OnEnable";
- donpcevent "OBJ#bat_a01_b::Onkill";
+ donpcevent "OBJ#bat_a01_b::OnKill";
donpcevent "OBJ#bat_a01_b::OnEnable";
- donpcevent "barricade#bat_a01_a::Onkill";
+ donpcevent "barricade#bat_a01_a::OnKill";
donpcevent "barricade#bat_a01_a::OnEnable";
- donpcevent "barricade#bat_a01_b::Onkill";
+ donpcevent "barricade#bat_a01_b::OnKill";
donpcevent "barricade#bat_a01_b::OnEnable";
- donpcevent "OBJ#bat_a01_n::Onkill";
+ donpcevent "OBJ#bat_a01_n::OnKill";
donpcevent "OBJ#bat_a01_n::OnEnable";
- donpcevent "NOBJ_mob#bat_a01_a::Onkill";
- donpcevent "NOBJ_mob#bat_a01_b::Onkill";
+ donpcevent "NOBJ_mob#bat_a01_a::OnKill";
+ donpcevent "NOBJ_mob#bat_a01_b::OnKill";
donpcevent "Battle Therapist#a01_a::OnEnable";
donpcevent "Battle Therapist#a01_b::OnEnable";
donpcevent "countdown#bat_a01::OnEnable";
@@ -136,7 +138,7 @@ OnReadyCheck:
set $@TierraBG1,1;
donpcevent "Lieutenant Kalos::OnEnterBG";
donpcevent "Lieutenant Eyor::OnEnterBG";
- donpcevent "start#bat_a01::onEnable";
+ donpcevent "start#bat_a01::OnEnable";
bg_warp $@TierraBG1_id1,"bat_a01",352,342;
bg_warp $@TierraBG1_id2,"bat_a01",353,52;
initnpctimer;
@@ -153,7 +155,7 @@ OnEnable:
bg_monster $@TierraBG1_id1,"bat_a01",177,345,"Food Storage",1909,"OBJ#bat_a01_a::OnMyMobDead";
end;
-Onkill:
+OnKill:
killmonster "bat_a01","OBJ#bat_a01_a::OnMyMobDead";
end;
@@ -176,7 +178,7 @@ OnEnable:
bg_monster $@TierraBG1_id2,"bat_a01",167,50,"Food Depot",1910,"OBJ#bat_a01_b::OnMyMobDead";
end;
-Onkill:
+OnKill:
killmonster "bat_a01","OBJ#bat_a01_b::OnMyMobDead";
end;
@@ -201,7 +203,7 @@ OnEnable:
setwall "bat_a01",186,266,16,6,1,"bat_a01_c1";
end;
-Onkill:
+OnKill:
killmonster "bat_a01","barricade#bat_a01_a::OnMyMobDead";
delwall "bat_a01_c1";
end;
@@ -223,7 +225,7 @@ OnEnable:
setwall "bat_a01",170,129,16,6,1,"bat_a01_g1";
end;
-Onkill:
+OnKill:
killmonster "bat_a01","barricade#bat_a01_b::OnMyMobDead";
delwall "bat_a01_g1";
end;
@@ -243,7 +245,7 @@ OnEnable:
monster "bat_a01",273,203,"Neutrality Flag",1911,1,"OBJ#bat_a01_n::OnMyMobDead";
end;
-Onkill:
+OnKill:
killmonster "bat_a01","OBJ#bat_a01_n::OnMyMobDead";
end;
@@ -264,13 +266,13 @@ OnMyMobDead:
bat_a01,15,21,3 script NOBJ_mob#bat_a01_a 844,{
OnEnable:
- donpcevent "NOBJ_mob#bat_a01_b::Onkill";
+ donpcevent "NOBJ_mob#bat_a01_b::OnKill";
bg_monster $@TierraBG1_id1,"bat_a01",272,204,"Guillaume Camp Guardian",1949,"NOBJ_mob#bat_a01_a::OnMyMobDead";
bg_monster $@TierraBG1_id1,"bat_a01",272,213,"Guillaume Camp Guardian",1949,"NOBJ_mob#bat_a01_a::OnMyMobDead";
bg_monster $@TierraBG1_id1,"bat_a01",273,197,"Guillaume Camp Guardian",1950,"NOBJ_mob#bat_a01_a::OnMyMobDead";
end;
-Onkill:
+OnKill:
killmonster "bat_a01","NOBJ_mob#bat_a01_a::OnMyMobDead";
end;
@@ -280,13 +282,13 @@ OnMyMobDead:
bat_a01,15,22,3 script NOBJ_mob#bat_a01_b 844,{
OnEnable:
- donpcevent "NOBJ_mob#bat_a01_a::Onkill";
+ donpcevent "NOBJ_mob#bat_a01_a::OnKill";
bg_monster $@TierraBG1_id2,"bat_a01",272,204,"Croix Camp Guardian",1949,"NOBJ_mob#bat_a01_a::OnMyMobDead";
bg_monster $@TierraBG1_id2,"bat_a01",272,213,"Croix Camp Guardian",1949,"NOBJ_mob#bat_a01_a::OnMyMobDead";
bg_monster $@TierraBG1_id2,"bat_a01",273,197,"Croix Camp Guardian",1950,"NOBJ_mob#bat_a01_a::OnMyMobDead";
end;
-Onkill:
+OnKill:
killmonster "bat_a01","NOBJ_mob#bat_a01_b::OnMyMobDead";
end;
@@ -481,7 +483,7 @@ OnEnable:
enablenpc "Battle Therapist#a01_a";
end;
-Onstop:
+OnStop:
disablenpc "bat_a01_rp1_a_warp";
disablenpc "Battle Therapist#a01_a";
stopnpctimer;
@@ -531,7 +533,7 @@ OnEnable:
enablenpc "Battle Therapist#a01_b";
end;
-Onstop:
+OnStop:
disablenpc "bat_a01_rp1_b_warp";
disablenpc "Battle Therapist#a01_b";
stopnpctimer;
@@ -871,7 +873,7 @@ OnEnable:
initnpctimer;
end;
-Onstop:
+OnStop:
stopnpctimer;
end;
@@ -905,7 +907,7 @@ OnTimer1825000:
OnTimer1830000:
mapwarp "bat_a01","bat_room",154,150;
- donpcevent "countdown#bat_a01::Onstop";
+ donpcevent "countdown#bat_a01::OnStop";
end;
}
@@ -921,14 +923,14 @@ bat_a01,356,326,3 script Guillaume Camp Soldier#bat_a01_guide 934,{
}
*/
-/*
bat_a01,1,1,3 script Release all#a01 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.")) {
@@ -939,8 +941,7 @@ bat_a01,1,1,3 script Release all#a01 81,{
end;
case 2:
mes "Cancelled.";
+ close;
}
}
}
-*/
-