mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-08 05:24:34 +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
|
@ -148,15 +148,13 @@ namespace FFXIVClassic_Map_Server
|
|||
|
||||
SetTargetPacket setTarget = new SetTargetPacket(subpacket.data);
|
||||
session.GetActor().currentTarget = setTarget.actorID;
|
||||
session.GetActor().isAutoAttackEnabled = setTarget.attackTarget != 0xE0000000;
|
||||
session.GetActor().BroadcastPacket(SetActorTargetAnimatedPacket.BuildPacket(session.id, setTarget.actorID), true);
|
||||
break;
|
||||
//Lock Target
|
||||
case 0x00CC:
|
||||
LockTargetPacket lockTarget = new LockTargetPacket(subpacket.data);
|
||||
session.GetActor().currentLockedTarget = lockTarget.actorID;
|
||||
// todo: this really needs figuring out..
|
||||
session.GetActor().isAutoAttackEnabled = lockTarget.otherVal == 0x00000040;
|
||||
|
||||
break;
|
||||
//Start Event
|
||||
case 0x012D:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue