Sync with L2JServer Jan 24th 2015.

This commit is contained in:
mobius
2015-01-24 20:02:32 +00:00
parent d349bd3924
commit 1c6301c46d
1012 changed files with 23069 additions and 6307 deletions

View File

@@ -349,7 +349,7 @@ public final class Q00511_AwlUnderFoot extends Quest
@Override
public String onAttack(L2Npc npc, L2PcInstance player, int damage, boolean isSummon)
{
L2Playable attacker = (isSummon ? player.getSummon() : player);
L2Playable attacker = (isSummon ? player.getServitors().values().stream().findFirst().orElse(player.getPet()) : player);
if ((attacker.getLevel() - npc.getLevel()) >= 9)
{
if ((attacker.getBuffCount() > 0) || (attacker.getDanceCount() > 0))