diff --git a/db/import-tmpl/skill_tree.yml b/db/import-tmpl/skill_tree.yml index 6d6ea63d01..4fb0e8630b 100644 --- a/db/import-tmpl/skill_tree.yml +++ b/db/import-tmpl/skill_tree.yml @@ -14,7 +14,8 @@ # # You should have received a copy of the GNU General Public License # along with this program. If not, see . -############################################################################ +# +########################################################################### # Skill Tree Database ########################################################################### # diff --git a/db/pre-re/skill_tree.yml b/db/pre-re/skill_tree.yml index 103add78c3..899b5a8992 100644 --- a/db/pre-re/skill_tree.yml +++ b/db/pre-re/skill_tree.yml @@ -14,7 +14,8 @@ # # You should have received a copy of the GNU General Public License # along with this program. If not, see . -############################################################################ +# +########################################################################### # Skill Tree Database ########################################################################### # diff --git a/db/re/skill_tree.yml b/db/re/skill_tree.yml index 886de1a4b2..8b1904bc9e 100644 --- a/db/re/skill_tree.yml +++ b/db/re/skill_tree.yml @@ -14,7 +14,8 @@ # # You should have received a copy of the GNU General Public License # along with this program. If not, see . -############################################################################ +# +########################################################################### # Skill Tree Database ########################################################################### # diff --git a/db/skill_tree.yml b/db/skill_tree.yml index f2c85cdcab..900856c6f6 100644 --- a/db/skill_tree.yml +++ b/db/skill_tree.yml @@ -14,7 +14,8 @@ # # You should have received a copy of the GNU General Public License # along with this program. If not, see . -############################################################################ +# +########################################################################### # Skill Tree Database ########################################################################### # diff --git a/src/tool/csv2yaml.cpp b/src/tool/csv2yaml.cpp index 8704758ea8..d12e0d9ee5 100644 --- a/src/tool/csv2yaml.cpp +++ b/src/tool/csv2yaml.cpp @@ -4752,7 +4752,9 @@ static bool pc_readdb_skilltree(char* fields[], int columns, int current) { static bool pc_readdb_skilltree_yaml(void) { for (const auto &it : skill_tree) { body << YAML::BeginMap; - body << YAML::Key << "Job" << YAML::Value << constant_lookup(it.first, "JOB_"); + std::string job = constant_lookup(it.first, "JOB_"); + job.erase( 0, 4 ); + body << YAML::Key << "Job" << YAML::Value << name2Upper( job ); body << YAML::Key << "Tree"; body << YAML::BeginSeq; for (const auto &subit : it.second) {