mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
"Tap to deal X damage to target player" should be a priority target even if it's a defender or 0 attack creature
This commit is contained in:
@@ -506,7 +506,7 @@ public class AttachAi extends SpellAbilityAi {
|
|||||||
if ((sa2.getApi().equals(ApiType.DealDamage))
|
if ((sa2.getApi().equals(ApiType.DealDamage))
|
||||||
&& (sa2.getTargetRestrictions().canTgtPlayer())
|
&& (sa2.getTargetRestrictions().canTgtPlayer())
|
||||||
) {
|
) {
|
||||||
thisprio += 100;
|
thisprio += 300;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Prefer stronger creatures, avoid if can't attack
|
// Prefer stronger creatures, avoid if can't attack
|
||||||
|
|||||||
Reference in New Issue
Block a user