summaryrefslogtreecommitdiff
path: root/db/re
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2015-11-05 17:17:58 +0100
committerHaru <haru@dotalux.com>2015-12-15 20:53:49 +0100
commitf1461b78548b40da499922c9a669a03029726a3b (patch)
treea634a23395bf1f50f095886c7fe081b31c34a14c /db/re
parentda78cd6027e83b81920a8bbf52fb2e328a33e6ff (diff)
downloadhercules-f1461b78548b40da499922c9a669a03029726a3b.tar.gz
hercules-f1461b78548b40da499922c9a669a03029726a3b.tar.bz2
hercules-f1461b78548b40da499922c9a669a03029726a3b.tar.xz
hercules-f1461b78548b40da499922c9a669a03029726a3b.zip
Updated header for libconfig-based databases
It now includes a GPL-compliant license/copyright mention Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'db/re')
-rw-r--r--db/re/item_chain.conf39
-rw-r--r--db/re/item_db.conf43
-rw-r--r--db/re/item_group.conf39
-rw-r--r--db/re/item_packages.conf46
-rw-r--r--db/re/job_db.conf97
-rw-r--r--db/re/map_zone_db.conf42
-rw-r--r--db/re/mob_db.conf79
-rw-r--r--db/re/refine_db.conf67
-rw-r--r--db/re/skill_tree.conf32
9 files changed, 335 insertions, 149 deletions
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: {