mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
hotfix for Android
This commit is contained in:
@@ -461,8 +461,8 @@ public class VAssignCombatDamage extends FDialog {
|
||||
}
|
||||
else {
|
||||
lethalDamage = Math.max(0, source.getLethalDamage());
|
||||
if (card.getCurrentState().getType().isPlaneswalker()) {
|
||||
lethalDamage = Integer.valueOf(card.getCurrentState().getLoyalty());
|
||||
if (source.getCurrentState().getType().isPlaneswalker()) {
|
||||
lethalDamage = Integer.valueOf(source.getCurrentState().getLoyalty());
|
||||
} else if (attackerHasDeathtouch) {
|
||||
lethalDamage = Math.min(lethalDamage, 1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user