add some more locks, fixed typo in AddHP, add missing ability

This commit is contained in:
Tahir Akhlaq committed 2017-08-23 03:22:17 +01:00
1 parent c79b5c9992
commit 54af893570
8 files changed
+146 -111

No files matched your search

@@ -97,7 +97,7 @@ namespace FFXIVClassic_Map_Server.actors.chara.ai.state
if (target is Player)
((Player)target).SendPacket("139_attack");
}
target.AddHP((short)damage);
target.DelHP((short)damage);
attackTime = attackTime.AddMilliseconds(owner.GetAttackDelayMs());
owner.LookAt(target);
//this.errorPacket = BattleActionX01Packet.BuildPacket(target.actorId, owner.actorId, target.actorId, 0, effectId, 0, (ushort)BattleActionX01PacketCommand.Attack, (ushort)damage, 0);