Comment tweak (#5270)

* - Basic AI logic for Tireless Provisioner.

* - Comment tweak
This commit is contained in:
Agetian
2024-05-21 14:34:43 +03:00
committed by GitHub
parent f10330c5b7
commit a06b29ccd6

View File

@@ -280,6 +280,7 @@ public class ChooseGenericEffectAi extends SpellAbilityAi {
} else if ("FoodOrTreasure".equals(logic)) {
// Tireless Provisioner
// TODO: implement a better way to check for possible benefits in each case. If made generic, replace
// fixed spells.get(N) with a way to detect which SA creates which token
// fixed spells.get(N) with a day to detect which SA creates which token
return ComputerUtil.aiLifeInDanger(player, false, 0) ? spells.get(0) : spells.get(1);
}