mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
- Simplified the code found in forge.card.cardFactory.CardFactory_Equipment.
This commit is contained in:
@@ -199,7 +199,7 @@ class CardFactory_Equipment {
|
||||
public boolean addCard(Card c) {
|
||||
return CardFactoryUtil.AI_doesCreatureAttack(c)
|
||||
&& CardFactoryUtil.canTarget(card, c)
|
||||
&& (!c.getKeyword().contains("Defender"));
|
||||
&& (!c.hasKeyword("Defender"));
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user