Fixed an issue causing the AI to use evaluationContext.powerRatio as maxWillingToLose instead of evaluationContext.powerRatio * ai->settings->getMaxArmyLossTarget(). Defense-tasks no longer ignore maxWillingToLose when the target isn't a hero.