Ensure tapped reset when card leaves the battlefield

This commit is contained in:
drdev
2014-10-01 19:11:28 +00:00
parent 98951a9e2b
commit 1dc64e18c6

View File

@@ -229,6 +229,10 @@ public class GameAction {
if (fromBattlefield) {
c.setZone(zoneTo);
c.setDamage(0); //clear damage after a card leaves the battlefield
if (c.isTapped()) {
c.setTapped(false); //untap card after it leaves the battlefield if needed
game.fireEvent(new GameEventCardTapped(c, false));
}
}
// Need to apply any static effects to produce correct triggers