Cleaned up CSV2YAML skill database label (#4585)
* Strips the "_Skill" from TargetType. * Cleaned up documentation header to match.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user