Sync with L2JServer Jan 24th 2015.
This commit is contained in:
@ -74,11 +74,19 @@ public class Clan implements ITargetTypeHandler
|
||||
final int radius = skill.getAffectRange();
|
||||
final L2Clan clan = player.getClan();
|
||||
|
||||
if (Skill.addSummon(activeChar, player, radius, false))
|
||||
if (Skill.addPet(activeChar, player, radius, false))
|
||||
{
|
||||
targetList.add(player.getSummon());
|
||||
targetList.add(player.getPet());
|
||||
}
|
||||
|
||||
player.getServitors().values().forEach(s ->
|
||||
{
|
||||
if (Skill.addCharacter(activeChar, s, radius, false))
|
||||
{
|
||||
targetList.add(s);
|
||||
}
|
||||
});
|
||||
|
||||
if (clan != null)
|
||||
{
|
||||
L2PcInstance obj;
|
||||
@ -114,11 +122,19 @@ public class Clan implements ITargetTypeHandler
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!onlyFirst && Skill.addSummon(activeChar, obj, radius, false))
|
||||
if (Skill.addPet(activeChar, obj, radius, false))
|
||||
{
|
||||
targetList.add(obj.getSummon());
|
||||
targetList.add(obj.getPet());
|
||||
}
|
||||
|
||||
obj.getServitors().values().forEach(s ->
|
||||
{
|
||||
if (Skill.addCharacter(activeChar, s, radius, false))
|
||||
{
|
||||
targetList.add(s);
|
||||
}
|
||||
});
|
||||
|
||||
if (!Skill.addCharacter(activeChar, obj, radius, false))
|
||||
{
|
||||
continue;
|
||||
|
Reference in New Issue
Block a user