Sync with L2JServer Jan 24th 2015.
This commit is contained in:
@@ -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))
|
||||
|
Reference in New Issue
Block a user