mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-01-18 07:45:51 -08:00
don't remove pt! 🔥🔥🔥🔥 (#3606)
* don't remove pt! 🔥🔥🔥🔥 * apply water to burns * clangify * fix clientside * clangify * missed qdebug Signed-off-by: Zach Halpern <ZaHalpern+github@gmail.com>
This commit is contained in:
@@ -587,11 +587,10 @@ Response::ResponseCode Server_Player::moveCard(GameEventStorage &ges,
|
||||
AttrTapped, "1");
|
||||
}
|
||||
QString ptString = QString::fromStdString(thisCardProperties->pt());
|
||||
if (!faceDown) {
|
||||
ptString = QString::fromStdString(thisCardProperties->pt());
|
||||
if (!ptString.isEmpty()) {
|
||||
setCardAttrHelper(ges, targetzone->getPlayer()->getPlayerId(), targetzone->getName(), card->getId(),
|
||||
AttrPT, ptString);
|
||||
}
|
||||
setCardAttrHelper(ges, targetzone->getPlayer()->getPlayerId(), targetzone->getName(), card->getId(), AttrPT,
|
||||
ptString);
|
||||
}
|
||||
if (startzone->getAlwaysRevealTopCard() && !startzone->getCards().isEmpty() && (originalPosition == 0)) {
|
||||
Event_RevealCards revealEvent;
|
||||
|
||||
Reference in New Issue
Block a user