Merge branch 'thrasta' into 'master'

MH2: Thrasta and "Trample over planeswalkers"

See merge request core-developers/forge!4824
This commit is contained in:
Michael Kamensky
2021-06-05 03:17:27 +00:00
7 changed files with 34 additions and 6 deletions

View File

@@ -448,7 +448,9 @@ public class VAssignCombatDamage {
}
else {
lethalDamage = Math.max(0, card.getLethalDamage());
if (attackerHasDeathtouch) {
if (card.getCurrentState().getType().isPlaneswalker()) {
lethalDamage = Integer.valueOf(card.getCurrentState().getLoyalty());
} else if (attackerHasDeathtouch) {
lethalDamage = Math.min(lethalDamage, 1);
}
}