mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-13 17:27:46 +00:00
@@ -1102,7 +1102,8 @@ public class AiAttackController {
|
|||||||
for (final Card pCard : myList) {
|
for (final Card pCard : myList) {
|
||||||
// if the creature can attack then it's a potential attacker this
|
// if the creature can attack then it's a potential attacker this
|
||||||
// turn, assume summoning sickness creatures will be able to
|
// turn, assume summoning sickness creatures will be able to
|
||||||
if (ComputerUtilCombat.canAttackNextTurn(pCard) && pCard.getNetCombatDamage() > 0) {
|
// TODO: Account for triggered power boosts.
|
||||||
|
if (ComputerUtilCombat.canAttackNextTurn(pCard) && (pCard.getNetCombatDamage() > 0 || "TRUE".equals(pCard.getSVar("HasAttackEffect")))) {
|
||||||
candidateAttackers.add(pCard);
|
candidateAttackers.add(pCard);
|
||||||
candidateUnblockedDamage += ComputerUtilCombat.damageIfUnblocked(pCard, defendingOpponent, null, false);
|
candidateUnblockedDamage += ComputerUtilCombat.damageIfUnblocked(pCard, defendingOpponent, null, false);
|
||||||
computerForces++;
|
computerForces++;
|
||||||
|
|||||||
@@ -6,7 +6,6 @@ K:Trample
|
|||||||
K:Myriad
|
K:Myriad
|
||||||
S:Mode$ Continuous | Affected$ Creature.Self+attacking | AddPower$ X | Description$ As long as CARDNAME is attacking, it gets +X/+0, where X is the number of lands defending player controls.
|
S:Mode$ Continuous | Affected$ Creature.Self+attacking | AddPower$ X | Description$ As long as CARDNAME is attacking, it gets +X/+0, where X is the number of lands defending player controls.
|
||||||
SVar:X:Count$Valid Land.DefenderCtrl
|
SVar:X:Count$Valid Land.DefenderCtrl
|
||||||
AI:RemoveDeck:All
|
|
||||||
SVar:BuffedBy:Land.OppCtrl
|
SVar:BuffedBy:Land.OppCtrl
|
||||||
SVar:HasAttackEffect:TRUE
|
SVar:HasAttackEffect:TRUE
|
||||||
Oracle:Trample, myriad\nAs long as Elturel Survivors is attacking, it gets +X/+0, where X is the number of lands defending player controls.
|
Oracle:Trample, myriad\nAs long as Elturel Survivors is attacking, it gets +X/+0, where X is the number of lands defending player controls.
|
||||||
|
|||||||
Reference in New Issue
Block a user