Cleaned up CSV2YAML skill database label (#4585)

* Strips the "_Skill" from TargetType.
* Cleaned up documentation header to match.
This commit is contained in:
Aleos
2020-02-01 09:53:27 -05:00
committed by GitHub
parent ecd2a9af87
commit 1b8c2e517d
2 changed files with 2 additions and 1 deletions

View File

@@ -1461,6 +1461,7 @@ static bool skill_parse_row_skilldb(char* split[], int columns, int current) {
if (atoi(split[3]) != 0) {
constant = constant_lookup(atoi(split[3]), "INF_");
constant.erase(0, 4);
constant.erase(constant.size() - 6);
body << YAML::Key << "TargetType" << YAML::Value << name2Upper(constant);
}