L2Skill skill;
SystemMessage sm;
skill = SkillTable.getInstance().getInfo(1204, 2);
skill.getEffects(player, player);
player.broadcastPacket(new MagicSkillUser(player, player, skill.getId(), 2, skill.getHitTime(), 0));
sm = new SystemMessage(SystemMessageId.YOU_FEEL_S1_EFFECT);
sm.addSkillName(1204);
player.sendPacket(sm);
if (!player.isMageClass())
{
//Haste Buff to Fighters
skill = SkillTable.getInstance().getInfo(1086, 1);
skill.getEffects(player, player);
player.broadcastPacket(new MagicSkillUser(player, player, skill.getId(), 1, skill.getHitTime(), 0));
sm = new SystemMessage(SystemMessageId.YOU_FEEL_S1_EFFECT);
sm.addSkillName(1086);
player.sendPacket(sm);
}else{
//Acumen Buff to Mages
skill = SkillTable.getInstance().getInfo(1085, 1);
skill.getEffects(player, player);
player.broadcastPacket(new MagicSkillUser(player, player, skill.getId(), 1, skill.getHitTime(), 0));
sm = new SystemMessage(SystemMessageId.YOU_FEEL_S1_EFFECT);
sm.addSkillName(1085);
player.sendPacket(sm);
}
} catch (Exception e) { }