@Override public boolean validate(Effect effect) { if (effect.getEffected() == null || effect.getEffector() == null) return false; return PositionUtil.isInFrontOfTarget(effect.getEffector(), effect.getEffected()); }
@Override public boolean validate(Skill env) { if (env.getFirstTarget() == null || env.getEffector() == null) return false; return PositionUtil.isInFrontOfTarget(env.getEffector(), env.getFirstTarget()); }