using ODMO.Commons.Writers;
namespace ODMO.Commons.Packets.GameServer.Combat
{
public class CastSkillPacket : PacketWriter
{
private const int PacketNumber = 1015;
///
/// Uses the skill into the target.
///
/// The skill source slot
/// The source of the skill
/// The target of the skill
public CastSkillPacket(byte skillSlot, int attackerHandler, int targetHandler)
{
Type(PacketNumber);
WriteByte(skillSlot);
WriteShort((short)attackerHandler);
WriteShort((short)targetHandler);
}
}
}