using ODMO.Commons.Writers;
namespace ODMO.Commons.Packets.GameServer.Combat
{
public class KillOnSkillPacket : PacketWriter
{
private const int PacketNumber = 1021;
///
/// Uses the skill into the target.
///
/// The source of the skill
/// The target of the skill
/// The skill source slot
/// The final damage of the skill
public KillOnSkillPacket(int attackerHandler, int targetHandler, byte skillSlot, int finalDamage)
{
Type(PacketNumber);
WriteInt(attackerHandler);
WriteInt(targetHandler);
WriteInt(skillSlot);
WriteInt(finalDamage * -1);
}
}
}