summaryrefslogtreecommitdiff
path: root/npc/pre-re
diff options
context:
space:
mode:
authorAtlantisRO <atlas@atlantis-ro.net>2017-03-13 00:59:38 -0700
committerAtlantisRO <atlas@atlantis-ro.net>2017-03-13 02:31:07 -0700
commit302c0a6925cb30f200d266e7c213cc8bbb12ba7b (patch)
treeb52b75d4a5650d1b0319cb69a069ce45e9021e12 /npc/pre-re
parentd0568eefba012ec1339f474154a5f239d08f4b41 (diff)
downloadhercules-302c0a6925cb30f200d266e7c213cc8bbb12ba7b.tar.gz
hercules-302c0a6925cb30f200d266e7c213cc8bbb12ba7b.tar.bz2
hercules-302c0a6925cb30f200d266e7c213cc8bbb12ba7b.tar.xz
hercules-302c0a6925cb30f200d266e7c213cc8bbb12ba7b.zip
Fixes #1625. Fixes checks on Guild Dungeon Investment and separates Guild Dungeon mapflags for pre-renwal and renewal.
Signed-off-by: Ragno <ragno@atlantis-ro.net>
Diffstat (limited to 'npc/pre-re')
-rw-r--r--npc/pre-re/mapflag/gvg.txt41
-rw-r--r--npc/pre-re/scripts_main.conf1
-rw-r--r--npc/pre-re/scripts_mapflags.conf30
3 files changed, 72 insertions, 0 deletions
diff --git a/npc/pre-re/mapflag/gvg.txt b/npc/pre-re/mapflag/gvg.txt
new file mode 100644
index 000000000..39be0ee7b
--- /dev/null
+++ b/npc/pre-re/mapflag/gvg.txt
@@ -0,0 +1,41 @@
+//================= Hercules Script =======================================
+//= _ _ _
+//= | | | | | |
+//= | |_| | ___ _ __ ___ _ _| | ___ ___
+//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __|
+//= | | | | __/ | | (__| |_| | | __/\__ \
+//= \_| |_/\___|_| \___|\__,_|_|\___||___/
+//================= License ===============================================
+//= This file is part of Hercules.
+//= http://herc.ws - http://github.com/HerculesWS/Hercules
+//=
+//= Copyright (C) 2017 Hercules Dev Team
+//=
+//= 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/>.
+//=========================================================================
+//= Mapflag: Guild versus Guild mode.
+//================= Current Version =======================================
+//= 1.0
+//================= Description ===========================================
+//= Players can attack other guilds, and will have their guild
+//= icons shown. WoE damage reductions will also take place.
+//= gvg: Turns on GvG mode
+//= gvg_castle: Describes castle maps for WoE.
+//=========================================================================
+
+// Guild Dungeons =========
+gld_dun01 mapflag gvg_dungeon
+gld_dun02 mapflag gvg_dungeon
+gld_dun03 mapflag gvg_dungeon
+gld_dun04 mapflag gvg_dungeon
diff --git a/npc/pre-re/scripts_main.conf b/npc/pre-re/scripts_main.conf
index 9381497ec..dda475310 100644
--- a/npc/pre-re/scripts_main.conf
+++ b/npc/pre-re/scripts_main.conf
@@ -62,6 +62,7 @@ npc_global_list: (
//- Pre-Renewal Script Files -
@include "npc/pre-re/scripts.conf"
@include "npc/pre-re/scripts_jobs.conf"
+@include "npc/pre-re/scripts_mapflags.conf"
@include "npc/pre-re/scripts_monsters.conf"
@include "npc/pre-re/scripts_warps.conf"
diff --git a/npc/pre-re/scripts_mapflags.conf b/npc/pre-re/scripts_mapflags.conf
new file mode 100644
index 000000000..03c798aa6
--- /dev/null
+++ b/npc/pre-re/scripts_mapflags.conf
@@ -0,0 +1,30 @@
+//================= Hercules Configuration ================================
+//= _ _ _
+//= | | | | | |
+//= | |_| | ___ _ __ ___ _ _| | ___ ___
+//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __|
+//= | | | | __/ | | (__| |_| | | __/\__ \
+//= \_| |_/\___|_| \___|\__,_|_|\___||___/
+//================= License ===============================================
+//= This file is part of Hercules.
+//= http://herc.ws - http://github.com/HerculesWS/Hercules
+//=
+//= Copyright (C) 2017 Hercules Dev Team
+//=
+//= 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/>.
+//=========================================================================
+//= Map Flags
+//=========================================================================
+
+"npc/pre-re/mapflag/gvg.txt",