|
@@ -39,7 +39,7 @@ public class AreaCorpseMob implements ITargetTypeHandler
|
|
|
@Override
|
|
|
public L2Object[] getTargetList(L2Skill skill, L2Character activeChar, boolean onlyFirst, L2Character target)
|
|
|
{
|
|
|
- if ((target == null) || !target.isL2Attackable() || !target.isDead())
|
|
|
+ if ((target == null) || !target.isAttackable() || !target.isDead())
|
|
|
{
|
|
|
activeChar.sendPacket(SystemMessageId.TARGET_IS_INCORRECT);
|
|
|
return EMPTY_TARGET_LIST;
|
|
@@ -60,7 +60,7 @@ public class AreaCorpseMob implements ITargetTypeHandler
|
|
|
final Collection<L2Character> objs = activeChar.getKnownList().getKnownCharacters();
|
|
|
for (L2Character obj : objs)
|
|
|
{
|
|
|
- if (!(obj.isL2Attackable() || obj.isPlayable()) || !Util.checkIfInRange(skill.getAffectRange(), target, obj, true))
|
|
|
+ if (!(obj.isAttackable() || obj.isPlayable()) || !Util.checkIfInRange(skill.getAffectRange(), target, obj, true))
|
|
|
{
|
|
|
continue;
|
|
|
}
|