mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-12 07:24:37 +02:00
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:
parent
9f077190a3
commit
214d730a58
13 changed files with 208 additions and 124 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue