Files
rathena/db/status.yml
Cydh Ramdh f28d207274 Implementation of Status Changes in YAML (#1685)
* Removes the initialization of Status Changes via hard-code and puts it into YAML form.
* From this database it is much easier to delegate icons, calc flags, opt flags, miscellaneous flags, and several other things for all stats changes.
* Statuses can quickly be reloaded via atcommand reloadstatus.
Thanks to @cydh, @Atemo, @Lemongrass3110, and the others who helped!
Signed-off-by: Cydh Ramdh <cydh@pservero.com>
Co-authored-by: atemo <capucrath@gmail.com>
Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
2022-03-10 13:11:59 -05:00

53 lines
2.8 KiB
YAML

# This file is a part of rAthena.
# Copyright(C) 2022 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/>.
#
###########################################################################
# Status Change Database
###########################################################################
#
# Status Change Settings
#
###########################################################################
# - Status Status change name.
# Icon Status change icon. (Default: EFST_BLANK)
# DurationLookup Default status change duration. (Default: 0)
# States: Status change state to determine player states. (Default: None)
# CalcFlags: Status change calculation to indicate which stat is adjusted. (Default: None)
# Opt1 Special effect when a status change is active. Non-stackable. (Default: None)
# Opt2: Special options/client effects when a status change is active. (Default: None)
# Opt3: Special options/client effects when a status change is active. (Default: Normal)
# Options: Special options/client effects when a status change is active. (Default: Nothing)
# Flags: Special flags which trigger during certain events. (Default: None)
# MinRate Minimum rate after status change reduction (10000 = 100%). (Default: 0)
# MinDuration Minimum duration in milliseconds after status change reduction. (Default: 1)
# Fail: List of Status Changes that causes the status to fail to activate. (Optional)
# End: List of Status Changes that will end when the status activates. (Optional)
# EndReturn If the status has an End list and succeeds to remove these status changes, it won't give its effect. (Default: false)
###########################################################################
Header:
Type: STATUS_DB
Version: 1
Footer:
Imports:
- Path: db/pre-re/status.yml
Mode: Prerenewal
- Path: db/re/status.yml
Mode: Renewal
- Path: db/import/status.yml