mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-07-22 18:46:06 +02:00
fixed auto attack (<3 showmo)
This commit is contained in:
parent
56491266cc
commit
bab81a809c
6 changed files with 19 additions and 18 deletions
|
@ -84,8 +84,8 @@ namespace FFXIVClassic_Map_Server.Actors
|
|||
|
||||
public uint animationId = 0;
|
||||
|
||||
public uint currentTarget = 0xC0000000;
|
||||
public uint currentLockedTarget = 0xC0000000;
|
||||
public uint currentTarget = Actor.INVALID_ACTORID;
|
||||
public uint currentLockedTarget = Actor.INVALID_ACTORID;
|
||||
|
||||
public uint currentActorIcon = 0;
|
||||
|
||||
|
@ -391,9 +391,9 @@ namespace FFXIVClassic_Map_Server.Actors
|
|||
{
|
||||
if (targid == 0)
|
||||
{
|
||||
if (currentTarget != 0xC0000000)
|
||||
if (currentTarget != Actor.INVALID_ACTORID)
|
||||
targid = currentTarget;
|
||||
else if (currentLockedTarget != 0xC0000000)
|
||||
else if (currentLockedTarget != Actor.INVALID_ACTORID)
|
||||
targid = currentLockedTarget;
|
||||
}
|
||||
//if (targid != 0)
|
||||
|
@ -416,7 +416,7 @@ namespace FFXIVClassic_Map_Server.Actors
|
|||
{
|
||||
this.newMainState = newMainState;
|
||||
}
|
||||
else
|
||||
else if (IsEngaged())
|
||||
{
|
||||
aiContainer.Disengage();
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue