@Override public boolean validate(Stat2 stat, IStatFunction statFunction) { return conditions != null ? conditions.validate(stat, statFunction) : true; }
/** Check all conditions before using skill */ private boolean preUsageCheck() { Conditions skillConditions = skillTemplate.getUseconditions(); return skillConditions != null ? skillConditions.validate(this) : true; }
/** Check all conditions after using skill */ private boolean endCondCheck() { Conditions skillConditions = skillTemplate.getEndConditions(); return skillConditions != null ? skillConditions.validate(this) : true; }
/** Check all conditions before starting cast */ protected boolean preCastCheck() { Conditions skillConditions = skillTemplate.getStartconditions(); return skillConditions != null ? skillConditions.validate(this) : true; }