From f1461b78548b40da499922c9a669a03029726a3b Mon Sep 17 00:00:00 2001 From: Haru Date: Thu, 5 Nov 2015 17:17:58 +0100 Subject: Updated header for libconfig-based databases It now includes a GPL-compliant license/copyright mention Signed-off-by: Haru --- db/re/mob_db.conf | 79 ++++++++++++++++++++++++++++++++++++------------------- 1 file changed, 52 insertions(+), 27 deletions(-) (limited to 'db/re/mob_db.conf') diff --git a/db/re/mob_db.conf b/db/re/mob_db.conf index b7880fa22..23394989c 100644 --- a/db/re/mob_db.conf +++ b/db/re/mob_db.conf @@ -1,15 +1,42 @@ +//================= Hercules Database ===================================== +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2015 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 . +//========================================================================= +//= Mobs Database +//========================================================================= + mob_db: ( -// Mobs Database -// -/****************************************************************************** - ************* Entry structure ************************************************ - ****************************************************************************** +/************************************************************************** + ************* Entry structure ******************************************** + ************************************************************************** { - // =================== Mandatory fields =============================== + // ================ Mandatory fields ============================== Id: ID (int) SpriteName: "SPRITE_NAME" (string) Name: "Mob name" (string) - // =================== Optional fields ================================ + // ================ Optional fields =============================== Lv: level (int, defaults to 1) Hp: health (int, defaults to 1) Sp: mana (int, defaults to 0) @@ -33,21 +60,21 @@ mob_db: ( Race: race (int, defaults to 0) Element: (type, level) Mode: { - CanMove: true/false (bool) - Looter: true/false (bool) - Aggressive: true/false (bool) - Assist: true/false (bool) - CastSensorIdle:true/false (bool) - Boss: true/false (bool) - Plant: true/false (bool) - CanAttack: true/false (bool) - Detector: true/false (bool) - CastSensorChase: true/false (bool) - ChangeChase: true/false (bool) - Angry: true/false (bool) - ChangeTargetMelee: true/false (bool) - ChangeTargetChase: true/false (bool) - TargetWeak: true/false (bool) + CanMove: true/false (bool, defaults to false) + Looter: true/false (bool, defaults to false) + Aggressive: true/false (bool, defaults to false) + Assist: true/false (bool, defaults to false) + CastSensorIdle:true/false (bool, defaults to false) + Boss: true/false (bool, defaults to false) + Plant: true/false (bool, defaults to false) + CanAttack: true/false (bool, defaults to false) + Detector: true/false (bool, defaults to false) + CastSensorChase: true/false (bool, defaults to false) + ChangeChase: true/false (bool, defaults to false) + Angry: true/false (bool, defaults to false) + ChangeTargetMelee: true/false (bool, defaults to false) + ChangeTargetChase: true/false (bool, defaults to false) + TargetWeak: true/false (bool, defaults to false) } MoveSpeed: move speed (int, defaults to 0) AttackDelay: attack delay (int, defaults to 4000) @@ -56,16 +83,14 @@ mob_db: ( MvpExp: mvp experience (int, defaults to 0) MvpDrops: { AegisName: chance (string: int) - ... + // ... } Drops: { AegisName: chance (string: int) - ... + // ... } - }, -******************************************************************************/ - +**************************************************************************/ { Id: 1001 -- cgit v1.2.3-60-g2f50