V1.7.1: area attack AC penalty is a campaign setting

- The amount an area attack adds to each target's AC per extra target is
  now set per campaign, from 0 (no penalty) to 10. It starts at 2, so
  existing campaigns behave as before.
- The DM changes it in the campaign settings; the attack bar and the
  targets' cards use it.
- All packages at version 1.7.1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-06 13:11:46 +02:00
co-authored by Claude Opus 5.5
parent f8cee43ca2
commit 754eb0ee68
12 changed files with 62 additions and 17 deletions
+5 -4
View File
@@ -229,8 +229,10 @@ healed) right now. One target is an ordinary attack; more than one is an
An attack on several targets is harder to land and its damage is shared.
- **Harder to hit.** Every target's AC counts as **2 higher for each target
beyond the first**:
- **Harder to hit.** Every target's AC counts as higher for each target
beyond the first, by the campaign's **area attack AC penalty**. The DM sets
it in the campaign settings, from 0 (no penalty) to 10; it starts at 2, which
gives:
| Targets | Added to each AC |
|---|---|
@@ -251,8 +253,7 @@ An attack on several targets is harder to land and its damage is shared.
- A target with no hit points to track is left out of the sharing.
The app does not roll the attack or decide whether it hits: the DM compares
the roll with the AC shown and types the damage. The +2 is fixed in the code
(`AREA_AC_STEP` in `frontend/src/pages/EncounterPage.tsx`).
the roll with the AC shown and types the damage.
## 8. Conditions