diff --git a/server/gameserver/mt/Equip.cc b/server/gameserver/mt/Equip.cc index 519ef985..3c9401a6 100644 --- a/server/gameserver/mt/Equip.cc +++ b/server/gameserver/mt/Equip.cc @@ -45,7 +45,7 @@ namespace mt _atk = a8::XValue(strings[0]); _atk_up = a8::XValue(strings[1]); } else { - _atk = a8::XValue(strings[0]); + _atk = a8::XValue(atk()); _atk_up = _atk; } } @@ -56,7 +56,7 @@ namespace mt _max_hp = a8::XValue(strings[0]); _max_hp_up = a8::XValue(strings[1]); } else { - _max_hp = a8::XValue(strings[0]); + _max_hp = a8::XValue(max_hp()); _max_hp_up = _max_hp; } }