mirror of
https://github.com/prosolis/gogobee.git
synced 2026-07-16 00:52:40 +00:00
WIP: in-flight combat/expedition/flavor changes
Bundle of uncommitted working-tree edits across combat engine, expedition cycle, flavor pools, and TwinBee/zone narration. Includes new files: combat_debug.go, dnd_boss_consumables.go, dnd_dex_floor.go, plus CHANGES_24H.md and REBALANCE_NOTES.md scratch notes. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -116,6 +116,11 @@ func (p *AdventurePlugin) grantDnDXP(userID id.UserID, amount int) ([]LevelUpEve
|
||||
if c.HPCurrent > c.HPMax {
|
||||
c.HPCurrent = c.HPMax
|
||||
}
|
||||
// Level-up grants one extra hit-dice charge (matches max=Level cap).
|
||||
c.ShortRestCharges++
|
||||
if c.ShortRestCharges > c.Level {
|
||||
c.ShortRestCharges = c.Level
|
||||
}
|
||||
// AC may change too if DEX-derived (unlikely without item changes).
|
||||
c.ArmorClass = computeAC(c.Class, abilityModifier(c.DEX))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user