Beauty shop should work for Death Knight dualclass.
This commit is contained in:
@@ -16,6 +16,8 @@
|
||||
*/
|
||||
package org.l2jmobius.gameserver.model;
|
||||
|
||||
import org.l2jmobius.gameserver.data.xml.CategoryData;
|
||||
import org.l2jmobius.gameserver.enums.CategoryType;
|
||||
import org.l2jmobius.gameserver.model.itemcontainer.PlayerInventory;
|
||||
import org.l2jmobius.gameserver.model.variables.PlayerVariables;
|
||||
|
||||
@@ -207,6 +209,10 @@ public class CharSelectInfoPackage
|
||||
|
||||
public int getFace()
|
||||
{
|
||||
if (CategoryData.getInstance().isInCategory(CategoryType.DEATH_KNIGHT_ALL_CLASS, _classId))
|
||||
{
|
||||
return _face;
|
||||
}
|
||||
return _vars.getInt("visualFaceId", _face);
|
||||
}
|
||||
|
||||
@@ -217,6 +223,10 @@ public class CharSelectInfoPackage
|
||||
|
||||
public int getHairColor()
|
||||
{
|
||||
if (CategoryData.getInstance().isInCategory(CategoryType.DEATH_KNIGHT_ALL_CLASS, _classId))
|
||||
{
|
||||
return _hairColor;
|
||||
}
|
||||
return _vars.getInt("visualHairColorId", _hairColor);
|
||||
}
|
||||
|
||||
@@ -227,6 +237,10 @@ public class CharSelectInfoPackage
|
||||
|
||||
public int getHairStyle()
|
||||
{
|
||||
if (CategoryData.getInstance().isInCategory(CategoryType.DEATH_KNIGHT_ALL_CLASS, _classId))
|
||||
{
|
||||
return _hairStyle;
|
||||
}
|
||||
return _vars.getInt("visualHairId", _hairStyle);
|
||||
}
|
||||
|
||||
|
@@ -13698,6 +13698,10 @@ public class Player extends Playable
|
||||
*/
|
||||
public int getVisualHair()
|
||||
{
|
||||
if (CategoryData.getInstance().isInCategory(CategoryType.DEATH_KNIGHT_ALL_CLASS, getClassId().getId()))
|
||||
{
|
||||
return _appearance.getHairStyle();
|
||||
}
|
||||
return getVariables().getInt("visualHairId", _appearance.getHairStyle());
|
||||
}
|
||||
|
||||
@@ -13706,6 +13710,10 @@ public class Player extends Playable
|
||||
*/
|
||||
public int getVisualHairColor()
|
||||
{
|
||||
if (CategoryData.getInstance().isInCategory(CategoryType.DEATH_KNIGHT_ALL_CLASS, getClassId().getId()))
|
||||
{
|
||||
return _appearance.getHairColor();
|
||||
}
|
||||
return getVariables().getInt("visualHairColorId", _appearance.getHairColor());
|
||||
}
|
||||
|
||||
@@ -13714,6 +13722,10 @@ public class Player extends Playable
|
||||
*/
|
||||
public int getVisualFace()
|
||||
{
|
||||
if (CategoryData.getInstance().isInCategory(CategoryType.DEATH_KNIGHT_ALL_CLASS, getClassId().getId()))
|
||||
{
|
||||
return _appearance.getFace();
|
||||
}
|
||||
return getVariables().getInt("visualFaceId", _appearance.getFace());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user