summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-08-19 20:26:11 +0300
committerAndrei Karas <akaras@inbox.ru>2019-08-19 20:26:11 +0300
commitef270abaf2dd76357ae75c7f6101002f4377e74f (patch)
tree45759b347eaa74c1391418ded0f28c5c17232f07 /db
parenta0c8bd0d66ad11095d27a2df6cd9eec0dee8a1c9 (diff)
downloadserverdata-ef270abaf2dd76357ae75c7f6101002f4377e74f.tar.gz
serverdata-ef270abaf2dd76357ae75c7f6101002f4377e74f.tar.bz2
serverdata-ef270abaf2dd76357ae75c7f6101002f4377e74f.tar.xz
serverdata-ef270abaf2dd76357ae75c7f6101002f4377e74f.zip
Update from hercules
Diffstat (limited to 'db')
-rw-r--r--db/castle_db.conf44
-rw-r--r--db/castle_db.txt13
-rw-r--r--db/constants.conf47
-rw-r--r--db/mob_db2.conf2
-rw-r--r--db/re/mob_db.conf1
5 files changed, 70 insertions, 37 deletions
diff --git a/db/castle_db.conf b/db/castle_db.conf
new file mode 100644
index 00000000..fe4d07fe
--- /dev/null
+++ b/db/castle_db.conf
@@ -0,0 +1,44 @@
+//================= Hercules Database =====================================
+//= _ _ _
+//= | | | | | |
+//= | |_| | ___ _ __ ___ _ _| | ___ ___
+//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __|
+//= | | | | __/ | | (__| |_| | | __/\__ \
+//= \_| |_/\___|_| \___|\__,_|_|\___||___/
+//================= License ===============================================
+//= This file is part of Hercules.
+//= http://herc.ws - http://github.com/HerculesWS/Hercules
+//=
+//= Copyright (C) 2019 Hercules Dev Team
+//= Copyright (C) 2019 Asheraf
+//=
+//= 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/>.
+//=========================================================================
+//= Castle Database
+//=========================================================================
+
+castle_db: (
+/**************************************************************************
+ ************* Entry structure ********************************************
+ **************************************************************************
+{
+ // ================ Mandatory fields ==============================
+ CastleID: (int) Unique ID of the castle. Must remain unique across all map-servers.
+ MapName: (string) Map name to be considered as the castle map.
+ CastleName: (string) Name of the castle (used by scripts and guardian name tags)
+ OnGuildBreakEventName: (string) NPC unique name to invoke ::OnGuildBreak on, when a occupied
+ castle is abandoned during guild break.
+},
+**************************************************************************/
+)
diff --git a/db/castle_db.txt b/db/castle_db.txt
deleted file mode 100644
index 89b00eee..00000000
--- a/db/castle_db.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-// Guild Castles Database
-//
-// Structure of Database:
-// CastleID,MapName,CastleName,OnGuildBreakEventName,Flag
-//
-// 01. CastleID Unique ID of the castle. Must remain unique across all map-servers.
-// 02. MapName Map name to be considered as the castle map.
-// 03. CastleName Name of the castle (used by scripts and guardian name tags).
-// 04. OnGuildBreakEventName NPC unique name to invoke ::OnGuildBreak on, when a occupied
-// castle is abandoned during guild break.
-// 05. Flag Switch flag (reserved as of athena-dev mod0796~0801, not used by server).
-
-
diff --git a/db/constants.conf b/db/constants.conf
index 51b8d9ae..2c6c4429 100644
--- a/db/constants.conf
+++ b/db/constants.conf
@@ -1426,29 +1426,30 @@ constants_db: {
}
comment__: "getmonsterinfo"
- MOB_NAME: 0
- MOB_LV: 1
- MOB_MAXHP: 2
- MOB_BASEEXP: 3
- MOB_JOBEXP: 4
- MOB_ATK1: 5
- MOB_ATK2: 6
- MOB_DEF: 7
- MOB_MDEF: 8
- MOB_STR: 9
- MOB_AGI: 10
- MOB_VIT: 11
- MOB_INT: 12
- MOB_DEX: 13
- MOB_LUK: 14
- MOB_RANGE: 15
- MOB_RANGE2: 16
- MOB_RANGE3: 17
- MOB_SIZE: 18
- MOB_RACE: 19
- MOB_ELEMENT: 20
- MOB_MODE: 21
- MOB_MVPEXP: 22
+ MOB_NAME: 0
+ MOB_LV: 1
+ MOB_MAXHP: 2
+ MOB_BASEEXP: 3
+ MOB_JOBEXP: 4
+ MOB_ATK1: 5
+ MOB_ATK2: 6
+ MOB_DEF: 7
+ MOB_MDEF: 8
+ MOB_STR: 9
+ MOB_AGI: 10
+ MOB_VIT: 11
+ MOB_INT: 12
+ MOB_DEX: 13
+ MOB_LUK: 14
+ MOB_RANGE: 15
+ MOB_RANGE2: 16
+ MOB_RANGE3: 17
+ MOB_SIZE: 18
+ MOB_RACE: 19
+ MOB_ELEMENT: 20
+ MOB_MODE: 21
+ MOB_MVPEXP: 22
+ MOB_DMG_TAKEN_RATE: 23
comment__: "mercenary guilds"
ARCH_MERC_GUILD: 0
diff --git a/db/mob_db2.conf b/db/mob_db2.conf
index 4f6141aa..e21cc2a2 100644
--- a/db/mob_db2.conf
+++ b/db/mob_db2.conf
@@ -65,7 +65,7 @@ mob_db: (
AegisName: (chance, "Option Drop Group")
// ...
}
-
+ DamageTakenRate: damage taken rate (int, defaults to 100)
},
******************************************************************************/
diff --git a/db/re/mob_db.conf b/db/re/mob_db.conf
index 420f8489..e6d6b56a 100644
--- a/db/re/mob_db.conf
+++ b/db/re/mob_db.conf
@@ -99,6 +99,7 @@ mob_db: (
AegisName: (chance, "Option Drop Group")
// ...
}
+ DamageTakenRate: damage taken rate (int, defaults to 100)
WeaponAttacks: {
WeaponType: 10000
}