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)
|
||||
{
|
||||
// Death Knights.
|
||||
if (player.getClassId().getId() > 195)
|
||||
if (player.isDeathKnight())
|
||||
{
|
||||
return null;
|
||||
}
|
||||
@ -415,7 +415,7 @@ public class Q00255_Tutorial extends Quest
|
||||
}
|
||||
|
||||
// Death Knights.
|
||||
if (player.getClassId().getId() > 195)
|
||||
if (player.isDeathKnight())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
@ -128,7 +128,7 @@ public class Q10957_TheLifeOfADeathKnight extends Quest
|
||||
String htmltext = getNoQuestMsg(player);
|
||||
|
||||
// Death Knights.
|
||||
if (player.getClassId().getId() < 196)
|
||||
if (!player.isDeathKnight())
|
||||
{
|
||||
return htmltext;
|
||||
}
|
||||
@ -209,7 +209,7 @@ public class Q10957_TheLifeOfADeathKnight extends Quest
|
||||
}
|
||||
|
||||
// Death Knights.
|
||||
if (player.getClassId().getId() < 196)
|
||||
if (!player.isDeathKnight())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
@ -215,7 +215,7 @@ public class Q10959_ChallengingYourDestiny extends Quest
|
||||
}
|
||||
|
||||
// Death Knights.
|
||||
if (player.getClassId().getId() < 196)
|
||||
if (!player.isDeathKnight())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
@ -228,7 +228,7 @@ public class Q10962_NewHorizons extends Quest
|
||||
}
|
||||
|
||||
// Death Knights.
|
||||
if (player.getClassId().getId() > 195)
|
||||
if (player.isDeathKnight())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
@ -183,7 +183,7 @@ public class Q10966_ATripBegins extends Quest
|
||||
case CAPTAIN_BATHIS:
|
||||
{
|
||||
// Death Knights.
|
||||
if (player.getClassId().getId() > 195)
|
||||
if (player.isDeathKnight())
|
||||
{
|
||||
return htmltext;
|
||||
}
|
||||
@ -194,7 +194,7 @@ public class Q10966_ATripBegins extends Quest
|
||||
case MATHORN:
|
||||
{
|
||||
// Death Knights.
|
||||
if (player.getClassId().getId() < 196)
|
||||
if (!player.isDeathKnight())
|
||||
{
|
||||
return htmltext;
|
||||
}
|
||||
@ -213,7 +213,7 @@ public class Q10966_ATripBegins extends Quest
|
||||
if (qs.isCond(1))
|
||||
{
|
||||
// Death Knights.
|
||||
if (player.getClassId().getId() > 195)
|
||||
if (player.isDeathKnight())
|
||||
{
|
||||
return htmltext;
|
||||
}
|
||||
@ -229,7 +229,7 @@ public class Q10966_ATripBegins extends Quest
|
||||
case MATHORN:
|
||||
{
|
||||
// Death Knights.
|
||||
if (player.getClassId().getId() < 196)
|
||||
if (!player.isDeathKnight())
|
||||
{
|
||||
return htmltext;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user