Removed some redundant quest checks.

This commit is contained in:
MobiusDev
2018-03-30 02:42:02 +00:00
parent a4b68e37e7
commit fb861c24a7
6 changed files with 102 additions and 120 deletions

View File

@@ -121,8 +121,6 @@ public class Q10522_TheDarkSecretOfVarkaSilenos extends Quest
{
String htmltext = getNoQuestMsg(player);
final QuestState qs = getQuestState(player, true);
if (npc.getId() == HANSEN)
{
switch (qs.getState())
{
case State.CREATED:
@@ -148,7 +146,6 @@ public class Q10522_TheDarkSecretOfVarkaSilenos extends Quest
break;
}
}
}
return htmltext;
}

View File

@@ -103,8 +103,6 @@ public class Q10523_TheAssassinationOfTheVarkaSilenosCommander extends Quest
{
String htmltext = getNoQuestMsg(player);
final QuestState qs = getQuestState(player, true);
if (npc.getId() == HANSEN)
{
switch (qs.getState())
{
case State.CREATED:
@@ -130,7 +128,6 @@ public class Q10523_TheAssassinationOfTheVarkaSilenosCommander extends Quest
break;
}
}
}
return htmltext;
}

View File

@@ -106,8 +106,6 @@ public class Q10524_TheAssassinationOfTheVarkaSilenosCommanderChief extends Ques
{
String htmltext = getNoQuestMsg(player);
final QuestState qs = getQuestState(player, true);
if (npc.getId() == HANSEN)
{
switch (qs.getState())
{
case State.CREATED:
@@ -133,7 +131,6 @@ public class Q10524_TheAssassinationOfTheVarkaSilenosCommanderChief extends Ques
break;
}
}
}
return htmltext;
}

View File

@@ -126,8 +126,6 @@ public class Q10526_TheDarkSecretOfTheKetraOrcs extends Quest
{
String htmltext = getNoQuestMsg(player);
final QuestState qs = getQuestState(player, true);
if (npc.getId() == LUGONNES)
{
switch (qs.getState())
{
case State.CREATED:
@@ -153,7 +151,6 @@ public class Q10526_TheDarkSecretOfTheKetraOrcs extends Quest
break;
}
}
}
return htmltext;
}

View File

@@ -104,8 +104,6 @@ public class Q10527_TheAssassinationOfTheKetraOrcCommander extends Quest
{
String htmltext = getNoQuestMsg(player);
final QuestState qs = getQuestState(player, true);
if (npc.getId() == LUGONNES)
{
switch (qs.getState())
{
case State.CREATED:
@@ -131,7 +129,6 @@ public class Q10527_TheAssassinationOfTheKetraOrcCommander extends Quest
break;
}
}
}
return htmltext;
}

View File

@@ -107,8 +107,6 @@ public class Q10528_TheAssassinationOfTheKetraOrcChief extends Quest
{
String htmltext = getNoQuestMsg(player);
final QuestState qs = getQuestState(player, true);
if (npc.getId() == LUGONNES)
{
switch (qs.getState())
{
case State.CREATED:
@@ -134,7 +132,6 @@ public class Q10528_TheAssassinationOfTheKetraOrcChief extends Quest
break;
}
}
}
return htmltext;
}