mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
fixed cast interrupt
- dont allow targeting of mob moving back to spawn
This commit is contained in:
@@ -248,8 +248,8 @@ namespace FFXIVClassic_Map_Server.actors.chara.ai
|
||||
|
||||
private bool IsWithinCone(Character target, bool withPet)
|
||||
{
|
||||
// todo:
|
||||
return false;
|
||||
// todo: make this actual cone
|
||||
return owner.IsFacing(target, angle) && Utils.Distance(owner.positionX, owner.positionY, owner.positionZ, target.positionX, target.positionY, target.positionZ) < extents;
|
||||
}
|
||||
|
||||
private void AddTarget(Character target, bool withPet)
|
||||
|
||||
Reference in New Issue
Block a user