Appears to work.

This commit is contained in:
Skagra42 2026-08-12 16:18:48 -06:00
parent de421cf406
commit 1380a8af99

View file

@ -199,13 +199,15 @@ void PlayerEventHandler::setCardAttrHelper(const GameEventContext &context,
switch (attribute) { switch (attribute) {
case AttrTapped: { case AttrTapped: {
bool tapped = avalue == "1"; bool tapped = avalue == "1";
if (!(!tapped && card->getDoesntUntap() && allCards)) { if (!(!tapped && card->getDoesntUntap() && allCards) && !(!tapped && card->getDoesntUntapOnce() && allCards)) {
if (!allCards) { if (!allCards) {
emit logSetTapped(player, card, tapped); emit logSetTapped(player, card, tapped);
} }
bool canAnimate = !options.testFlag(SKIP_TAP_ANIMATION) && !moveCardContext; bool canAnimate = !options.testFlag(SKIP_TAP_ANIMATION) && !moveCardContext;
card->setTapped(tapped, canAnimate); card->setTapped(tapped, canAnimate);
} } else if (!tapped && card->getDoesntUntapOnce() && allCards) {
card->setDoesntUntapOnce(false);
}
break; break;
} }
case AttrAttacking: { case AttrAttacking: {