From 47fc4c503ceb5591ce27909ab9e4935a197b2ec0 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 9 Jun 2018 15:42:20 -0300 Subject: Ship Zone --- db/re/map_zone_db.conf | 24 ++++++++++++++++++++++++ npc/002-5/mapflags.txt | 2 +- npc/016-6/mapflags.txt | 2 +- 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 @@ -137,6 +137,30 @@ zones: ( skill_damage_cap: { } }, +{ + /* 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) */ 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 -- cgit v1.2.3-60-g2f50