예제 #1
0
 @Override
 public boolean validate(Stat2 stat, IStatFunction statFunction) {
   return conditions != null ? conditions.validate(stat, statFunction) : true;
 }
예제 #2
0
파일: Skill.java 프로젝트: soulxj/aion-cn
 /** Check all conditions before using skill */
 private boolean preUsageCheck() {
   Conditions skillConditions = skillTemplate.getUseconditions();
   return skillConditions != null ? skillConditions.validate(this) : true;
 }
예제 #3
0
파일: Skill.java 프로젝트: soulxj/aion-cn
 /** Check all conditions after using skill */
 private boolean endCondCheck() {
   Conditions skillConditions = skillTemplate.getEndConditions();
   return skillConditions != null ? skillConditions.validate(this) : true;
 }
예제 #4
0
파일: Skill.java 프로젝트: soulxj/aion-cn
 /** Check all conditions before starting cast */
 protected boolean preCastCheck() {
   Conditions skillConditions = skillTemplate.getStartconditions();
   return skillConditions != null ? skillConditions.validate(this) : true;
 }