Added warp to public and private areas shortcut. Fixed counter printout bug. Fixed some commands. Fixed handling of the chocobo lender at the ferry docks.

This commit is contained in:
Filip Maj 2022-02-13 18:48:22 -05:00
parent 9f077190a3
commit 214d730a58
13 changed files with 208 additions and 124 deletions

View file

@ -582,7 +582,7 @@ namespace Meteor.Map.Actors
QueuePacket(SetWeatherPacket.BuildPacket(Id, SetWeatherPacket.WEATHER_CLEAR, 1));
}
public void SendZoneInPackets(WorldManager world, ushort spawnType, bool changeMap)
public void SendZoneInPackets(WorldManager world, ushort spawnType)
{
QueuePacket(SetActorIsZoningPacket.BuildPacket(Id, false));
QueuePacket(SetDalamudPacket.BuildPacket(Id, 0));
@ -979,6 +979,16 @@ namespace Meteor.Map.Actors
//CurrentArea.BroadcastPacketAroundActor(this, worldMasterMessage);
}
public void ChangeIntoNpc(Npc npc)
{
uint[] npcAppearIds = new uint[appearanceIds.Length];
for (int i = 0; i < appearanceIds.Length; i++)
npcAppearIds[i] = npc.appearanceIds[i];
SetActorAppearancePacket setappearance = new SetActorAppearancePacket(npc.modelId, npcAppearIds);
BroadcastPacket(setappearance.BuildPacket(Id), true);
}
public void GraphicChange(uint slot, uint graphicId)
{
appearanceIds[slot] = graphicId;