Define Death Knight characters by their base class.
This commit is contained in:
@@ -6765,7 +6765,7 @@ public class Player extends Playable
|
|||||||
{
|
{
|
||||||
player._activeClass = activeClassId;
|
player._activeClass = activeClassId;
|
||||||
}
|
}
|
||||||
if (CategoryData.getInstance().isInCategory(CategoryType.DEATH_KNIGHT_ALL_CLASS, activeClassId))
|
if (CategoryData.getInstance().isInCategory(CategoryType.DEATH_KNIGHT_ALL_CLASS, player.getBaseClass()))
|
||||||
{
|
{
|
||||||
player._isDeathKnight = true;
|
player._isDeathKnight = true;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6702,7 +6702,7 @@ public class Player extends Playable
|
|||||||
{
|
{
|
||||||
player._activeClass = activeClassId;
|
player._activeClass = activeClassId;
|
||||||
}
|
}
|
||||||
if (CategoryData.getInstance().isInCategory(CategoryType.DEATH_KNIGHT_ALL_CLASS, activeClassId))
|
if (CategoryData.getInstance().isInCategory(CategoryType.DEATH_KNIGHT_ALL_CLASS, player.getBaseClass()))
|
||||||
{
|
{
|
||||||
player._isDeathKnight = true;
|
player._isDeathKnight = true;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6747,7 +6747,7 @@ public class Player extends Playable
|
|||||||
{
|
{
|
||||||
player._activeClass = activeClassId;
|
player._activeClass = activeClassId;
|
||||||
}
|
}
|
||||||
if (CategoryData.getInstance().isInCategory(CategoryType.DEATH_KNIGHT_ALL_CLASS, activeClassId))
|
if (CategoryData.getInstance().isInCategory(CategoryType.DEATH_KNIGHT_ALL_CLASS, player.getBaseClass()))
|
||||||
{
|
{
|
||||||
player._isDeathKnight = true;
|
player._isDeathKnight = true;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6747,7 +6747,7 @@ public class Player extends Playable
|
|||||||
{
|
{
|
||||||
player._activeClass = activeClassId;
|
player._activeClass = activeClassId;
|
||||||
}
|
}
|
||||||
if (CategoryData.getInstance().isInCategory(CategoryType.DEATH_KNIGHT_ALL_CLASS, activeClassId))
|
if (CategoryData.getInstance().isInCategory(CategoryType.DEATH_KNIGHT_ALL_CLASS, player.getBaseClass()))
|
||||||
{
|
{
|
||||||
player._isDeathKnight = true;
|
player._isDeathKnight = true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user