Fly faint-summoned apples and bees out from the pet.

This commit is contained in:
Greyson Parrelli
2026-07-23 07:54:19 -04:00
parent 3922f545dc
commit f7a00f6c48
2 changed files with 53 additions and 1 deletions
+4 -1
View File
@@ -249,7 +249,10 @@ export function BattlePhase({ view, send }: Props) {
<div className="card-slot-empty stack-empty" />
)}
{summoning && lastEvent?.card && (
<div className="summon-pop">
// Fly the spawned apple/bee out from where the pet stood (the unit
// zone sits on the inner edge) onto the top of the deck, so it reads
// as coming from the pet that just fainted.
<div className={`summon-pop ${dir === 'left' ? 'summon-from-right' : 'summon-from-left'}`}>
<CardView card={lastEvent.card} size="sm" />
</div>
)}