rathena/db/job_stats.yml
Aleos 6bc0dff20d
Converts Job databases to YAML (#4759)
* Converts the job_db, job_db2, job_basehpsp_db, job_exp, and job_param_db to YAML.
* Optimizes several places utilizing C++ features.
* Removes 3rd class job data from pre-renewal.
* Adds minimal support for 4th jobs.
* Job level bonus stats now supports multiple bonuses per level as well as an integer for the specific stat instead of only being limited to 1.
* Includes CSV2YAML converter.
Thanks to @Lemongrass3110, @Atemo, @Balferian, @attackjom, @dimasshotta!
Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
2021-11-17 16:13:07 -05:00

105 lines
4.6 KiB
YAML

# This file is a part of rAthena.
# Copyright(C) 2021 rAthena Development Team
# https://rathena.org - https://github.com/rathena
#
# This program 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/>.
#
###########################################################################
# Job Database
###########################################################################
#
# Job Settings
#
###########################################################################
# - Jobs: List of jobs associated to group.
# Job Job ID.
# MaxWeight Base maximum weight. (Default: 20000)
# HPFactor HP increase per base level. Floor(HPFactor / 100) * BaseLv. Used when macro HP_SP_TABLES is disabled. (Default: 20000)
# HPMultiplicator Base HP value. 35 + BaseLv * (HPMultiplicator / 100). Used when macro HP_SP_TABLES is disabled. (Default: 500)
# SPFactor SP increase per job level. Floor(SPFactor / 100) * BaseLv. Used when macro HP_SP_TABLES is disabled. (Default: 100)
# BaseASPD: Base ASPD for each weapon type. (Default: 2000)
# Weapon Weapon type with associated ASPD.
# BonusStats: Job level bonus stats/traits.
# - Level Job level.
# Str Stength increase amount. (Default: 0)
# Agi Agility increase amount. (Default: 0)
# Vit Vitality increase amount. (Default: 0)
# Int Intelligence increase amount. (Default: 0)
# Dex Dexterity increase amount. (Default: 0)
# Luk Luck increase amount. (Default: 0)
# Pow Power increase amount. (Default: 0)
# Sta Stamina increase amount. (Default: 0)
# Wis Wisdom increase amount. (Default: 0)
# Spl Spell increase amount. (Default: 0)
# Con Concentration increase amount. (Default: 0)
# Crt Creative increase amount. (Default: 0)
# MaxStats: Maximum stats/traits applicable. (Default: battle_config::max_*_parameter)
# Str Strength.
# Agi Agility.
# Vit Vitality.
# Int Intelligence.
# Dex Dexterity.
# Luk Luck.
# Pow Power.
# Sta Stamina.
# Wis Wisdom.
# Spl Spell.
# Con Concentration.
# Crt Creative.
# MaxBaseLevel Maximum base level. (Default: MAX_LEVEL)
# BaseExp: Base experience per level.
# - Level Base level.
# Exp Base experience.
# MaxJobLevel Maximum job level. (Default: MAX_LEVEL)
# JobExp: Job experience per level.
# - Level Job level.
# Exp Job experience.
# BaseHp: Base HP per base level.
# - Level Base level.
# Hp Base HP.
# BaseSp: Base SP per base level.
# - Level Base level.
# Sp Base SP.
# BaseAp: Base AP per base level.
# - Level Base level.
# Ap Base AP.
###########################################################################
Header:
Type: JOB_STATS
Version: 1
Footer:
Imports:
# Import base information first
- Path: db/pre-re/job_stats.yml
Mode: Prerenewal
- Path: db/re/job_stats.yml
Mode: Renewal
# Next, populate with experience information
- Path: db/pre-re/job_exp.yml
Mode: Prerenewal
- Path: db/re/job_exp.yml
Mode: Renewal
# Next, populate HP/SP/AP information
- Path: db/pre-re/job_basepoints.yml
Mode: Prerenewal
- Path: db/re/job_basepoints.yml
Mode: Renewal
# Finally, import custom information
- Path: db/import/job_stats.yml