Fixed broken KickEvent. Cleaned up Retainers to use the ItemPacakageUpdate packet. Fixed db references for retainer inventory.

This commit is contained in:
Filip Maj
2017-12-17 15:25:42 -05:00
parent 08dfd22bfa
commit 611140568e
4 changed files with 26 additions and 34 deletions

View File

@@ -1694,7 +1694,7 @@ namespace FFXIVClassic_Map_Server.Actors
runningEvents.Pop();
List<LuaParam> lParams = LuaUtils.CreateLuaParamList(parameters);
SubPacket spacket = KickEventPacket.BuildPacket(actorId, actor.actorId, 0x75dc1, conditionName, lParams);
SubPacket spacket = KickEventPacket.BuildPacket(actorId, actor.actorId, 0x75dc1705, conditionName, lParams);
spacket.DebugPrintSubPacket();
QueuePacket(spacket);
}
@@ -1885,6 +1885,11 @@ namespace FFXIVClassic_Map_Server.Actors
}
}
public Retainer GetSpawnedRetainer()
{
return currentSpawnedRetainer;
}
public void StartTradeTransaction(Player otherPlayer)
{
myOfferings = new Inventory(this, 4, Inventory.TRADE, true);