diff options
Diffstat (limited to 'npc/woe-fe/agit_main.txt')
-rw-r--r-- | npc/woe-fe/agit_main.txt | 100 |
1 files changed, 49 insertions, 51 deletions
diff --git a/npc/woe-fe/agit_main.txt b/npc/woe-fe/agit_main.txt index 36fb453fa..4eeeddf9d 100644 --- a/npc/woe-fe/agit_main.txt +++ b/npc/woe-fe/agit_main.txt @@ -1,21 +1,45 @@ -//===== 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) Joseph +//= Copyright (C) Euphy +//= Copyright (C) Masao +//= Copyright (C) Brian +//= Copyright (C) L0ne_W0lf +//= +//= 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 Guild Template File -//===== By: ================================================== -//= L0ne_W0lf -//===== Current Version: ===================================== -//= 2.0 -//===== Description: ========================================= -//= [ Aegis Conversion] -//= ---------------------------------------------------------- +//================= Description =========================================== //= - THIS FILE IS REQUIRED FOR GUILD CASTLES TO FUNCTION. -//= ---------------------------------------------------------- +//= //= - Enables AGIT Manager inside Guild Strongholds. //= Visible Name required: Agit //= Manages the various functions used in and out of WoE. //= -//= - Enables Stewards inside Guild Strongholds which let's -//= the guild master invest in Defense and Economy, and -//= to summon guardians, a Kafra, and enter master's room. +//= - Enables Stewards inside Guild Strongholds which lets the guild master +//= invest in Defense and Economy, and to summon guardians, a Kafra, and +//= enter master's room. //= //= - Guardian Spawning Template //= Visible Name required: Guardian @@ -27,34 +51,13 @@ //= //= - Treasure Chest spawning. //= Chests will NOT be saved anymore in the event of crashes. -//= Treasures will NOT spawn on a location that already has -//= treasure chest spawned. -//===== Additional Comments: ================================= -//= 1.0 First Version. No longer uses functions. [L0ne_W0lf] -//= 1.1 Daily investment will now be reset. [L0ne_W0lf] -//= Template will no longer try to spawn chests. -//= 1.2 Fixed Eco Invest option charging twice. [L0ne_W0lf] -//= 1.3 Fixed a loading flag emblem for Payon 1. [L0ne_W0lf] -//= Fixed two typos regarding Guild Steward name. -//= 1.4 Fixed a typo in defense investment. [L0ne_W0lf] -//= 1.5 Fixed spawn point of the emperium in Payon 1. [L0ne_W0lf] -//= Double-investing doubles the price now. -//= 1.6 Corrected Zeny check when summoning guardians. [L0ne_W0lf] -//= Corrected cost for investing, thanks to Ai4rei. -//= Second invest is now quadruple the value of the first -//= Investing now happens at the turn of the day. -//= 1.6a Corrected conditions in the new investing blocks. [L0ne_W0lf] -//= 1.6b Moved where investments are added to eco/def. [L0ne_W0lf] -//= 1.7 Updated Agitbreak announcements, added bc_woe [L0ne_W0lf] -//= and added extended announcement format for mapannounce. -//= 1.8 Fixed a possible exploit in guild castle investment. [Brian] -//= 1.9 Partially rewrote Script. [Masao] -//= 1.9a Fixed incorrect setcastledata parameter. [Euphy] -//= 2.0 Fixed an issue where Castle Manager couldn't be fired. [Joseph] -//============================================================ +//= Treasures will NOT spawn on a location that already has treasure +//= chest spawned. +//================= Current Version ======================================= +//= 2.0 +//========================================================================= -// WoE : Main Functions -//============================================================ +//== WoE : Main Functions ================================== - script Gld_Agit_Manager::Gld_Agit_Manager -1,{ end; @@ -312,8 +315,7 @@ OnRecvCastle: end; } -// WoE : Guild Kafras -//============================================================ +//== WoE : Guild Kafras ==================================== - script Kafra Staff#woe::guildkafra -1,{ .@GID = getcastledata(strnpcinfo(2),1); @@ -461,8 +463,7 @@ OnRecvCastle: end; } -// WoE : Castle Managers -//============================================================ +//== WoE : Castle Managers ================================= - script Castle Manager#cm::cm -1,{ .@GID = getcastledata(strnpcinfo(2),1); @@ -913,8 +914,7 @@ OnRecvCastle: } } -// WoE : Guild Dungeon Entrances -//============================================================ +//== WoE : Guild Dungeon Entrances ========================= - script Lever#gd::gdlever -1,{ .@GID = getcastledata(strnpcinfo(2),1); @@ -981,12 +981,11 @@ OnRecvCastle: close; } -// Guardian Spawner Template -//============================================================ +//== Guardian Spawner Template ============================= - script Gld_Guard_Template::Gld_Guard_Template -1,{ // Spawn Guardians in castles -// When adding new castles, ensure that the coordinates coincide -// with the coordinates defined in the Guild Steward template. +// When adding new castles, ensure that the coordinates coincide with the +// coordinates defined in the Guild Steward template. OnSpawnGuardians: // Define the types of guardians on a per castle basis. // 1 - Soldier Guardian; 2 - Archer Guardian; 3 - Knight Guardian @@ -1122,8 +1121,7 @@ OnGuardianDied: end; } -// Treasure Room Spawn Template -//============================================================ +//== Treasure Room Spawn Template ========================== - script Gld_Trea_Spawn::Gld_Trea_Spawn -1,{ end; |