Skip tutorial questionmark if player already has Lada's Letter.

This commit is contained in:
MobiusDev
2017-11-18 04:28:58 +00:00
parent 706a94b59f
commit 7b02c44a18
4 changed files with 4 additions and 4 deletions

View File

@@ -269,7 +269,7 @@ public final class Q10301_ShadowOfTerrorBlackishRedFog 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) && canStartQuest(player)) if ((qs == null) && canStartQuest(player) && !hasQuestItems(player, LADA_LETTER))
{ {
player.sendPacket(new TutorialShowQuestionMark(getId())); player.sendPacket(new TutorialShowQuestionMark(getId()));
playSound(player, QuestSound.ITEMSOUND_QUEST_TUTORIAL); playSound(player, QuestSound.ITEMSOUND_QUEST_TUTORIAL);

View File

@@ -269,7 +269,7 @@ public final class Q10301_ShadowOfTerrorBlackishRedFog 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) && canStartQuest(player)) if ((qs == null) && canStartQuest(player) && !hasQuestItems(player, LADA_LETTER))
{ {
player.sendPacket(new TutorialShowQuestionMark(getId())); player.sendPacket(new TutorialShowQuestionMark(getId()));
playSound(player, QuestSound.ITEMSOUND_QUEST_TUTORIAL); playSound(player, QuestSound.ITEMSOUND_QUEST_TUTORIAL);

View File

@@ -269,7 +269,7 @@ public final class Q10301_ShadowOfTerrorBlackishRedFog 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) && canStartQuest(player)) if ((qs == null) && canStartQuest(player) && !hasQuestItems(player, LADA_LETTER))
{ {
player.sendPacket(new TutorialShowQuestionMark(getId(), 1)); player.sendPacket(new TutorialShowQuestionMark(getId(), 1));
playSound(player, QuestSound.ITEMSOUND_QUEST_TUTORIAL); playSound(player, QuestSound.ITEMSOUND_QUEST_TUTORIAL);

View File

@@ -269,7 +269,7 @@ public final class Q10301_ShadowOfTerrorBlackishRedFog 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) && canStartQuest(player)) if ((qs == null) && canStartQuest(player) && !hasQuestItems(player, LADA_LETTER))
{ {
player.sendPacket(new TutorialShowQuestionMark(getId(), 1)); player.sendPacket(new TutorialShowQuestionMark(getId(), 1));
playSound(player, QuestSound.ITEMSOUND_QUEST_TUTORIAL); playSound(player, QuestSound.ITEMSOUND_QUEST_TUTORIAL);