summaryrefslogtreecommitdiff
path: root/db/pre-re/refine_db.conf
diff options
context:
space:
mode:
authorHaruna <haru@dotalux.com>2015-10-06 20:36:19 +0200
committerHaruna <haru@dotalux.com>2015-10-06 20:36:19 +0200
commitdc18550740394617ec972c7241770fd13880fe40 (patch)
tree115201c15eb3d2c87fbbe573d41bbee14058a108 /db/pre-re/refine_db.conf
parent3411267c16ffb1c540e9dbf85ffaf63b3d20c8e2 (diff)
parent993138361b5d712afbd7afee6aba5d5c52bdcc4f (diff)
downloadhercules-dc18550740394617ec972c7241770fd13880fe40.tar.gz
hercules-dc18550740394617ec972c7241770fd13880fe40.tar.bz2
hercules-dc18550740394617ec972c7241770fd13880fe40.tar.xz
hercules-dc18550740394617ec972c7241770fd13880fe40.zip
Merge pull request #682 from Smokexyz/master
Convert refine_db.txt to refine_db.conf (libconfig)
Diffstat (limited to 'db/pre-re/refine_db.conf')
-rw-r--r--db/pre-re/refine_db.conf131
1 files changed, 131 insertions, 0 deletions
diff --git a/db/pre-re/refine_db.conf b/db/pre-re/refine_db.conf
new file mode 100644
index 000000000..46f660834
--- /dev/null
+++ b/db/pre-re/refine_db.conf
@@ -0,0 +1,131 @@
+/********************************************************************************
+ * Pre-Renewal Refine Database *
+ ********************************************************************************
+Refine Database Structure -
+
+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.
+ }
+ }
+}
+
+* -- Refine levels that use default values need not be listed. (Example: Lv1: Chance: 100 Bonus: 0)
+******************************************************************************/
+Armors: {
+ StatsPerLevel: 66
+ RandomBonusStartLevel: 0
+ RandomBonusValue: 0
+ Rates: {
+ Lv5: {
+ Chance: 60
+ }
+ Lv6: {
+ Chance: 40
+ }
+ Lv7: {
+ Chance: 40
+ }
+ Lv8: {
+ Chance: 20
+ }
+ Lv9: {
+ Chance: 20
+ }
+ Lv10: {
+ Chance: 10
+ }
+ }
+}
+WeaponLevel1: {
+ StatsPerLevel: 200
+ RandomBonusStartLevel: 8
+ RandomBonusValue: 300
+ Rates: {
+ Lv8: {
+ Chance: 60
+ }
+ Lv9: {
+ Chance: 40
+ }
+ Lv10: {
+ Chance: 20
+ }
+ }
+}
+WeaponLevel2: {
+ StatsPerLevel: 300
+ RandomBonusStartLevel: 7
+ RandomBonusValue: 500
+ Rates: {
+ Lv7: {
+ Chance: 60
+ }
+ Lv8: {
+ Chance: 40
+ }
+ Lv9: {
+ Chance: 20
+ }
+ Lv10: {
+ Chance: 20
+ }
+ }
+}
+WeaponLevel3: {
+ StatsPerLevel: 500
+ RandomBonusStartLevel: 6
+ RandomBonusValue: 800
+ Rates: {
+ Lv6: {
+ Chance: 60
+ }
+ Lv7: {
+ Chance: 50
+ }
+ Lv8: {
+ Chance: 20
+ }
+ Lv9: {
+ Chance: 20
+ }
+ Lv10: {
+ Chance: 20
+ }
+ }
+}
+WeaponLevel4: {
+ StatsPerLevel: 700
+ RandomBonusStartLevel: 5
+ RandomBonusValue: 1300
+ Rates: {
+ Lv5: {
+ Chance: 60
+ }
+ Lv6: {
+ Chance: 40
+ }
+ Lv7: {
+ Chance: 40
+ }
+ Lv8: {
+ Chance: 20
+ }
+ Lv9: {
+ Chance: 20
+ }
+ Lv10: {
+ Chance: 10
+ }
+ }
+}