fix talent
This commit is contained in:
parent
a89bf30f56
commit
088b45189a
@ -582,13 +582,13 @@ namespace MetaData
|
|||||||
|
|
||||||
void Talent::Init()
|
void Talent::Init()
|
||||||
{
|
{
|
||||||
talentid = a8::XValue(i->talent_id()).GetInt();
|
talentid = i->talent_id();
|
||||||
if (!i->equip_label().empty()) {
|
if (i->equip_label() > 0) {
|
||||||
equiplabel = a8::XValue(i->equip_label()).GetInt();
|
equiplabel = i->equip_label();
|
||||||
hpplus = a8::XValue(i->hp_upgrade()).GetInt();
|
hpplus = i->hp_upgrade();
|
||||||
} else {
|
} else {
|
||||||
equiplabel = a8::XValue(i->equip_label2()).GetInt();
|
equiplabel = i->equip_label2();
|
||||||
atkplus = a8::XValue(i->atk_upgrade()).GetInt();
|
atkplus = i->atk_upgrade();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user