mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
Merge branch 'master' into 'master'
Account for double damage coming from Mishra Vanguard avatar. See merge request core-developers/forge!1103
This commit is contained in:
@@ -4666,7 +4666,7 @@ public class Card extends GameEntity implements Comparable<Card> {
|
|||||||
// TODO: improve such that this can be predicted from the replacement effect itself
|
// TODO: improve such that this can be predicted from the replacement effect itself
|
||||||
// (+ move this function out into ComputerUtilCombat?)
|
// (+ move this function out into ComputerUtilCombat?)
|
||||||
for (Card c : getGame().getCardsIn(ZoneType.Command)) {
|
for (Card c : getGame().getCardsIn(ZoneType.Command)) {
|
||||||
if (c.getName().equals("Insult Effect")) {
|
if (c.getName().equals("Insult Effect") || c.getName().equals("Mishra")) {
|
||||||
if (c.getController().equals(source.getController())) {
|
if (c.getController().equals(source.getController())) {
|
||||||
restDamage *= 2;
|
restDamage *= 2;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -723,7 +723,7 @@ public class Player extends GameEntity implements Comparable<Player> {
|
|||||||
// TODO: improve such that this can be predicted from the replacement effect itself
|
// TODO: improve such that this can be predicted from the replacement effect itself
|
||||||
// (+ move this function out into ComputerUtilCombat?)
|
// (+ move this function out into ComputerUtilCombat?)
|
||||||
for (Card c : game.getCardsIn(ZoneType.Command)) {
|
for (Card c : game.getCardsIn(ZoneType.Command)) {
|
||||||
if (c.getName().equals("Insult Effect")) {
|
if (c.getName().equals("Insult Effect") || c.getName().equals("Mishra")) {
|
||||||
if (c.getController().equals(source.getController())) {
|
if (c.getController().equals(source.getController())) {
|
||||||
restDamage *= 2;
|
restDamage *= 2;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user