Skip to content

battle phases now in notes#1409

Open
Palladium103 wants to merge 2 commits intoAzgaar:masterfrom
Palladium103:battle-notes-phase
Open

battle phases now in notes#1409
Palladium103 wants to merge 2 commits intoAzgaar:masterfrom
Palladium103:battle-notes-phase

Conversation

@Palladium103
Copy link
Copy Markdown

@Palladium103 Palladium103 commented May 2, 2026

Description

Battle notes will now include the phases of the attacker and defender in such format,

Defender: skirmish, Attacker: skirmish
Defender: skirmish, Attacker: bombardment
Defender: melee, Attacker: melee

@netlify
Copy link
Copy Markdown

netlify Bot commented May 2, 2026

Deploy Preview for afmg ready!

Name Link
🔨 Latest commit 4628016
🔍 Latest deploy log https://app.netlify.com/projects/afmg/deploys/69fcbb5544c16f0008195d8e
😎 Deploy Preview https://deploy-preview-1409--afmg.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR extends the legacy battle UI so battlefield notes can include the attacker/defender phase progression when a battle is applied, adding more simulation detail to the generated marker note text.

Changes:

  • Adds battle-instance state to accumulate phase history across iterations.
  • Records attacker/defender phase pairs during battle runs.
  • Appends the collected phase history to the generated battlefield note legend.

Comment thread public/modules/ui/battle-screen.js Outdated
Comment thread public/modules/ui/battle-screen.js Outdated
… and also when user changes the phase manually
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants