{
L2Player player = L2ObjectsStorage.getPlayer(objectId);
L2Skill skill = SkillTable.getInstance().getInfo(id, level);
for(EffectTemplate et : skill.getEffectTemplates())
{
Env env = new Env(pet ? player.getPet() : player, pet ? player.getPet() : player, skill);
L2Effect effect = et.getEffect(env);
effect.setPeriod(Config.communityBuffTimeModifier * 60 * 1000);
(pet ? player.getPet() : player).getEffectList().addEffect(effect);
}
}