mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07: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:
parent
a86aeb00c5
commit
abe4f5ca60
3 changed files with 15 additions and 12 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue