mirror of
https://github.com/prosolis/gogobee.git
synced 2026-07-16 08:52:42 +00:00
gofmt: bring internal/ and cmd/ back to gofmt -l clean
Mechanical `gofmt -w ./internal ./cmd`. Mostly struct-field realignment that had drifted, plus a few trailing-newline fixes. No behaviour change — gofmt is semantics-preserving, and build/vet/test are green either side. Split out from the code-review fixes that follow so those stay reviewable instead of hiding inside a wall of realignment.
This commit is contained in:
@@ -102,9 +102,10 @@ func applyRacePassives(stats *CombatStats, mods *CombatModifiers, c *DnDCharacte
|
||||
// BEFORE consumable application (so consumables can stack on top).
|
||||
//
|
||||
// Some passives ride on existing CombatModifiers fields:
|
||||
// Rogue's Sneak Attack reuses AutoCritFirst (the consumable Crystal Berry
|
||||
// field) — the engine already implements first-hit-auto-crit semantics.
|
||||
// Cleric's Divine Favor reuses HealItem, the under-50%-HP heal trigger.
|
||||
//
|
||||
// Rogue's Sneak Attack reuses AutoCritFirst (the consumable Crystal Berry
|
||||
// field) — the engine already implements first-hit-auto-crit semantics.
|
||||
// Cleric's Divine Favor reuses HealItem, the under-50%-HP heal trigger.
|
||||
//
|
||||
// This means:
|
||||
// - A Rogue carrying a Crystal Berry doesn't get *two* auto-crits;
|
||||
|
||||
Reference in New Issue
Block a user