added status effect saving

- added some of the packets to add/remove effects (todo: battle packet too)
This commit is contained in:
Tahir Akhlaq
2017-07-16 17:35:10 +01:00
parent d9d185d7e6
commit 53207a9ff0
7 changed files with 132 additions and 56 deletions

View File

@@ -50,7 +50,8 @@ namespace FFXIVClassic_Map_Server.actors.chara.ai.state
{
var damage = utils.AttackUtils.CalculateDamage(owner, target);
lua.LuaEngine.GetInstance().CallLuaFunction(owner, target, "onAttack", false, damage);
// onAttack(actor, target, damage)
lua.LuaEngine.CallLuaBattleAction(owner, "onAttack", false, owner, target, damage);
//var packet = BattleAction1Packet.BuildPacket(owner.actorId, target.actorId);