summaryrefslogtreecommitdiff
path: root/db/pre-re
diff options
context:
space:
mode:
Diffstat (limited to 'db/pre-re')
-rw-r--r--db/pre-re/item_chain.conf39
-rw-r--r--db/pre-re/item_db.conf43
-rw-r--r--db/pre-re/item_group.conf39
-rw-r--r--db/pre-re/item_packages.conf46
-rw-r--r--db/pre-re/job_db.conf96
-rw-r--r--db/pre-re/map_zone_db.conf42
-rw-r--r--db/pre-re/mob_db.conf79
-rw-r--r--db/pre-re/refine_db.conf65
-rw-r--r--db/pre-re/skill_tree.conf32
9 files changed, 333 insertions, 148 deletions
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: {