mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-08-01 07:16:19 +02:00
Update substate and implemented it into Character. Cleaned up more code mix.
This commit is contained in:
parent
c55145d715
commit
7c7742fb35
10 changed files with 37 additions and 31 deletions
|
@ -167,9 +167,9 @@ namespace FFXIVClassic_Map_Server.Actors
|
|||
return SetActorIconPacket.BuildPacket(actorId, currentActorIcon);
|
||||
}
|
||||
|
||||
public SubPacket CreateIdleAnimationPacket()
|
||||
public SubPacket CreateSubStatePacket()
|
||||
{
|
||||
return SetActorSubStatePacket.BuildPacket(actorId, 0, 0, 0, 0, 0, 0, animationId);
|
||||
return SetActorSubStatePacket.BuildPacket(actorId, currentSubState);
|
||||
}
|
||||
|
||||
public void SetQuestGraphic(Player player, int graphicNum)
|
||||
|
@ -219,12 +219,6 @@ namespace FFXIVClassic_Map_Server.Actors
|
|||
zone.BroadcastPacketAroundActor(this, PlayAnimationOnActorPacket.BuildPacket(actorId, animId));
|
||||
}
|
||||
|
||||
public void SendChant(int left, int right)
|
||||
{
|
||||
SetActorSubStatePacket.BuildPacket(actorId, 0, left, right, 0, 0, 0, 0).DebugPrintSubPacket();
|
||||
zone.BroadcastPacketAroundActor(this, SetActorSubStatePacket.BuildPacket(actorId, 0, left, right, 0, 0, 0, 0));
|
||||
}
|
||||
|
||||
public void DoBattleAction(ushort commandId, uint animationId)
|
||||
{
|
||||
zone.BroadcastPacketAroundActor(this, BattleActionX00Packet.BuildPacket(actorId, animationId, commandId));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue