Converted Reading Spellbook Database to YAML (#4440)

* Split database between pre-renewal and renewal.
Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
This commit is contained in:
Aleos
2019-12-20 12:37:16 -05:00
committed by GitHub
parent 77045ef287
commit 77d86c6da5
13 changed files with 341 additions and 129 deletions

View File

@@ -1,9 +0,0 @@
// Reading Spellbook Preserve Points Database
//
// Structure of Database:
// SkillID,PreservePoints,Required Book
//
// NOTE:
// - To add more entries, increase MAX_SKILL_SPELLBOOK_DB in skill.h.
// - To remove entry by importing, put 0 for 'PreservePoints'

View File

@@ -0,0 +1,32 @@
# This file is a part of rAthena.
# Copyright(C) 2019 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/>.
#
###########################################################################
# Reading Spellbook Database
###########################################################################
#
# Reading Spellbook Settings
#
###########################################################################
# - Skill Skill that is usable through a Spellbook.
# Book Book item required to cast skill.
# PreservePoints Amount of points required to preserve the skill into the book.
###########################################################################
Header:
Type: READING_SPELLBOOK_DB
Version: 1

85
db/re/spellbook_db.yml Normal file
View File

@@ -0,0 +1,85 @@
# This file is a part of rAthena.
# Copyright(C) 2019 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/>.
#
###########################################################################
# Reading Spellbook Database
###########################################################################
#
# Reading Spellbook Settings
#
###########################################################################
# - Skill Skill that is usable through a Spellbook.
# Book Book item required to cast skill.
# PreservePoints Amount of points required to preserve the skill into the book.
###########################################################################
Header:
Type: READING_SPELLBOOK_DB
Version: 1
Body:
- Skill: MG_COLDBOLT
Book: Magic_Book_CB
PreservePoints: 7
- Skill: MG_FIREBOLT
Book: Magic_Book_FB
PreservePoints: 7
- Skill: MG_LIGHTNINGBOLT
Book: Magic_Book_LB
PreservePoints: 7
- Skill: MG_THUNDERSTORM
Book: Magic_Book_TS
PreservePoints: 9
- Skill: WZ_METEOR
Book: Magic_Book_MS
PreservePoints: 10
- Skill: WZ_JUPITEL
Book: Magic_Book_JT
PreservePoints: 9
- Skill: WZ_VERMILION
Book: Magic_Book_LOV
PreservePoints: 10
- Skill: WZ_WATERBALL
Book: Magic_Book_WB
PreservePoints: 9
- Skill: WZ_STORMGUST
Book: Magic_Book_SG
PreservePoints: 10
- Skill: WZ_EARTHSPIKE
Book: Magic_Book_ES
PreservePoints: 8
- Skill: WZ_HEAVENDRIVE
Book: Magic_Book_HD
PreservePoints: 9
- Skill: WL_DRAINLIFE
Book: Magic_Book_DL
PreservePoints: 8
- Skill: WL_CRIMSONROCK
Book: Magic_Book_CR
PreservePoints: 12
- Skill: WL_COMET
Book: Magic_Book_CM
PreservePoints: 22
- Skill: WL_CHAINLIGHTNING
Book: Magic_Book_CL
PreservePoints: 12
- Skill: WL_EARTHSTRAIN
Book: Magic_Book_ES_
PreservePoints: 12
- Skill: WL_TETRAVORTEX
Book: Magic_Book_TV
PreservePoints: 22

View File

@@ -1,31 +0,0 @@
// Reading Spellbook Preserve Points Database
//
// Structure of Database:
// SkillID,PreservePoints,Required Book
//
// NOTE:
// - To add more entries, increase MAX_SKILL_SPELLBOOK_DB in skill.hpp.
// - To remove entry by importing, put 0 for 'PreservePoints'
//Mage
14,7,6190 //Cold Bolt
19,7,6189 //Fire Bolt
20,7,6191 //Lightning Bolt
21,9,6197 //Thunder Storm
//Wizard
83,10,6194 //Meteor Storm
84,9,6198 //Jupitel Thunder
85,10,6193 //Lord of Vermillion
86,9,6199 //Water Ball
89,10,6192 //Storm Gust
90,8,6201 //Earth Spike
91,9,6200 //Heaven's Drive
//Warlock
2210,8,6205 //Drain Life
2211,12,6204 //Crimson Rock
2213,22,6195 //Comet
2214,12,6203 //Chain Lightning
2216,12,6202 //Earth Strain
2217,22,6196 //Tetra Vortex

38
db/spellbook_db.yml Normal file
View File

@@ -0,0 +1,38 @@
# This file is a part of rAthena.
# Copyright(C) 2019 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/>.
#
###########################################################################
# Reading Spellbook Database
###########################################################################
#
# Reading Spellbook Settings
#
###########################################################################
# - Skill Skill that is usable through a Spellbook.
# Book Book item required to cast skill.
# PreservePoints Amount of points required to preserve the skill into the book.
###########################################################################
Header:
Type: READING_SPELLBOOK_DB
Version: 1
Footer:
Imports:
- Path: db/re/spellbook_db.yml
Mode: Renewal
- Path: db/import/spellbook_db.yml