mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 10:18:01 +00:00
- Cleanup.
This commit is contained in:
@@ -326,10 +326,9 @@ public class AbilityFactoryDestroy {
|
||||
}
|
||||
}
|
||||
}
|
||||
System.out.println("destroy2");
|
||||
|
||||
final AbilitySub subAb = sa.getSubAbility();
|
||||
if (subAb != null) {
|
||||
System.out.println("destroy3");
|
||||
chance &= subAb.chkAIDrawback();
|
||||
}
|
||||
|
||||
|
||||
@@ -145,7 +145,7 @@ public class ComputerUtilAttack {
|
||||
return true;
|
||||
}
|
||||
|
||||
final List<Card> controlledByCompy = AllZone.getComputerPlayer().getAllCards();
|
||||
final List<Card> controlledByCompy = AllZone.getComputerPlayer().getCardsIn(ZoneType.STATIC_ABILITIES_SOURCE_ZONES);
|
||||
for (final Card c : controlledByCompy) {
|
||||
for (final Trigger trigger : c.getTriggers()) {
|
||||
if (CombatUtil.combatTriggerWillTrigger(attacker, null, trigger, combat)) {
|
||||
|
||||
Reference in New Issue
Block a user