1
This commit is contained in:
parent
211bc222b6
commit
c44fc4dd88
@ -2413,7 +2413,7 @@ void Creature::UpdateMove()
|
|||||||
GetMovement()->CalcTargetPos(mt::Param::s().move_step_len);
|
GetMovement()->CalcTargetPos(mt::Param::s().move_step_len);
|
||||||
if (!GetMovement()->UpdatePosition()) {
|
if (!GetMovement()->UpdatePosition()) {
|
||||||
if (IsPlayer()) {
|
if (IsPlayer()) {
|
||||||
|
ShotFindPath();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -2904,3 +2904,8 @@ void Creature::UnSetBuffTag(int tag)
|
|||||||
{
|
{
|
||||||
buff_tags_.erase(tag);
|
buff_tags_.erase(tag);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void Creature::ShotFindPath()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
@ -325,6 +325,7 @@ class Creature : public MoveableEntity
|
|||||||
int GetBuffTag(int tag);
|
int GetBuffTag(int tag);
|
||||||
void IncBuffTag(int tag, int val);
|
void IncBuffTag(int tag, int val);
|
||||||
void UnSetBuffTag(int tag);
|
void UnSetBuffTag(int tag);
|
||||||
|
void ShotFindPath();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual void OnBuffRemove(Buff& buff);
|
virtual void OnBuffRemove(Buff& buff);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user