1
This commit is contained in:
parent
32e4ed914e
commit
22d4b189a3
@ -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()
|
void Creature::RecalcDtoAttr()
|
||||||
{
|
{
|
||||||
if (!IsHuman()) {
|
if (!IsHuman()) {
|
||||||
|
@ -319,8 +319,6 @@ class Creature : public MoveableEntity
|
|||||||
|
|
||||||
void DoRecoilForce(int distance);
|
void DoRecoilForce(int distance);
|
||||||
void WinSkillExp(int win_exp);
|
void WinSkillExp(int win_exp);
|
||||||
float GetAttrAbs(int attr_id);
|
|
||||||
float GetAttrRate(int attr_id);
|
|
||||||
void RecalcDtoAttr();
|
void RecalcDtoAttr();
|
||||||
void AutoNavigation(const glm::vec3& target_pos, float speed,
|
void AutoNavigation(const glm::vec3& target_pos, float speed,
|
||||||
std::function<void (Creature*)> cb);
|
std::function<void (Creature*)> cb);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user