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