_clanLeaderSkill = SkillTable.getInstance().getInfo(19009, 1);
for (Player member : getOnlineMembers(0))
{
for (EffectTemplate et : _clanLeaderSkill.getEffectTemplates())
{
Effect effect = et.getEffect(new Env(member, member, _clanLeaderSkill));
if (effect != null)
{
member.getEffectList().addEffect(effect);
}
}
}
}
else if (getLeader().isOnline())
{
_clanLeaderSkill = SkillTable.getInstance().getInfo(19009, 1);
for (EffectTemplate et : _clanLeaderSkill.getEffectTemplates())
{
Effect effect = et.getEffect(new Env(activeChar, activeChar, _clanLeaderSkill));
if (effect != null)
{
activeChar.getEffectList().addEffect(effect);
}
}