Просмотр исходного кода

BETA: Minor cleanup for skill fields.

Zoey76 12 лет назад
Родитель
Сommit
37cc32a67a

+ 0 - 32
L2J_Server_BETA/java/com/l2jserver/gameserver/model/skills/L2Skill.java

@@ -254,11 +254,6 @@ public abstract class L2Skill implements IChanceSkillTrigger
 	
 	private int _npcId = 0;
 	
-	// Appearance
-	private final int _faceId;
-	private final int _hairColorId;
-	private final int _hairStyleId;
-	
 	protected L2Skill(StatsSet set)
 	{
 		_id = set.getInteger("skill_id");
@@ -490,9 +485,6 @@ public abstract class L2Skill implements IChanceSkillTrigger
 		}
 		_maxTargets = set.getInteger("maxTargets", -1);
 		_npcId = set.getInteger("npcId", 0);
-		_faceId = set.getInteger("faceId", -1);
-		_hairColorId = set.getInteger("hairColorId", -1);
-		_hairStyleId = set.getInteger("hairStyleId", -1);
 	}
 	
 	public abstract void useSkill(L2Character caster, L2Object[] targets);
@@ -2106,30 +2098,6 @@ public abstract class L2Skill implements IChanceSkillTrigger
 		return _npcId;
 	}
 	
-	/**
-	 * @return the _faceId
-	 */
-	public int getFaceId()
-	{
-		return _faceId;
-	}
-	
-	/**
-	 * @return the _hairColorId
-	 */
-	public int getHairColorId()
-	{
-		return _hairColorId;
-	}
-	
-	/**
-	 * @return the _hairStyleId
-	 */
-	public int getHairStyleId()
-	{
-		return _hairStyleId;
-	}
-	
 	/**
 	 * @param types
 	 * @return {@code true} if at least one of specified {@link L2EffectType} types present on the current skill's effects, {@code false} otherwise.