mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
- Fixed Devour in Shadow / Veteran Armorer bug.
This commit is contained in:
@@ -4218,10 +4218,9 @@ public class CardFactory implements NewConstants {
|
|||||||
public void resolve() {
|
public void resolve() {
|
||||||
if(AllZone.GameAction.isCardInPlay(getTargetCard())
|
if(AllZone.GameAction.isCardInPlay(getTargetCard())
|
||||||
&& CardFactoryUtil.canTarget(card, getTargetCard())) {
|
&& CardFactoryUtil.canTarget(card, getTargetCard())) {
|
||||||
AllZone.GameAction.destroyNoRegeneration(getTargetCard());
|
PlayerLife life = AllZone.GameAction.getPlayerLife(card.getController());
|
||||||
|
|
||||||
PlayerLife life = AllZone.GameAction.getPlayerLife(card.getController());
|
|
||||||
life.subtractLife(getTargetCard().getNetDefense());
|
life.subtractLife(getTargetCard().getNetDefense());
|
||||||
|
AllZone.GameAction.destroyNoRegeneration(getTargetCard());
|
||||||
}
|
}
|
||||||
}//resolve()
|
}//resolve()
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user