summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-09 15:42:20 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-09 15:42:20 -0300
commit47fc4c503ceb5591ce27909ab9e4935a197b2ec0 (patch)
tree6cb5217f8d4f18731bd2b048065c42e95ce22904
parentd3f1c302c1d9870f6f6917f3b8293a7f5179812a (diff)
downloadserverdata-47fc4c503ceb5591ce27909ab9e4935a197b2ec0.tar.gz
serverdata-47fc4c503ceb5591ce27909ab9e4935a197b2ec0.tar.bz2
serverdata-47fc4c503ceb5591ce27909ab9e4935a197b2ec0.tar.xz
serverdata-47fc4c503ceb5591ce27909ab9e4935a197b2ec0.zip
Ship Zone
-rw-r--r--db/re/map_zone_db.conf24
-rw-r--r--npc/002-5/mapflags.txt2
-rw-r--r--npc/016-6/mapflags.txt2
3 files changed, 26 insertions, 2 deletions
diff --git a/db/re/map_zone_db.conf b/db/re/map_zone_db.conf
index 60956448e..a413962a6 100644
--- a/db/re/map_zone_db.conf
+++ b/db/re/map_zone_db.conf
@@ -138,6 +138,30 @@ zones: (
}
},
{
+ /* Ship Zone disables some skills */
+ name: "ship"
+
+ disabled_skills: {
+ MG_FIREBALL: "ALL"
+ SN_SHARPSHOOTER: "ALL"
+ SM_BASH: "ALL"
+ }
+
+ disabled_items: {
+ }
+
+ mapflags: (
+ "nosave 000-1,22,22",
+ )
+
+ /* "command:min-group-lv-to-override" e.g. "heal: 70" */
+ disabled_commands: {
+ }
+ skill_damage_cap: {
+ }
+},
+
+{
/* Normal zone is applied to all maps that are not pkable (where players cant fight each other) */
/* However, it wont be applied to maps with its own zones (specified thru mapflag) */
name: "Normal" /* changing this name requires MAP_ZONE_NORMAL_NAME to also be changed in src/map/map.h file */
diff --git a/npc/002-5/mapflags.txt b/npc/002-5/mapflags.txt
index 59d8d2222..889a0d231 100644
--- a/npc/002-5/mapflags.txt
+++ b/npc/002-5/mapflags.txt
@@ -1 +1 @@
-002-5 mapflag nosave 000-1,22,22
+002-5 mapflag zone ship
diff --git a/npc/016-6/mapflags.txt b/npc/016-6/mapflags.txt
index 59d8d2222..27a1ef2a8 100644
--- a/npc/016-6/mapflags.txt
+++ b/npc/016-6/mapflags.txt
@@ -1 +1 @@
-002-5 mapflag nosave 000-1,22,22
+016-6 mapflag zone ship