public static ETier GetRequiredSkillTier(BaseItem p_equip) { ISkillDependant skillDependant = p_equip as ISkillDependant; if (skillDependant != null) { return(skillDependant.GetRequiredSkillTier()); } return(ETier.NONE); }
public static Int32 GetRequiredSkillID(BaseItem p_equip) { ISkillDependant skillDependant = p_equip as ISkillDependant; if (skillDependant != null) { return(skillDependant.GetRequiredSkillID()); } return(0); }