V1.6.0: targets and an attack bar in encounters
- One combatant at a time can be marked as the target with the Target button on its card. The DM can mark anyone at any time; a player can while their own character is on turn in a battle. - The target's card is outlined for everyone and names who is going for it. - While a target is marked the DM gets an attack bar above the list: who is attacking whom, the target's AC and HP, the attacker's weapons, spells or monster attack, and a box to apply damage or healing straight away. - The target is cleared when the turn or round moves on, when the encounter begins, ends or is reopened, or when the target is removed. - All packages at version 1.6.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
-- AlterTable: the combatant currently marked as the target
|
||||
ALTER TABLE "encounters" ADD COLUMN "targetParticipantId" TEXT;
|
||||
@@ -535,6 +535,9 @@ model Encounter {
|
||||
currentRound Int @default(1)
|
||||
// Whose turn it is in a battle; null until the fight starts.
|
||||
activeParticipantId String?
|
||||
// Who is being attacked (or healed) right now, shown to everyone. Picked by
|
||||
// the DM or by the player on turn, and cleared when the turn passes.
|
||||
targetParticipantId String?
|
||||
description String? // the scene / objective, shown to everyone
|
||||
dmNotes String? // never sent to players
|
||||
// Where the scene takes place. While the encounter is in progress, the
|
||||
|
||||
Reference in New Issue
Block a user