Removed some redundant quest checks.
This commit is contained in:
@@ -121,8 +121,6 @@ public class Q10522_TheDarkSecretOfVarkaSilenos extends Quest
|
|||||||
{
|
{
|
||||||
String htmltext = getNoQuestMsg(player);
|
String htmltext = getNoQuestMsg(player);
|
||||||
final QuestState qs = getQuestState(player, true);
|
final QuestState qs = getQuestState(player, true);
|
||||||
if (npc.getId() == HANSEN)
|
|
||||||
{
|
|
||||||
switch (qs.getState())
|
switch (qs.getState())
|
||||||
{
|
{
|
||||||
case State.CREATED:
|
case State.CREATED:
|
||||||
@@ -148,7 +146,6 @@ public class Q10522_TheDarkSecretOfVarkaSilenos extends Quest
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
return htmltext;
|
return htmltext;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -103,8 +103,6 @@ public class Q10523_TheAssassinationOfTheVarkaSilenosCommander extends Quest
|
|||||||
{
|
{
|
||||||
String htmltext = getNoQuestMsg(player);
|
String htmltext = getNoQuestMsg(player);
|
||||||
final QuestState qs = getQuestState(player, true);
|
final QuestState qs = getQuestState(player, true);
|
||||||
if (npc.getId() == HANSEN)
|
|
||||||
{
|
|
||||||
switch (qs.getState())
|
switch (qs.getState())
|
||||||
{
|
{
|
||||||
case State.CREATED:
|
case State.CREATED:
|
||||||
@@ -130,7 +128,6 @@ public class Q10523_TheAssassinationOfTheVarkaSilenosCommander extends Quest
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
return htmltext;
|
return htmltext;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -106,8 +106,6 @@ public class Q10524_TheAssassinationOfTheVarkaSilenosCommanderChief extends Ques
|
|||||||
{
|
{
|
||||||
String htmltext = getNoQuestMsg(player);
|
String htmltext = getNoQuestMsg(player);
|
||||||
final QuestState qs = getQuestState(player, true);
|
final QuestState qs = getQuestState(player, true);
|
||||||
if (npc.getId() == HANSEN)
|
|
||||||
{
|
|
||||||
switch (qs.getState())
|
switch (qs.getState())
|
||||||
{
|
{
|
||||||
case State.CREATED:
|
case State.CREATED:
|
||||||
@@ -133,7 +131,6 @@ public class Q10524_TheAssassinationOfTheVarkaSilenosCommanderChief extends Ques
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
return htmltext;
|
return htmltext;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -126,8 +126,6 @@ public class Q10526_TheDarkSecretOfTheKetraOrcs extends Quest
|
|||||||
{
|
{
|
||||||
String htmltext = getNoQuestMsg(player);
|
String htmltext = getNoQuestMsg(player);
|
||||||
final QuestState qs = getQuestState(player, true);
|
final QuestState qs = getQuestState(player, true);
|
||||||
if (npc.getId() == LUGONNES)
|
|
||||||
{
|
|
||||||
switch (qs.getState())
|
switch (qs.getState())
|
||||||
{
|
{
|
||||||
case State.CREATED:
|
case State.CREATED:
|
||||||
@@ -153,7 +151,6 @@ public class Q10526_TheDarkSecretOfTheKetraOrcs extends Quest
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
return htmltext;
|
return htmltext;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -104,8 +104,6 @@ public class Q10527_TheAssassinationOfTheKetraOrcCommander extends Quest
|
|||||||
{
|
{
|
||||||
String htmltext = getNoQuestMsg(player);
|
String htmltext = getNoQuestMsg(player);
|
||||||
final QuestState qs = getQuestState(player, true);
|
final QuestState qs = getQuestState(player, true);
|
||||||
if (npc.getId() == LUGONNES)
|
|
||||||
{
|
|
||||||
switch (qs.getState())
|
switch (qs.getState())
|
||||||
{
|
{
|
||||||
case State.CREATED:
|
case State.CREATED:
|
||||||
@@ -131,7 +129,6 @@ public class Q10527_TheAssassinationOfTheKetraOrcCommander extends Quest
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
return htmltext;
|
return htmltext;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -107,8 +107,6 @@ public class Q10528_TheAssassinationOfTheKetraOrcChief extends Quest
|
|||||||
{
|
{
|
||||||
String htmltext = getNoQuestMsg(player);
|
String htmltext = getNoQuestMsg(player);
|
||||||
final QuestState qs = getQuestState(player, true);
|
final QuestState qs = getQuestState(player, true);
|
||||||
if (npc.getId() == LUGONNES)
|
|
||||||
{
|
|
||||||
switch (qs.getState())
|
switch (qs.getState())
|
||||||
{
|
{
|
||||||
case State.CREATED:
|
case State.CREATED:
|
||||||
@@ -134,7 +132,6 @@ public class Q10528_TheAssassinationOfTheKetraOrcChief extends Quest
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
return htmltext;
|
return htmltext;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user