mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +00:00
- Removing several previously commented lines, they are confirmed to be superfluous.
This commit is contained in:
@@ -896,8 +896,6 @@ public class ComputerUtilCombat {
|
|||||||
power -= attacker.getNetCombatDamage();
|
power -= attacker.getNetCombatDamage();
|
||||||
}
|
}
|
||||||
|
|
||||||
// power += blocker.getKeywordMagnitude("Bushido"); // This is apparently accounted for in the combat trigs below
|
|
||||||
|
|
||||||
final Game game = attacker.getGame();
|
final Game game = attacker.getGame();
|
||||||
// look out for continuous static abilities that only care for blocking
|
// look out for continuous static abilities that only care for blocking
|
||||||
// creatures
|
// creatures
|
||||||
@@ -1046,7 +1044,6 @@ public class ComputerUtilCombat {
|
|||||||
toughness += attacker.getNetToughness() - blocker.getNetToughness();
|
toughness += attacker.getNetToughness() - blocker.getNetToughness();
|
||||||
}
|
}
|
||||||
|
|
||||||
// toughness += blocker.getKeywordMagnitude("Bushido"); // Apparently, this is already accounted for in the combat triggers below
|
|
||||||
final Game game = attacker.getGame();
|
final Game game = attacker.getGame();
|
||||||
final FCollection<Trigger> theTriggers = new FCollection<Trigger>();
|
final FCollection<Trigger> theTriggers = new FCollection<Trigger>();
|
||||||
for (Card card : game.getCardsIn(ZoneType.Battlefield)) {
|
for (Card card : game.getCardsIn(ZoneType.Battlefield)) {
|
||||||
@@ -1204,7 +1201,6 @@ public class ComputerUtilCombat {
|
|||||||
public static int predictPowerBonusOfAttacker(final Card attacker, final Card blocker, final Combat combat, boolean withoutAbilities, boolean withoutCombatStaticAbilities) {
|
public static int predictPowerBonusOfAttacker(final Card attacker, final Card blocker, final Combat combat, boolean withoutAbilities, boolean withoutCombatStaticAbilities) {
|
||||||
int power = 0;
|
int power = 0;
|
||||||
|
|
||||||
// power += attacker.getKeywordMagnitude("Bushido"); // This is apparently accounted for in the combat trigs below
|
|
||||||
//check Exalted only for the first attacker
|
//check Exalted only for the first attacker
|
||||||
if (combat != null && combat.getAttackers().isEmpty()) {
|
if (combat != null && combat.getAttackers().isEmpty()) {
|
||||||
for (Card card : attacker.getController().getCardsIn(ZoneType.Battlefield)) {
|
for (Card card : attacker.getController().getCardsIn(ZoneType.Battlefield)) {
|
||||||
@@ -1429,7 +1425,6 @@ public class ComputerUtilCombat {
|
|||||||
theTriggers.addAll(card.getTriggers());
|
theTriggers.addAll(card.getTriggers());
|
||||||
}
|
}
|
||||||
if (blocker != null) {
|
if (blocker != null) {
|
||||||
// toughness += attacker.getKeywordMagnitude("Bushido"); // This is apparently accounted for in the combat trigs below
|
|
||||||
theTriggers.addAll(blocker.getTriggers());
|
theTriggers.addAll(blocker.getTriggers());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user