Minor changes on previous commit.
This commit is contained in:
@@ -331,7 +331,7 @@ public class Q00255_Tutorial extends Quest
|
|||||||
{
|
{
|
||||||
final L2PcInstance player = event.getActiveChar();
|
final L2PcInstance player = event.getActiveChar();
|
||||||
final QuestState qs = getQuestState(player, false);
|
final QuestState qs = getQuestState(player, false);
|
||||||
if ((qs != null) && (qs.getMemoState() == 2))
|
if ((qs != null) && qs.isMemoState(2))
|
||||||
{
|
{
|
||||||
qs.setMemoState(3);
|
qs.setMemoState(3);
|
||||||
playSound(player, "ItemSound.quest_tutorial");
|
playSound(player, "ItemSound.quest_tutorial");
|
||||||
@@ -350,16 +350,16 @@ public class Q00255_Tutorial extends Quest
|
|||||||
if (qs.isMemoState(1))
|
if (qs.isMemoState(1))
|
||||||
{
|
{
|
||||||
showOnScreenMsg(event.getActiveChar(), NpcStringId.SPEAK_WITH_THE_NEWBIE_HELPER, ExShowScreenMessage.TOP_CENTER, 5000);
|
showOnScreenMsg(event.getActiveChar(), NpcStringId.SPEAK_WITH_THE_NEWBIE_HELPER, ExShowScreenMessage.TOP_CENTER, 5000);
|
||||||
showTutorialHtml(event.getActiveChar(), "tutorial_04.html");
|
|
||||||
final int classId = event.getActiveChar().getClassId().getId();
|
final int classId = event.getActiveChar().getClassId().getId();
|
||||||
addRadar(event.getActiveChar(), HELPER_LOCATION.get(classId).getX(), HELPER_LOCATION.get(classId).getY(), HELPER_LOCATION.get(classId).getZ());
|
addRadar(event.getActiveChar(), HELPER_LOCATION.get(classId).getX(), HELPER_LOCATION.get(classId).getY(), HELPER_LOCATION.get(classId).getZ());
|
||||||
|
showTutorialHtml(event.getActiveChar(), "tutorial_04.html");
|
||||||
}
|
}
|
||||||
else if (qs.isMemoState(3))
|
else if (qs.isMemoState(3))
|
||||||
{
|
{
|
||||||
showOnScreenMsg(event.getActiveChar(), NpcStringId.SPEAK_WITH_THE_NEWBIE_HELPER, ExShowScreenMessage.TOP_CENTER, 5000);
|
showOnScreenMsg(event.getActiveChar(), NpcStringId.SPEAK_WITH_THE_NEWBIE_HELPER, ExShowScreenMessage.TOP_CENTER, 5000);
|
||||||
showTutorialHtml(event.getActiveChar(), "tutorial_06.html");
|
|
||||||
final int classId = event.getActiveChar().getClassId().getId();
|
final int classId = event.getActiveChar().getClassId().getId();
|
||||||
addRadar(event.getActiveChar(), HELPER_LOCATION.get(classId).getX(), HELPER_LOCATION.get(classId).getY(), HELPER_LOCATION.get(classId).getZ());
|
addRadar(event.getActiveChar(), HELPER_LOCATION.get(classId).getX(), HELPER_LOCATION.get(classId).getY(), HELPER_LOCATION.get(classId).getZ());
|
||||||
|
showTutorialHtml(event.getActiveChar(), "tutorial_06.html");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user