[Classic] Custom tutorial quest.

This commit is contained in:
MobiusDev
2015-05-06 22:28:42 +00:00
parent bd54172313
commit e86a852905
32 changed files with 496 additions and 3 deletions

View File

@@ -1472,7 +1472,11 @@ public final class L2PcInstance extends L2Playable
return;
}
if (getLastQuestNpcObject() > 0)
if (quest.getId() == 255)
{
quest.notifyEvent(event, null, this);
}
else if (getLastQuestNpcObject() > 0)
{
final L2Object object = L2World.getInstance().findObject(getLastQuestNpcObject());
if (object.isNpc() && isInsideRadius(object, L2Npc.INTERACTION_DISTANCE, false, false))