public override SpellFailedReason InitializeTarget(WorldObject target) { Unit unit = (Unit)target; if (!this.Cast.CasterChar.Skills.CheckSkill(SkillHandler.GetSkill((SkinningType)this.Effect.MiscValue), unit.Level * 5)) { return(SpellFailedReason.TargetUnskinnable); } return(unit.Loot != null && !unit.Loot.IsReleased ? SpellFailedReason.TargetNotLooted : SpellFailedReason.Ok); }