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

This commit is contained in:
Filip Maj committed 2018-04-07 13:47:31 -04:00
1 parent 08dfd22bfa
commit 611140568e
4 files changed
+26 -34

No files matched your search

@@ -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);