else
partyLvl = pl.getLevel();
}
}
}
L2PlayableInstance summon = pl.getPet();
if (summon != null && summon instanceof L2PetInstance)
{
reward2 = rewards.get(summon);
if (reward2 != null) // Pets are only added if they have done damage
{
if (Util.checkIfInRange(Config.ALT_PARTY_RANGE, this, summon, true))
{
partyDmg += reward2._dmg; // Add summon damages to party damages
rewardedMembers.add(summon);
if (summon.getLevel() > partyLvl)
partyLvl = summon.getLevel();
}
rewards.remove(summon); // Remove the summon from the L2Attackable rewards
}
}
}