예제 #1
0
파일: MSkill.cs 프로젝트: zlbsy/sh109
 public static bool IsWeaponType(MSkill skill, WeaponType type)
 {
     return(skill.weapon_types.Length == 0 || System.Array.Exists(skill.weapon_types, s => s == type));
 }
예제 #2
0
파일: MSkill.cs 프로젝트: zlbsy/sh109
 public int resistance_earth; //抗土
 public static bool IsSkillType(MSkill skill, SkillType type)
 {
     return(System.Array.Exists(skill.types, s => s == type));
 }