- Fixed attackers with first strike and trample not dealing any damage when all their blockers were destroyed.

This commit is contained in:
Sloth
2011-11-09 12:52:05 +00:00
parent 168fcc41f9
commit f7fc2489f8

View File

@@ -317,7 +317,7 @@ public class Combat {
CardList att = new CardList(getAttackers());
// sum unblocked attackers' power
for (int i = 0; i < att.size(); i++) {
if (!isBlocked(att.get(i))) {
if (!isBlocked(att.get(i)) || (getBlockers(att.get(i)).size() == 0 && att.get(i).hasKeyword("Trample"))) {
int damageDealt = att.get(i).getNetCombatDamage();