Adjustments for L2Object missing overrides.

This commit is contained in:
MobiusDev 2019-02-08 07:16:55 +00:00
parent 9f55271f12
commit 356e15df23
4 changed files with 11 additions and 36 deletions

View File

@ -453,18 +453,8 @@ public abstract class L2Object
}
}
public boolean isAttackable()
{
return false;
}
public abstract boolean isAutoAttackable(L2Character attacker);
public boolean isMarker()
{
return false;
}
/**
* <B><U> Concept</U> :</B><BR>
* <BR>
@ -650,4 +640,9 @@ public abstract class L2Object
{
return false;
}
public boolean isAttackable()
{
return false;
}
}

View File

@ -2312,26 +2312,6 @@ public abstract class L2Character extends L2Object implements ISkillsHolder
return _ai != null;
}
/**
* Return True if the L2Character is RaidBoss or his minion.
* @return true, if is raid
*/
@Override
public boolean isRaid()
{
return false;
}
/**
* Return True if the L2Character is an Npc.
* @return true, if is npc
*/
@Override
public boolean isNpc()
{
return false;
}
/**
* Return a list of L2Character that attacked.
* @return the attack by list

View File

@ -18312,4 +18312,10 @@ public final class L2PcInstance extends L2Playable
}
_currentPetSkill = new SkillDat(currentSkill, ctrlPressed, shiftPressed);
}
@Override
public boolean isPlayer()
{
return true;
}
}

View File

@ -135,12 +135,6 @@ public class WayPointNode extends L2Object
changeID(Config.SELECTED_NODE_ID, SELECTED);
}
@Override
public boolean isMarker()
{
return true;
}
public final String getTitle()
{
return _title;