Quest use of isDeathKnight method.
This commit is contained in:
parent
d37bc1a0fe
commit
176213ac03
@ -230,7 +230,7 @@ public class Q00255_Tutorial extends Quest
|
|||||||
public String onFirstTalk(Npc npc, PlayerInstance player)
|
public String onFirstTalk(Npc npc, PlayerInstance player)
|
||||||
{
|
{
|
||||||
// Death Knights.
|
// Death Knights.
|
||||||
if (player.getClassId().getId() > 195)
|
if (player.isDeathKnight())
|
||||||
{
|
{
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
@ -415,7 +415,7 @@ public class Q00255_Tutorial extends Quest
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Death Knights.
|
// Death Knights.
|
||||||
if (player.getClassId().getId() > 195)
|
if (player.isDeathKnight())
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -128,7 +128,7 @@ public class Q10957_TheLifeOfADeathKnight extends Quest
|
|||||||
String htmltext = getNoQuestMsg(player);
|
String htmltext = getNoQuestMsg(player);
|
||||||
|
|
||||||
// Death Knights.
|
// Death Knights.
|
||||||
if (player.getClassId().getId() < 196)
|
if (!player.isDeathKnight())
|
||||||
{
|
{
|
||||||
return htmltext;
|
return htmltext;
|
||||||
}
|
}
|
||||||
@ -209,7 +209,7 @@ public class Q10957_TheLifeOfADeathKnight extends Quest
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Death Knights.
|
// Death Knights.
|
||||||
if (player.getClassId().getId() < 196)
|
if (!player.isDeathKnight())
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -215,7 +215,7 @@ public class Q10959_ChallengingYourDestiny extends Quest
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Death Knights.
|
// Death Knights.
|
||||||
if (player.getClassId().getId() < 196)
|
if (!player.isDeathKnight())
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -228,7 +228,7 @@ public class Q10962_NewHorizons extends Quest
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Death Knights.
|
// Death Knights.
|
||||||
if (player.getClassId().getId() > 195)
|
if (player.isDeathKnight())
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -183,7 +183,7 @@ public class Q10966_ATripBegins extends Quest
|
|||||||
case CAPTAIN_BATHIS:
|
case CAPTAIN_BATHIS:
|
||||||
{
|
{
|
||||||
// Death Knights.
|
// Death Knights.
|
||||||
if (player.getClassId().getId() > 195)
|
if (player.isDeathKnight())
|
||||||
{
|
{
|
||||||
return htmltext;
|
return htmltext;
|
||||||
}
|
}
|
||||||
@ -194,7 +194,7 @@ public class Q10966_ATripBegins extends Quest
|
|||||||
case MATHORN:
|
case MATHORN:
|
||||||
{
|
{
|
||||||
// Death Knights.
|
// Death Knights.
|
||||||
if (player.getClassId().getId() < 196)
|
if (!player.isDeathKnight())
|
||||||
{
|
{
|
||||||
return htmltext;
|
return htmltext;
|
||||||
}
|
}
|
||||||
@ -213,7 +213,7 @@ public class Q10966_ATripBegins extends Quest
|
|||||||
if (qs.isCond(1))
|
if (qs.isCond(1))
|
||||||
{
|
{
|
||||||
// Death Knights.
|
// Death Knights.
|
||||||
if (player.getClassId().getId() > 195)
|
if (player.isDeathKnight())
|
||||||
{
|
{
|
||||||
return htmltext;
|
return htmltext;
|
||||||
}
|
}
|
||||||
@ -229,7 +229,7 @@ public class Q10966_ATripBegins extends Quest
|
|||||||
case MATHORN:
|
case MATHORN:
|
||||||
{
|
{
|
||||||
// Death Knights.
|
// Death Knights.
|
||||||
if (player.getClassId().getId() < 196)
|
if (!player.isDeathKnight())
|
||||||
{
|
{
|
||||||
return htmltext;
|
return htmltext;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user