diff options
Diffstat (limited to 'db')
-rw-r--r-- | db/cashshop_db.conf | 26 | ||||
-rw-r--r-- | db/item_db2.conf | 45 | ||||
-rw-r--r-- | db/mob_db2.conf | 78 | ||||
-rw-r--r-- | db/pre-re/item_chain.conf | 39 | ||||
-rw-r--r-- | db/pre-re/item_db.conf | 43 | ||||
-rw-r--r-- | db/pre-re/item_group.conf | 39 | ||||
-rw-r--r-- | db/pre-re/item_packages.conf | 46 | ||||
-rw-r--r-- | db/pre-re/job_db.conf | 96 | ||||
-rw-r--r-- | db/pre-re/map_zone_db.conf | 42 | ||||
-rw-r--r-- | db/pre-re/mob_db.conf | 79 | ||||
-rw-r--r-- | db/pre-re/refine_db.conf | 65 | ||||
-rw-r--r-- | db/pre-re/skill_tree.conf | 32 | ||||
-rw-r--r-- | db/quest_db.conf | 64 | ||||
-rw-r--r-- | db/re/item_chain.conf | 39 | ||||
-rw-r--r-- | db/re/item_db.conf | 43 | ||||
-rw-r--r-- | db/re/item_group.conf | 39 | ||||
-rw-r--r-- | db/re/item_packages.conf | 46 | ||||
-rw-r--r-- | db/re/job_db.conf | 97 | ||||
-rw-r--r-- | db/re/map_zone_db.conf | 42 | ||||
-rw-r--r-- | db/re/mob_db.conf | 79 | ||||
-rw-r--r-- | db/re/refine_db.conf | 67 | ||||
-rw-r--r-- | db/re/skill_tree.conf | 32 | ||||
-rw-r--r-- | db/roulette_db.conf | 26 | ||||
-rw-r--r-- | db/translations.conf | 26 |
24 files changed, 865 insertions, 365 deletions
diff --git a/db/cashshop_db.conf b/db/cashshop_db.conf index e610a5aa3..c92eeface 100644 --- a/db/cashshop_db.conf +++ b/db/cashshop_db.conf @@ -1,15 +1,31 @@ -//==================================================== +//================= Hercules Database ===================================== //= _ _ _ //= | | | | | | //= | |_| | ___ _ __ ___ _ _| | ___ ___ //= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| //= | | | | __/ | | (__| |_| | | __/\__ \ //= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules //= -//= http://herc.ws/board/ -//================= More Information ================= +//= Copyright (C) 2013-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 <http://www.gnu.org/licenses/>. +//================= More Information ====================================== //= http://herc.ws/board/topic/367-introducing-cash-shop-support/ -//==================================================== +//================= Description =========================================== // This file handles the entire Cashshop. You can simply // add in any amount of items you like within each category. // Please keep in mind that the Cashshop does not work @@ -18,7 +34,7 @@ // present, their names must be kept as cat_<n>, where // <n> is a valid tab index, as descripbed in 'enum // CASH_SHOP_TABS' in clif.c (normally 0 through 7) -//==================================================== +//========================================================================= cash_shop: ( { diff --git a/db/item_db2.conf b/db/item_db2.conf index ec60d9b2d..e1fafa9fd 100644 --- a/db/item_db2.conf +++ b/db/item_db2.conf @@ -1,15 +1,42 @@ +//================= Hercules Database ===================================== +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2014-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 <http://www.gnu.org/licenses/>. +//========================================================================= +//= Items Additional Database +//========================================================================= + item_db: ( -// Items Additional Database -// -/****************************************************************************** - ************* Entry structure ************************************************ - ****************************************************************************** +/************************************************************************** + ************* Entry structure ******************************************** + ************************************************************************** { - // =================== Mandatory fields =============================== + // ================ Mandatory fields ============================== Id: ID (int) AegisName: "Aegis_Name" (string, optional if Inherit: true) Name: "Item Name" (string, optional if Inherit: true) - // =================== Optional fields ================================ + // ================ Optional fields =============================== Type: Item Type (int, defaults to 3 = etc item) Buy: Buy Price (int, defaults to Sell * 2) Sell: Sell Price (int, defaults to Buy / 2) @@ -57,12 +84,12 @@ item_db: ( "> OnEquipScript: <" OnEquip Script (can also be multi-line) "> OnUnequipScript: <" OnUnequip Script (can also be multi-line) "> - // =================== Optional fields (item_db2 only) ================ + // ================ Optional fields (item_db2 only) =============== Inherit: true/false (boolean, if true, inherit the values that weren't specified, from item_db.conf, else override it and use default values) }, -******************************************************************************/ +**************************************************************************/ // THQ Quest Items // ============================================================= diff --git a/db/mob_db2.conf b/db/mob_db2.conf index c48bbc090..e05096524 100644 --- a/db/mob_db2.conf +++ b/db/mob_db2.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 <http://www.gnu.org/licenses/>. +//========================================================================= +//= 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,15 +83,14 @@ mob_db: ( MvpExp: mvp experience (int, defaults to 0) MvpDrops: { AegisName: chance (string: int) - ... + // ... } Drops: { AegisName: chance (string: int) - ... + // ... } - }, -******************************************************************************/ +**************************************************************************/ // Athena Dev Team /*{ diff --git a/db/pre-re/item_chain.conf b/db/pre-re/item_chain.conf index 57eaef05e..892686271 100644 --- a/db/pre-re/item_chain.conf +++ b/db/pre-re/item_chain.conf @@ -1,21 +1,40 @@ -//==================================================== +//================= Hercules Database ===================================== //= _ _ _ //= | | | | | | //= | |_| | ___ _ __ ___ _ _| | ___ ___ //= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| //= | | | | __/ | | (__| |_| | | __/\__ \ //= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules //= -//= http://herc.ws/board/ -//================= More Information ================= +//= Copyright (C) 2013-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 <http://www.gnu.org/licenses/>. +//================= More Information ====================================== // http://herc.ws/board/topic/1244-official-item-grouppackagechain -//==================================================== -// Structure of file: -/* - ITMCHAIN_<Name>: { - <Item_Name>: <chance> - } -*/ +//========================================================================= + +/************************************************************************** + ************* Entry structure ******************************************** + ************************************************************************** +ITMCHAIN_<Name>: { + <Item_Name>: <chance> + // ... +} +**************************************************************************/ ITMCHAIN_ORE: { Iron_Ore: 600 diff --git a/db/pre-re/item_db.conf b/db/pre-re/item_db.conf index c9bdb2b82..cc8aa14c2 100644 --- a/db/pre-re/item_db.conf +++ b/db/pre-re/item_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) 2014-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 <http://www.gnu.org/licenses/>. +//========================================================================= +//= Items Database +//========================================================================= + item_db: ( -// Items Database -// -/****************************************************************************** - ************* Entry structure ************************************************ - ****************************************************************************** +/************************************************************************** + ************* Entry structure ******************************************** + ************************************************************************** { - // =================== Mandatory fields =============================== + // ================ Mandatory fields ============================== Id: ID (int) AegisName: "Aegis_Name" (string) Name: "Item Name" (string) - // =================== Optional fields ================================ + // ================ Optional fields =============================== Type: Item Type (int, defaults to 3 = etc item) Buy: Buy Price (int, defaults to Sell * 2) Sell: Sell Price (int, defaults to Buy / 2) @@ -58,7 +85,7 @@ item_db: ( OnEquipScript: <" OnEquip Script (can also be multi-line) "> OnUnequipScript: <" OnUnequip Script (can also be multi-line) "> }, -******************************************************************************/ +**************************************************************************/ // Healing Items // ============================================================= diff --git a/db/pre-re/item_group.conf b/db/pre-re/item_group.conf index 54d71d1c8..c2222552c 100644 --- a/db/pre-re/item_group.conf +++ b/db/pre-re/item_group.conf @@ -1,22 +1,41 @@ -//==================================================== +//================= Hercules Database ===================================== //= _ _ _ //= | | | | | | //= | |_| | ___ _ __ ___ _ _| | ___ ___ //= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| //= | | | | __/ | | (__| |_| | | __/\__ \ //= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules //= -//= http://herc.ws/board/ -//================= More Information ================= +//= Copyright (C) 2013-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 <http://www.gnu.org/licenses/>. +//================= More Information ====================================== // http://herc.ws/board/topic/1244-official-item-grouppackagechain -//==================================================== -// Structure of file: -/* - <Container_Item_Name>: ( - "Item_Name" or - ("Item_Name",Repeat_Count) +//========================================================================= + +/************************************************************************** + ************* Entry structure ******************************************** + ************************************************************************** +<Container_Item_Name>: ( + "Item_Name", // or + ("Item_Name", Repeat_Count), + // ... ) -*/ +**************************************************************************/ Old_Card_Album: ( ("Poring_Card",9), diff --git a/db/pre-re/item_packages.conf b/db/pre-re/item_packages.conf index 2a7df83ab..3c952e258 100644 --- a/db/pre-re/item_packages.conf +++ b/db/pre-re/item_packages.conf @@ -1,28 +1,46 @@ -//==================================================== +//================= Hercules Database ===================================== //= _ _ _ //= | | | | | | //= | |_| | ___ _ __ ___ _ _| | ___ ___ //= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| //= | | | | __/ | | (__| |_| | | __/\__ \ //= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules //= -//= http://herc.ws/board/ -//================= More Information ================= +//= Copyright (C) 2013-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 <http://www.gnu.org/licenses/>. +//================= More Information ====================================== // http://herc.ws/board/topic/1244-official-item-grouppackagechain -//==================================================== -// Structure of file: -/* +//========================================================================= + +/************************************************************************** + ************* Entry structure ******************************************** + ************************************************************************** <Container_Item_Name>: { - <Entry_Item_Name>: { - Random: 0 - Signs what group type this item belongs to, 0 is "Must", a group of items that come out whenever the package is open (doesn't use rate), anything above 0 is considered "random_group_<value>", a package with 2 random groups for example gets 2 items whenever open, one from each group - Count: 30 - Stands for how much <Entry_Item_Name> will be obtained. - Expire: 2 - Signs how many hours this item will last (makes a rental item). - Announce: True/False - Signs whether to relay a special item obtain announcement when this item comes out of the package. - Rate: 50 - If 'Random' is not 0, a rate from 1 to 10000 (0.01% - 100%) will be given. - Named: True/False - Signs whether the item should have the owner's name in it. + <Entry_Item_Name>: { + Random: 0 // Signs what group type this item belongs to, 0 is "Must", a group of items that come out whenever the package is open (doesn't use rate), anything above 0 is considered "random_group_<value>", a package with 2 random groups for example gets 2 items whenever open, one from each group + Count: 30 // Stands for how much <Entry_Item_Name> will be obtained. + Expire: 2 // Signs how many hours this item will last (makes a rental item). + Announce: True/False // Signs whether to relay a special item obtain announcement when this item comes out of the package. + Rate: 50 // If 'Random' is not 0, a rate from 1 to 10000 (0.01% - 100%) will be given. + Named: True/False // Signs whether the item should have the owner's name in it. } } -*/ +**************************************************************************/ Special_Box: { Wrapped_Mask: { diff --git a/db/pre-re/job_db.conf b/db/pre-re/job_db.conf index 52db40eff..1c8e4ca60 100644 --- a/db/pre-re/job_db.conf +++ b/db/pre-re/job_db.conf @@ -1,54 +1,72 @@ -//==================================================== +//================= Hercules Database ===================================== //= _ _ _ //= | | | | | | //= | |_| | ___ _ __ ___ _ _| | ___ ___ //= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| //= | | | | __/ | | (__| |_| | | __/\__ \ //= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules //= -//= http://herc.ws/board/ -//================= More Information ================= -// http://hercs.ws/board/topic/9082-job-db1txt-redesign/ -//============== pRE Structure Example =============== -/* +//= 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 <http://www.gnu.org/licenses/>. +//================= More Information ====================================== +// http://herc.ws/board/topic/9082-job-db1txt-redesign/ +//========================================================================= + +/************************************************************************** + ************* Entry structure ******************************************** + ************************************************************************** Job_Name: { // Job names as in src/map/pc.c (they are hardcoded at the moment so if you want to add a new job you should add it there) - Inherit: ( "Other_Job_Name" ); // Base job from which this job will inherit its max weight, base ASPD set and HP/SP table. - InheritHP: ( "Other_Job_Name" );// Base job from which this job will inherit its HP table. - InheritSP: ( "Other_Job_Name" );// Base job from which this job will inherit its SP table. - Weight: Max Weight (int, defaults to 20000, units in Weight/10) - BaseASPD: { // Base ASPD for specific weapon type - Fist: 0~2000 (int, defaults to 2000) - Dagger: 0~2000 (int, defaults to 2000) - Sword: 0~2000 (int, defaults to 2000) - TwoHandSword: 0~2000 (int, defaults to 2000) - Spear: 0~2000 (int, defaults to 2000) - TwoHandSpear: 0~2000 (int, defaults to 2000) - Axe: 0~2000 (int, defaults to 2000) - TwoHandAxe: 0~2000 (int, defaults to 2000) - Mace: 0~2000 (int, defaults to 2000) - TwoHandMace: 0~2000 (int, defaults to 2000) - Rod: 0~2000 (int, defaults to 2000) - Bow: 0~2000 (int, defaults to 2000) - Knuckle: 0~2000 (int, defaults to 2000) - Instrumen: 0~2000 (int, defaults to 2000) - Whip: 0~2000 (int, defaults to 2000) - Book: 0~2000 (int, defaults to 2000) - Katar: 0~2000 (int, defaults to 2000) - Revolver: 0~2000 (int, defaults to 2000) - Rifle: 0~2000 (int, defaults to 2000) - GatlingGun: 0~2000 (int, defaults to 2000) - Shotgun: 0~200 0 (int, defaults to 2000) - GrenadeLauncher: 0~2000 (int, defaults to 2000) - FuumaShuriken: 0~2000 (int, defaults to 2000) - TwoHandRod: 0~2000 (int, defaults to 2000) + Inherit: ("Other_Job_Name") // Base job from which this job will inherit its max weight, base ASPD set and HP/SP table. + InheritHP: ("Other_Job_Name") // Base job from which this job will inherit its HP table (if different). + InheritSP: ("Other_Job_Name") // Base job from which this job will inherit its SP table (if different). + Weight: Max Weight (int, defaults to 20000, units in Weight/10) + BaseASPD: { // Base ASPD for specific weapon type (optional) + Fist: 0~2000 (int, defaults to 2000) + Dagger: 0~2000 (int, defaults to 2000) + Sword: 0~2000 (int, defaults to 2000) + TwoHandSword: 0~2000 (int, defaults to 2000) + Spear: 0~2000 (int, defaults to 2000) + TwoHandSpear: 0~2000 (int, defaults to 2000) + Axe: 0~2000 (int, defaults to 2000) + TwoHandAxe: 0~2000 (int, defaults to 2000) + Mace: 0~2000 (int, defaults to 2000) + TwoHandMace: 0~2000 (int, defaults to 2000) + Rod: 0~2000 (int, defaults to 2000) + Bow: 0~2000 (int, defaults to 2000) + Knuckle: 0~2000 (int, defaults to 2000) + Instrumen: 0~2000 (int, defaults to 2000) + Whip: 0~2000 (int, defaults to 2000) + Book: 0~2000 (int, defaults to 2000) + Katar: 0~2000 (int, defaults to 2000) + Revolver: 0~2000 (int, defaults to 2000) + Rifle: 0~2000 (int, defaults to 2000) + GatlingGun: 0~2000 (int, defaults to 2000) + Shotgun: 0~2000 (int, defaults to 2000) + GrenadeLauncher: 0~2000 (int, defaults to 2000) + FuumaShuriken: 0~2000 (int, defaults to 2000) + TwoHandRod: 0~2000 (int, defaults to 2000) } - HPTable:[ 1, .... 150 ] (int[]) Reference table for base HP per level - SPTable:[ 1, .... 150 ] (int[]) Reference table for base SP per level + HPTable:[1, .... 150] (int array) // Reference table for base HP per level + SPTable:[1, .... 150] (int array) // Reference table for base SP per level // Note: If table index size is smaller than the max level the server will automatically generate the missing index based on the average increase per level. } -*/ +**************************************************************************/ -//==================================================== Novice: { BaseASPD: { Fist: 500 diff --git a/db/pre-re/map_zone_db.conf b/db/pre-re/map_zone_db.conf index 11559512d..0a02e9240 100644 --- a/db/pre-re/map_zone_db.conf +++ b/db/pre-re/map_zone_db.conf @@ -1,28 +1,44 @@ -//==================================================== +//================= Hercules Database ===================================== //= _ _ _ //= | | | | | | //= | |_| | ___ _ __ ___ _ _| | ___ ___ //= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| //= | | | | __/ | | (__| |_| | | __/\__ \ //= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules //= -//= http://herc.ws/board/ -//==================================================== -//= Hercules Map Zone Database [Ind/Hercules] -//================ More Information ================== +//= Copyright (C) 2013-2015 Hercules Dev Team +//= Copyright (C) 2013 Ind +//= +//= 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/>. +//========================================================================= +//= Hercules Map Zone Database +//================= More Information ====================================== //= http://herc.ws/board/topic/302-introducing-hercules-map-zone-database/ //= (TODO: replace with wiki link and detail the wiki page in a decent format ^) -//==================================================== -//================ Description ======================= -//= A unlimited number of zones may be created, a zone -//= may be used to create a set of disabled items, disabled skills -//= and mapflags to be used by as many maps as one chooses. -//= Maps can be linked to a specific zone through the zone mapflag +//================= Description =========================================== +//= A unlimited number of zones may be created, a zone may be used to create a +//= set of disabled items, disabled skills and mapflags to be used by as many +//= maps as one chooses. +//= Maps can be linked to a specific zone through the zone mapflag: //= '<map name><tab>mapflag<tab>zone<tab><zone name>'. -//==================================================== +//========================================================================= //= Available types for 'disabled_skills': //= PLAYER, HOMUN, MERCENARY, MONSTER, PET, ELEMENTAL, MOB_BOSS, CLONE, ALL and NONE -//==================================================== +//========================================================================= zones: ( { diff --git a/db/pre-re/mob_db.conf b/db/pre-re/mob_db.conf index 925bdd9fa..26ab0d81f 100644 --- a/db/pre-re/mob_db.conf +++ b/db/pre-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 <http://www.gnu.org/licenses/>. +//========================================================================= +//= 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 diff --git a/db/pre-re/refine_db.conf b/db/pre-re/refine_db.conf index 46f660834..0d59c8faa 100644 --- a/db/pre-re/refine_db.conf +++ b/db/pre-re/refine_db.conf @@ -1,27 +1,52 @@ -/******************************************************************************** - * Pre-Renewal Refine Database * - ******************************************************************************** -Refine Database Structure - +//================= 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 <http://www.gnu.org/licenses/>. +//========================================================================= +//= Pre-Renewal Refine Database +//========================================================================= -Armor/WeaponLevel1~4: { (0 - Armors, 1 - Level 1 Weapons, 2 - Level 2 Weapons, 3 - Level 3 Weapons, 4 - Level 4 Weapons) - - For armors, values of 100 add 1 armor defense. - - For weapons, values of 100 add 1 ATK. - StatsPerLevel: (int) This value is applied for ever level. - RandomBonusStartLevel: (int) This value specifies the start point for those levels that give a random bonus value (usually the first unsafe upgrade). - RandomBonusValue: (int) A random number between 0 and (Random bonus start level - Upgrade level + 1) * this value is applied for all upgrades past. - Random bonus start level. This is only applied for weapons, and not displayed client-side. - Rates: { Per level configuration of the refine rates. - Lv1~10: { Level of refine - Chance: (int) Chance of successful refine (100 = 100% success). - Note: If not mentioned, defaults to 100. - Bonus: (int) Bonus for this level of refine (Optional Field) defaults to 0. - Note: If not mentioned, defaults to 0. - } +/************************************************************************** + ************* Entry structure ******************************************** + ************************************************************************** +Armors/WeaponLevel1~4: { // Specifies weapon level or armor type + - For armors, values of 100 add 1 armor defense. + - For weapons, values of 100 add 1 ATK. + StatsPerLevel: value (int) // This value is applied for ever level. + RandomBonusStartLevel: level (int) // This value specifies the start point for those levels that give a random bonus value (usually the first unsafe upgrade). + RandomBonusValue: value (int) // A random number between 0 and (Random bonus start level - Upgrade level + 1) * this value is applied for all upgrades past. + // Random bonus start level. This is only applied for weapons, and not displayed client-side. + Rates: { // Per level configuration of the refine rates. + Lv1~10: { // Level of refine + Chance: value (int, optional, defaults to 100) // Chance of successful refine (100 = 100%) + Bonus: value (int, optional, defaults to 0) // Bonus for this level of refine + } + // Note: Refine levels that use default values need not be listed. (Example: Lv1: Chance: 100 Bonus: 0) } } +**************************************************************************/ -* -- Refine levels that use default values need not be listed. (Example: Lv1: Chance: 100 Bonus: 0) -******************************************************************************/ Armors: { StatsPerLevel: 66 RandomBonusStartLevel: 0 diff --git a/db/pre-re/skill_tree.conf b/db/pre-re/skill_tree.conf index b5fcd5aca..9f07d9805 100644 --- a/db/pre-re/skill_tree.conf +++ b/db/pre-re/skill_tree.conf @@ -1,16 +1,35 @@ -//==================================================== +//================= Hercules Database ===================================== //= _ _ _ //= | | | | | | //= | |_| | ___ _ __ ___ _ _| | ___ ___ //= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| //= | | | | __/ | | (__| |_| | | __/\__ \ //= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules //= -//= http://herc.ws/board/ -//================= More Information ================= +//= Copyright (C) 2013-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 <http://www.gnu.org/licenses/>. +//================= More Information ====================================== // http://herc.ws/board/topic/1188-skill-tree-db-redesign/ -//================ Structure Example ================= -/* +//========================================================================= + +/************************************************************************** + ************* Entry structure ******************************************** + ************************************************************************** Job_Name: { // Job names as in src/map/pc.c (they are hardcoded at the moment so if you want to add a new job you should add it there) inherit: ( "Other_Job_Name" ); // Base job from which this job will inherit its skill tree. NV_TRICKDEAD inheritance is skipped for non-novices from the source @@ -22,8 +41,7 @@ Job_Name: { // Job names as in src/map/pc.c (they are hardcoded at the moment so SKILL_NAME_PREREQUISITE2: Level_Prerequisite2 // You can add as many prerequisite skills as you want. Minimum of 1 if you add a skill this way } } -*/ -//==================================================== +**************************************************************************/ Novice: { skills: { diff --git a/db/quest_db.conf b/db/quest_db.conf index 221e9f248..ce1520100 100644 --- a/db/quest_db.conf +++ b/db/quest_db.conf @@ -1,30 +1,58 @@ +//================= 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 <http://www.gnu.org/licenses/>. +//========================================================================= +//= Quest Database +//========================================================================= + quest_db: ( -// Quest Database -// -/****************************************************************************** - ************* Entry structure ************************************************ - ****************************************************************************** +/************************************************************************** + ************* Entry structure ******************************************** + ************************************************************************** { - Id: Quest ID [int] - Name: Quest Name [string] - TimeLimit: Time Limit (seconds) [int, optional] - Targets: ( [array, optional] + Id: Quest ID (int) + Name: "Quest Name" (string) + TimeLimit: seconds (int, optional) + Targets: ( (list, optional) { - MobId: Mob ID [int] - Count: [int] + MobId: Mob_ID (int) + Count: number (int) }, - ... (can repeated up to MAX_QUEST_OBJECTIVES times) + // ... (can be repeated up to MAX_QUEST_OBJECTIVES times) ) - Drops: ( + Drops: ( (list, optional) { - ItemId: Item ID to drop [int] - Rate: Drop rate [int] - MobId: Mob ID to match [int, optional] + ItemId: item_to_drop (int) + Rate: Drop_Rate (int) + MobId: Mob_ID_to_match (int, optional) }, - ... (can be repeated) + // ... (can be repeated) ) }, -******************************************************************************/ +**************************************************************************/ + { Id: 1000 Name: "Transcend" diff --git a/db/re/item_chain.conf b/db/re/item_chain.conf index 57eaef05e..892686271 100644 --- a/db/re/item_chain.conf +++ b/db/re/item_chain.conf @@ -1,21 +1,40 @@ -//==================================================== +//================= Hercules Database ===================================== //= _ _ _ //= | | | | | | //= | |_| | ___ _ __ ___ _ _| | ___ ___ //= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| //= | | | | __/ | | (__| |_| | | __/\__ \ //= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules //= -//= http://herc.ws/board/ -//================= More Information ================= +//= Copyright (C) 2013-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 <http://www.gnu.org/licenses/>. +//================= More Information ====================================== // http://herc.ws/board/topic/1244-official-item-grouppackagechain -//==================================================== -// Structure of file: -/* - ITMCHAIN_<Name>: { - <Item_Name>: <chance> - } -*/ +//========================================================================= + +/************************************************************************** + ************* Entry structure ******************************************** + ************************************************************************** +ITMCHAIN_<Name>: { + <Item_Name>: <chance> + // ... +} +**************************************************************************/ ITMCHAIN_ORE: { Iron_Ore: 600 diff --git a/db/re/item_db.conf b/db/re/item_db.conf index fe543a748..775c2d358 100644 --- a/db/re/item_db.conf +++ b/db/re/item_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) 2014-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 <http://www.gnu.org/licenses/>. +//========================================================================= +//= Items Database +//========================================================================= + item_db: ( -// Items Database -// -/****************************************************************************** - ************* Entry structure ************************************************ - ****************************************************************************** +/************************************************************************** + ************* Entry structure ******************************************** + ************************************************************************** { - // =================== Mandatory fields =============================== + // ================ Mandatory fields ============================== Id: ID (int) AegisName: "Aegis_Name" (string) Name: "Item Name" (string) - // =================== Optional fields ================================ + // ================ Optional fields =============================== Type: Item Type (int, defaults to 3 = etc item) Buy: Buy Price (int, defaults to Sell * 2) Sell: Sell Price (int, defaults to Buy / 2) @@ -58,7 +85,7 @@ item_db: ( OnEquipScript: <" OnEquip Script (can also be multi-line) "> OnUnequipScript: <" OnUnequip Script (can also be multi-line) "> }, -******************************************************************************/ +**************************************************************************/ // Healing Items // =================================================================== diff --git a/db/re/item_group.conf b/db/re/item_group.conf index 82a17a339..ed86966b6 100644 --- a/db/re/item_group.conf +++ b/db/re/item_group.conf @@ -1,22 +1,41 @@ -//==================================================== +//================= Hercules Database ===================================== //= _ _ _ //= | | | | | | //= | |_| | ___ _ __ ___ _ _| | ___ ___ //= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| //= | | | | __/ | | (__| |_| | | __/\__ \ //= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules //= -//= http://herc.ws/board/ -//================= More Information ================= +//= Copyright (C) 2013-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 <http://www.gnu.org/licenses/>. +//================= More Information ====================================== // http://herc.ws/board/topic/1244-official-item-grouppackagechain -//==================================================== -// Structure of file: -/* - <Container_Item_Name>: ( - "Item_Name" or - ("Item_Name",Repeat_Count) +//========================================================================= + +/************************************************************************** + ************* Entry structure ******************************************** + ************************************************************************** +<Container_Item_Name>: ( + "Item_Name", // or + ("Item_Name", Repeat_Count), + // ... ) -*/ +**************************************************************************/ Old_Card_Album: ( ("Poring_Card",9), diff --git a/db/re/item_packages.conf b/db/re/item_packages.conf index 0c90d737c..1a70a63cc 100644 --- a/db/re/item_packages.conf +++ b/db/re/item_packages.conf @@ -1,28 +1,46 @@ -//==================================================== +//================= Hercules Database ===================================== //= _ _ _ //= | | | | | | //= | |_| | ___ _ __ ___ _ _| | ___ ___ //= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| //= | | | | __/ | | (__| |_| | | __/\__ \ //= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules //= -//= http://herc.ws/board/ -//================= More Information ================= +//= Copyright (C) 2013-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 <http://www.gnu.org/licenses/>. +//================= More Information ====================================== // http://herc.ws/board/topic/1244-official-item-grouppackagechain -//==================================================== -// Structure of file: -/* +//========================================================================= + +/************************************************************************** + ************* Entry structure ******************************************** + ************************************************************************** <Container_Item_Name>: { - <Entry_Item_Name>: { - Random: 0 - Signs what group type this item belongs to, 0 is "Must", a group of items that come out whenever the package is open (doesn't use rate), anything above 0 is considered "random_group_<value>", a package with 2 random groups for example gets 2 items whenever open, one from each group - Count: 30 - Stands for how much <Entry_Item_Name> will be obtained. - Expire: 2 - Signs how many hours this item will last (makes a rental item). - Announce: True/False - Signs whether to relay a special item obtain announcement when this item comes out of the package. - Rate: 50 - If 'Random' is not 0, a rate from 1 to 10000 (0.01% - 100%) will be given. - Named: True/False - Signs whether the item should have the owner's name in it. + <Entry_Item_Name>: { + Random: 0 // Signs what group type this item belongs to, 0 is "Must", a group of items that come out whenever the package is open (doesn't use rate), anything above 0 is considered "random_group_<value>", a package with 2 random groups for example gets 2 items whenever open, one from each group + Count: 30 // Stands for how much <Entry_Item_Name> will be obtained. + Expire: 2 // Signs how many hours this item will last (makes a rental item). + Announce: True/False // Signs whether to relay a special item obtain announcement when this item comes out of the package. + Rate: 50 // If 'Random' is not 0, a rate from 1 to 10000 (0.01% - 100%) will be given. + Named: True/False // Signs whether the item should have the owner's name in it. } } -*/ +**************************************************************************/ Special_Box: { Wrapped_Mask: { diff --git a/db/re/job_db.conf b/db/re/job_db.conf index d7a2e6679..6c13fd355 100644 --- a/db/re/job_db.conf +++ b/db/re/job_db.conf @@ -1,54 +1,73 @@ -//==================================================== +//================= Hercules Database ===================================== //= _ _ _ //= | | | | | | //= | |_| | ___ _ __ ___ _ _| | ___ ___ //= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| //= | | | | __/ | | (__| |_| | | __/\__ \ //= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules //= -//= http://herc.ws/board/ -//================= More Information ================= +//= 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 <http://www.gnu.org/licenses/>. +//================= More Information ====================================== // http://herc.ws/board/topic/9082-job-db1txt-redesign/ -//============== RE Structure Example ================ -/* +//========================================================================= + +/************************************************************************** + ************* Entry structure ******************************************** + ************************************************************************** Job_Name: { // Job names as in src/map/pc.c (they are hardcoded at the moment so if you want to add a new job you should add it there) - Inherit: ( "Other_Job_Name" ); // Base job from which this job will inherit its max weight, base ASPD set and HP/SP table. - InheritHP: ( "Other_Job_Name" );// Base job from which this job will inherit its HP table. - InheritSP: ( "Other_Job_Name" );// Base job from which this job will inherit its SP table. - Weight: Max Weight (int, defaults to 20000, units in Weight/10) - BaseASPD: { // Base ASPD for specific weapon type - Fist: 0~200 (int, defaults to 200) - Dagger: 0~200 (int, defaults to 200) - Sword: 0~200 (int, defaults to 200) - TwoHandSword: 0~200 (int, defaults to 200) - Spear: 0~200 (int, defaults to 200) - TwoHandSpear: 0~200 (int, defaults to 200) - Axe: 0~200 (int, defaults to 200) - TwoHandAxe: 0~200 (int, defaults to 200) - Mace: 0~200 (int, defaults to 200) - TwoHandMace: 0~200 (int, defaults to 200) - Rod: 0~200 (int, defaults to 200) - Bow: 0~200 (int, defaults to 200) - Knuckle: 0~200 (int, defaults to 200) - Instrumen: 0~200 (int, defaults to 200) - Whip: 0~200 (int, defaults to 200) - Book: 0~200 (int, defaults to 200) - Katar: 0~200 (int, defaults to 200) - Revolver: 0~200 (int, defaults to 200) - Rifle: 0~200 (int, defaults to 200) - GatlingGun: 0~200 (int, defaults to 200) - Shotgun: 0~200 (int, defaults to 200) - GrenadeLauncher: 0~200 (int, defaults to 200) - FuumaShuriken: 0~200 (int, defaults to 200) - TwoHandRod: 0~200 (int, defaults to 200) - Shield: 0~200 (int, defaults to 0) + Inherit: ("Other_Job_Name") // Base job from which this job will inherit its max weight, base ASPD set and HP/SP table. + InheritHP: ("Other_Job_Name") // Base job from which this job will inherit its HP table (if different). + InheritSP: ("Other_Job_Name") // Base job from which this job will inherit its SP table (if different). + Weight: Max Weight (int, defaults to 20000, units in Weight/10) + BaseASPD: { // Base ASPD for specific weapon type (optional) + Fist: 0~200 (int, defaults to 200) + Dagger: 0~200 (int, defaults to 200) + Sword: 0~200 (int, defaults to 200) + TwoHandSword: 0~200 (int, defaults to 200) + Spear: 0~200 (int, defaults to 200) + TwoHandSpear: 0~200 (int, defaults to 200) + Axe: 0~200 (int, defaults to 200) + TwoHandAxe: 0~200 (int, defaults to 200) + Mace: 0~200 (int, defaults to 200) + TwoHandMace: 0~200 (int, defaults to 200) + Rod: 0~200 (int, defaults to 200) + Bow: 0~200 (int, defaults to 200) + Knuckle: 0~200 (int, defaults to 200) + Instrumen: 0~200 (int, defaults to 200) + Whip: 0~200 (int, defaults to 200) + Book: 0~200 (int, defaults to 200) + Katar: 0~200 (int, defaults to 200) + Revolver: 0~200 (int, defaults to 200) + Rifle: 0~200 (int, defaults to 200) + GatlingGun: 0~200 (int, defaults to 200) + Shotgun: 0~200 (int, defaults to 200) + GrenadeLauncher: 0~200 (int, defaults to 200) + FuumaShuriken: 0~200 (int, defaults to 200) + TwoHandRod: 0~200 (int, defaults to 200) + Shield: 0~200 (int, defaults to 0) } - HPTable:[ 1, .... 150 ] (int[]) Reference table for base HP per level - SPTable:[ 1, .... 150 ] (int[]) Reference table for base SP per level + HPTable:[1, .... 150] (int array) // Reference table for base HP per level + SPTable:[1, .... 150] (int array) // Reference table for base SP per level // Note: If table index size is smaller than the max level the server will automatically generate the missing index based on the average increase per level. } -*/ -//==================================================== +**************************************************************************/ + Novice: { BaseASPD: { Fist: 40 diff --git a/db/re/map_zone_db.conf b/db/re/map_zone_db.conf index 0622368a6..553602a33 100644 --- a/db/re/map_zone_db.conf +++ b/db/re/map_zone_db.conf @@ -1,28 +1,44 @@ -//==================================================== +//================= Hercules Database ===================================== //= _ _ _ //= | | | | | | //= | |_| | ___ _ __ ___ _ _| | ___ ___ //= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| //= | | | | __/ | | (__| |_| | | __/\__ \ //= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules //= -//= http://herc.ws/board/ -//==================================================== -//= Hercules Map Zone Database [Ind/Hercules] -//================ More Information ================== +//= Copyright (C) 2013-2015 Hercules Dev Team +//= Copyright (C) 2013 Ind +//= +//= 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/>. +//========================================================================= +//= Hercules Map Zone Database +//================= More Information ====================================== //= http://herc.ws/board/topic/302-introducing-hercules-map-zone-database/ //= (TODO: replace with wiki link and detail the wiki page in a decent format ^) -//==================================================== -//================ Description ======================= -//= A unlimited number of zones may be created, a zone -//= may be used to create a set of disabled items, disabled skills -//= and mapflags to be used by as many maps as one chooses. -//= Maps can be linked to a specific zone through the zone mapflag +//================= Description =========================================== +//= A unlimited number of zones may be created, a zone may be used to create a +//= set of disabled items, disabled skills and mapflags to be used by as many +//= maps as one chooses. +//= Maps can be linked to a specific zone through the zone mapflag: //= '<map name><tab>mapflag<tab>zone<tab><zone name>'. -//==================================================== +//========================================================================= //= Available types for 'disabled_skills': //= PLAYER, HOMUN, MERCENARY, MONSTER, PET, ELEMENTAL, MOB_BOSS, CLONE, ALL and NONE -//==================================================== +//========================================================================= zones: ( { 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 <http://www.gnu.org/licenses/>. +//========================================================================= +//= 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 diff --git a/db/re/refine_db.conf b/db/re/refine_db.conf index 5a6bdfe24..927e2d6bf 100644 --- a/db/re/refine_db.conf +++ b/db/re/refine_db.conf @@ -1,28 +1,53 @@ -/******************************************************************************** - * Renewal Refine Database * - ******************************************************************************** -Refine Database Structure - +//================= 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 <http://www.gnu.org/licenses/>. +//========================================================================= +//= Renewal Refine Database +//========================================================================= -Armors/WeaponLevel1~4: { (0 - Armors, 1 - Level 1 Weapons, 2 - Level 2 Weapons, 3 - Level 3 Weapons, 4 - Level 4 Weapons) - - For armors, values of 100 add 1 armor defense. - - For weapons, values of 100 add 1 ATK&MATK. - StatsPerLevel: (int) This value is applied for ever level. - RandomBonusStartLevel: (int) This value specifies the start point for those levels that give a random bonus value (usually the first unsafe upgrade). - RandomBonusValue: (int) A random number between 0 and (Random bonus start level - Upgrade level + 1) * this value is applied for all upgrades past. - Random bonus start level. This is only applied for weapons, and not displayed client-side. - Rates: { Per level configuration of the refine rates. - Lv1~10: { Level of refine - Chance: (int) Chance of successful refine (100 = 100%) - Note: If not mentioned, defaults to 100. - Bonus: (int) Bonus for this level of refine (Optional Field) - Note: If not mentioned, defaults to 0. - } +/************************************************************************** + ************* Entry structure ******************************************** + ************************************************************************** +Armors/WeaponLevel1~4: { // Specifies weapon level or armor type + - For armors, values of 100 add 1 armor defense. + - For weapons, values of 100 add 1 ATK&MATK. + StatsPerLevel: value (int) // This value is applied for ever level. + RandomBonusStartLevel: level (int) // This value specifies the start point for those levels that give a random bonus value (usually the first unsafe upgrade). + RandomBonusValue: value (int) // A random number between 0 and (Random bonus start level - Upgrade level + 1) * this value is applied for all upgrades past. + // Random bonus start level. This is only applied for weapons, and not displayed client-side. + Rates: { // Per level configuration of the refine rates. + Lv1~10: { // Level of refine + Chance: value (int, optional, defaults to 100) // Chance of successful refine (100 = 100%) + Bonus: value (int, optional, defaults to 0) // Bonus for this level of refine + } + // Note: Refine levels that use default values need not be listed. (Example: Lv1: Chance: 100 Bonus: 0) } } +// A note about renewal Armors, there may or may not be another bonus, according to iRO wiki: Every upgrade gives floor[( 3 + current upgrade ) / 4] +**************************************************************************/ -* -- Refine levels that use default values need not be listed. (Example: Lv1: Chance: 100 Bonus: 0) -* -- A note about renewal Armors, there may or may not be another bonus, according to iRO wiki: Every upgrade gives floor[( 3 + current upgrade ) / 4] -******************************************************************************/ Armors: { StatsPerLevel: 0 RandomBonusStartLevel: 0 diff --git a/db/re/skill_tree.conf b/db/re/skill_tree.conf index a29b924aa..f27f6e67a 100644 --- a/db/re/skill_tree.conf +++ b/db/re/skill_tree.conf @@ -1,16 +1,35 @@ -//==================================================== +//================= Hercules Database ===================================== //= _ _ _ //= | | | | | | //= | |_| | ___ _ __ ___ _ _| | ___ ___ //= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| //= | | | | __/ | | (__| |_| | | __/\__ \ //= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules //= -//= http://herc.ws/board/ -//================= More Information ================= +//= Copyright (C) 2013-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 <http://www.gnu.org/licenses/>. +//================= More Information ====================================== // http://herc.ws/board/topic/1188-skill-tree-db-redesign/ -//================ Structure Example ================= -/* +//========================================================================= + +/************************************************************************** + ************* Entry structure ******************************************** + ************************************************************************** Job_Name: { // Job names as in src/map/pc.c (they are hardcoded at the moment so if you want to add a new job you should add it there) inherit: ( "Other_Job_Name" ); // Base job from which this job will inherit its skill tree. NV_TRICKDEAD inheritance is skipped for non-novices from the source @@ -22,8 +41,7 @@ Job_Name: { // Job names as in src/map/pc.c (they are hardcoded at the moment so SKILL_NAME_PREREQUISITE2: Level_Prerequisite2 // You can add as many prerequisite skills as you want. Minimum of 1 if you add a skill this way } } -*/ -//==================================================== +**************************************************************************/ Novice: { skills: { diff --git a/db/roulette_db.conf b/db/roulette_db.conf index 6ab579dba..8f4e38a88 100644 --- a/db/roulette_db.conf +++ b/db/roulette_db.conf @@ -1,18 +1,34 @@ -//==================================================== +//================= Hercules Database ===================================== //= _ _ _ //= | | | | | | //= | |_| | ___ _ __ ___ _ _| | ___ ___ //= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| //= | | | | __/ | | (__| |_| | | __/\__ \ //= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules //= -//= http://herc.ws/board/ -//================= More Information ================= +//= Copyright (C) 2014-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 <http://www.gnu.org/licenses/>. +//================= More Information ====================================== //= http://herc.ws/board/topic/7618-2014-10-22-roulette-and-per-char-gender/ -//==================================================== +//================= Description =========================================== // This file handles the Roulette, the format is <item>:<amount> // The first entry is the one that loses the game. -//==================================================== +//========================================================================= roulette: ( { diff --git a/db/translations.conf b/db/translations.conf index a93e86384..e786a72ac 100644 --- a/db/translations.conf +++ b/db/translations.conf @@ -1,18 +1,34 @@ -//==================================================== +//================= Hercules Database ===================================== //= _ _ _ //= | | | | | | //= | |_| | ___ _ __ ___ _ _| | ___ ___ //= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| //= | | | | __/ | | (__| |_| | | __/\__ \ //= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules //= -//= http://herc.ws/board/ -//================= More Information ================= +//= 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 <http://www.gnu.org/licenses/>. +//================= More Information ====================================== //= http://herc.ws/board/topic/8687-hercules-ultimate-localization-design/ -//==================================================== +//================= Description =========================================== // Translations generated with —-generate-translations // should be pointed to here -//==================================================== +//========================================================================= translations: ( //"path/to/my/Language.po", |