Cleaned up CSV2YAML skill database label (#4585)
* Strips the "_Skill" from TargetType. * Cleaned up documentation header to match.
This commit is contained in:
parent
ecd2a9af87
commit
1b8c2e517d
@ -10,7 +10,7 @@
|
||||
# Description Skill description.
|
||||
# MaxLevel Max skill level.
|
||||
# Type Skill type. (Default: None)
|
||||
# TargetType Skill target type. (Default: Passive_Skill)
|
||||
# TargetType Skill target type. (Default: Passive)
|
||||
# DamageFlags: Skill damage properties.
|
||||
# Flags: Skill information flags.
|
||||
# Range: Skill range. (Default: 0)
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user