Anvil Stats
⚒️ Anvil Stats
Anvil Stats are permanent buffs that enhance player attributes throughout the game. They let players specialize their character and develop unique builds over time.
⭐ Features
Permanent Buffs: Anvil Stats provide lasting improvements to player attributes.
Selection Process: Players choose 1 of 3 random stats when offered.
Reroll Option: Players can reroll if they’re not happy with the choices.
Round Availability: Offered only on specific rounds (defined in Round Builder).
Random Selection: If a player doesn’t choose, one is selected automatically.
🔧 Configuration
The main settings for Anvil Stats are located in game.yml under the roll.anvil-stats section.
# game.yml
roll:
anvil-stats:
base: 2
high-stakes: 1
choices: 3base
integer
2
The base number of Anvil Stat rolls offered per game.
high-stakes
integer
1
Additional rolls offered if the "High Stakes" augment is active.
choices
integer
3
The number of random stats presented to the player to choose from.
The actual stats, their names, and modifiers are defined in gameplay/anvil-stats.yml.
🧮 Operations
Each modifier affects player attributes in different ways:
ADD_NUMBER
Adds a flat number to the base value.
Base = 10, +1 → 11
ADD_SCALAR
Adds a percentage of the base to the base.
Base = 10, +10% → 11
MULTIPLY_SCALAR_1
Adds a final percentage after all modifiers.
After = 11, +10% → 12.1
You can find all available attributes here: 📘Attribute Reference
💡 Example
The following is an excerpt from gameplay/anvil-stats.yml.
Ranges: The values in
{}represent minimum and maximum rolls (e.g.,{0.5;1.0}). A random value is chosen within this range.Complexity: You can define multiple modifiers per stat for complex effects.
Balance: Large values can quickly overpower gameplay, especially with
SCALINGoperations.
Last updated