public Prepare ( |
||
creature | ||
skill | Skill | |
packet | Aura.Shared.Network.Packet | |
return | bool |
public bool Prepare(Creature creature, Skill skill, Packet packet)
{
var itemEntityId = packet.GetLong();
var hwEntityId = packet.GetLong();
// Beware, the client uses the entity ids you send back for the
// Complete packet. If you switch them around the handler would
// bless the HW and delete the item without security checks.
Send.SkillUse(creature, skill.Info.Id, itemEntityId, hwEntityId);
return true;
}