Skip to content

Stat System Redesign#173

Merged
SoloByte merged 27 commits into
mainfrom
stat-system-redesign
Jun 17, 2026
Merged

Stat System Redesign#173
SoloByte merged 27 commits into
mainfrom
stat-system-redesign

Conversation

@SoloByte

@SoloByte SoloByte commented Jun 10, 2026

Copy link
Copy Markdown
Collaborator

New stat system implemented to replace the old IStat, IBuff system.

What changed:

  • Replaced old Buff / BuffTimed / BuffStacked / BuffValue model with:
    • StatId
    • Stat
    • StatModifier
    • StatModifierKind
    • IStatModifierSource
    • StatModifierSource
    • TimedStatModifierSource
    • StackableStatModifierSource
    • StatSet
  • Added layered calculation order: flat, additive percent, multiplicative percent, override, min/max clamp.
  • Added source categories for buff, debuff, equipment, passive, upgrade, custom.
  • Added stackable timed sources with max stacks and duration refresh on reapply, including the max-stack refresh edge case.
  • Removed drawing concerns from the core stats classes.
  • Added StatExampleScene

New stat system implemented
SoloByte added 24 commits June 11, 2026 08:14
… point, how the system works, and what each part does.
…o correct file paths with root directory prefix.
Feat: Add public modifier counts for override, min, and max modifiers.
Docs: Typos fixed and some summaries improved for clarity.
Docs: Small adjustments for some xml summaries.
Feat: IStatModifierSource.cs CollectAllModifiers function added.
…ited stacks and updated validation accordingly.
…y use cases and provide detailed guidance.
…with configurable behavior via `BoundsModifierTieBehaviourId`.
@SoloByte
SoloByte merged commit 919131d into main Jun 17, 2026
7 checks passed
@SoloByte
SoloByte deleted the stat-system-redesign branch June 17, 2026 14:34
@github-project-automation github-project-automation Bot moved this from Active to Done in Shape Engine Roadmap Jun 17, 2026
@SoloByte SoloByte added this to the 5.2 milestone Jun 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Development

Successfully merging this pull request may close these issues.

1 participant