{
L2Skill skill = SkillTable.getInstance().getInfo(skillId, 2);
if(player.getEffectList().getEffectsBySkill(skill) == null && GeoEngine.canSeeTarget(_caster, player, false))
{
skill.getEffects(_caster, player, false, false);
broadcastPacket(new MagicSkillUse(_caster, player, skill.getId(), 2, skill.getHitTime(), 0));
}
L2Summon summon = player.getPet();
if(summon != null && summon.getEffectList().getEffectsBySkill(skill) == null && summon.isInRangeZ(_caster, 900) && GeoEngine.canSeeTarget(_caster, summon, false))
{
skill.getEffects(_caster, summon, false, false);
broadcastPacket(new MagicSkillUse(_caster, summon, skill.getId(), 2, skill.getHitTime(), 0));
}
}