summaryrefslogtreecommitdiff
path: root/npc/events/nguild/nguild_ev_agit.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/events/nguild/nguild_ev_agit.txt')
-rw-r--r--npc/events/nguild/nguild_ev_agit.txt65
1 files changed, 42 insertions, 23 deletions
diff --git a/npc/events/nguild/nguild_ev_agit.txt b/npc/events/nguild/nguild_ev_agit.txt
index 5461bb975..c94fbc7ea 100644
--- a/npc/events/nguild/nguild_ev_agit.txt
+++ b/npc/events/nguild/nguild_ev_agit.txt
@@ -1,20 +1,40 @@
-//===== Hercules Script ======================================
+//================= Hercules Script =======================================
+//= _ _ _
+//= | | | | | |
+//= | |_| | ___ _ __ ___ _ _| | ___ ___
+//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __|
+//= | | | | __/ | | (__| |_| | | __/\__ \
+//= \_| |_/\___|_| \___|\__,_|_|\___||___/
+//================= License ===============================================
+//= This file is part of Hercules.
+//= http://herc.ws - http://github.com/HerculesWS/Hercules
+//=
+//= Copyright (C) 2012-2015 Hercules Dev Team
+//= Copyright (C) L0ne_W0lf
+//= Copyright (C) Lupus
+//= Copyright (C) kobra_k88
+//=
+//= Hercules is free software: you can redistribute it and/or modify
+//= it under the terms of the GNU General Public License as published by
+//= the Free Software Foundation, either version 3 of the License, or
+//= (at your option) any later version.
+//=
+//= This program is distributed in the hope that it will be useful,
+//= but WITHOUT ANY WARRANTY; without even the implied warranty of
+//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+//= GNU General Public License for more details.
+//=
+//= You should have received a copy of the GNU General Public License
+//= along with this program. If not, see <http://www.gnu.org/licenses/>.
+//=========================================================================
//= War of Emperium - NGuild Wars Events
-//===== By: ==================================================
-//= kobra_k88
-//===== Current Version: =====================================
-//= 1.5
-//===== Description: =========================================
+//================= Description ===========================================
//= Event Triggers for NGuild Wars
-//===== Additional Comments: =================================
-// Based off existing guild scripts. Do not know if it is accurate.[kobra_k88]
-//= 1.3 Added code for abandoning captured castles on /breakguild [Lupus]
-//= 1.4 AGIT Functions added, treasure spawning added. [L0ne_W0lf]
-//= 1.5 Emperium should now properly respawn. [L0ne_W0lf]
-//============================================================
-
+//================= Current Version =======================================
+//= 1.5
+//=========================================================================
-// Function for OnAgitStart =========================================
+//== Function for OnAgitStart ==============================
function script F_AgitStart {
.@map$ = getarg(0);
.@castle$ = getarg(1);
@@ -28,7 +48,7 @@ function script F_AgitStart {
end;
}
-// Function for OnGuildBreak ======================================
+//== Function for OnGuildBreak =============================
function script F_GuildBreak {
.@map$ = getarg(0);
.@castle$ = getarg(1);
@@ -42,7 +62,7 @@ function script F_GuildBreak {
return;
}
-// Function for OnAgitBreak ======================================
+//== Function for OnAgitBreak ==============================
function script F_AgitBreak {
.@map$ = getarg(0);
.@castle$ = getarg(1);
@@ -78,7 +98,7 @@ function script F_AgitBreak {
}
-// Function for OnAgitEnd ======================================
+//== Function for OnAgitEnd ================================
function script F_AgitEnd {
.@map$ = getarg(0);
.@castle$ = getarg(1);
@@ -92,7 +112,7 @@ function script F_AgitEnd {
end;
}
-// Castle 1 ================================================================
+//== Castle 1 ==============================================
nguild_alde,0,0,0 script Agit_N01 -1,{
OnInterIfInitOnce:
donpcevent "::OnRecvCastleN01";
@@ -119,7 +139,7 @@ OnAgitEnd:
end;
}
-// Castle 2 ================================================================
+//== Castle 2 ==============================================
nguild_gef,0,0,0 script Agit_N02 -1,{
OnInterIfInitOnce:
donpcevent "::OnRecvCastleN02";
@@ -146,7 +166,7 @@ OnAgitEnd:
end;
}
-// Castle 3 ================================================================
+//== Castle 3 ==============================================
nguild_pay,0,0,0 script Agit_N03 -1,{
OnInterIfInitOnce:
donpcevent "::OnRecvCastleN03";
@@ -173,7 +193,7 @@ OnAgitEnd:
end;
}
-// Castle 4 ================================================================
+//== Castle 4 ==============================================
nguild_prt,0,0,0 script Agit_N04 -1,{
OnInterIfInitOnce:
donpcevent "::OnRecvCastleN04";
@@ -200,8 +220,7 @@ OnAgitEnd:
end;
}
-// Treasure Spawn Time
-//========================================
+//== Treasure Spawn Time ===================================
- script TreasSpawn -1,{
end;