diff --git a/server/gameserver/creature.cc b/server/gameserver/creature.cc index c56d5465..d5d7deaa 100644 --- a/server/gameserver/creature.cc +++ b/server/gameserver/creature.cc @@ -2362,24 +2362,6 @@ void Creature::WinSkillExp(int win_exp) } } -float Creature::GetAttrAbs(int attr_id) -{ - float val = 0; - if (GetAbility()){ - val += GetAbility()->GetAttrAbs(attr_id); - } - return val; -} - -float Creature::GetAttrRate(int attr_id) -{ - float val = 0; - if (GetAbility()){ - val += GetAbility()->GetAttrRate(attr_id); - } - return val; -} - void Creature::RecalcDtoAttr() { if (!IsHuman()) { diff --git a/server/gameserver/creature.h b/server/gameserver/creature.h index ed5167d3..fc67e039 100644 --- a/server/gameserver/creature.h +++ b/server/gameserver/creature.h @@ -319,8 +319,6 @@ class Creature : public MoveableEntity void DoRecoilForce(int distance); void WinSkillExp(int win_exp); - float GetAttrAbs(int attr_id); - float GetAttrRate(int attr_id); void RecalcDtoAttr(); void AutoNavigation(const glm::vec3& target_pos, float speed, std::function cb);