- Cleanup.

This commit is contained in:
Sloth
2012-10-03 10:34:02 +00:00
parent 84a6f45894
commit ee14d49717
2 changed files with 2 additions and 3 deletions

View File

@@ -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();
}

View File

@@ -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)) {