@Override public double getFlavorMatch(Faction faction) { return ((target.getTechLevel().getTotalTechLevel() / Globals.MAX_TECH_LEVEL) * (faction.getDiplomacy() + faction.getAggression()) / 2.0); }
@Override public boolean canPerform(Faction faction) { return world.hasSpy(faction) && !target.getTechLevel().isMinimum(); }