mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
Protect only if we are actually needing to protect the card the ability will work on.
This commit is contained in:
@@ -180,7 +180,7 @@ public class ProtectAi extends SpellAbilityAi {
|
||||
}
|
||||
// Affecting single card
|
||||
if (cards.size() == 1) {
|
||||
if ((getProtectCreatures(ai, sa)).size() > 0) {
|
||||
if ((getProtectCreatures(ai, sa)).contains(cards.get(0))) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user