Environmental damage keeps ticking for frozen participants off turn

Aperta
#6 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
62/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
java
Ambito
game-dev

Direzione di ricerca

Trace how freeze/skip-turn is applied to participants and where air, fire, poison, and wither damage is applied each tick versus per turn. Align environmental damage so it only runs on a frozen participant's own turn, matching the 5e-style per-turn rule in the issue. Verify with an underwater or burning encounter: after ending your turn, frozen actors should not keep taking that damage during other participants' turns.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug question

Steps:

  1. Start an encounter while underwater or on fire / poisoned / withered
  2. End your turn

Current: you keep losing air and taking damage during other participants' turns even while frozen and unable to act.

Expected: frozen participants don't tick environmental damage (air, fire, poison, wither). It ticks only during their own turn.

Why: player turns (30s) are much longer than mob turns (6s), so real time ticking can be exploited fx setting mobs on fire and idling out your turn so they burn 5x longer. It also matches 5e, where ongoing damage resolves per turn.

Lingua principale
Java
Stelle
0
Fork
2
Merge medio
26m
PR unite (30g)
7

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di modrollstudio/Initiative

Tutte le issue di modrollstudio/Initiative

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.