mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
Ensure tapped reset when card leaves the battlefield
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user