Skip to content

t1k:designer:rpg:core

FieldValue
Modulerpg
Version1.15.0
Effortmedium
Tools—

Keywords: character progression, role-playing, RPG

/t1k:designer:rpg:core

Handles RPG game design: stats, classes, progression, loot, combat formulas, enemy design. Does NOT handle economy/currency (→ t1k:designer:economy:core) or balance validation (→ t1k:designer:base:balance-tools).

Primary stats (direct inputs): STR, AGI, INT, VIT, DEX, LCK Derived stats (computed): ATK, DEF, HP, MANA, CRIT_RATE, CRIT_DMG, SPEED

Modifier types (apply in order):

  1. Flat additive (+50 ATK)
  2. Percent additive (+20% ATK — sum all, apply once)
  3. Percent multiplicative (×1.15 — each multiplied separately)

Scaling formula: derived = (base + flat) × (1 + sumPctAdd) × prod(pctMul)

Deep version — per-stat primary/secondary effects, derived-stat coefficients with caps, a worked stack example, four level-scaling curve shapes, the soft-cap formula: references/stat-system-design.md.

RolePrimary StatWin Condition
TankVITSurvive; hold aggro
DPSSTR/AGI/INTKill fast
SupportINT/LCKAmplify allies
Hybrid2 primariesFlexible; lower ceiling

Design rule: each class must have a clear answer to “what does this do that others can’t?”

XP to next level — exponential base: xpRequired(L) = baseXP × growthRate^(L-1) — e.g., base=100, rate=1.15

Stat growth per level — linear + milestone spikes: stat(L) = statBase + perLevel × L + bonus[L] where bonus fires at milestone levels (10, 20, 30…)

Power scaling check: level N enemy should be defeatable by level-N player in ~6–10 hits. Level-gated content: gate at 80% of content’s recommended level range.

Deep version — three XP curve shapes, the healthy player/enemy power ratio band, run structure with item pacing, difficulty ramp percentages, talent-tree rules: references/progression-curves.md.

Rarity tiers: Common (60%) / Uncommon (25%) / Rare (10%) / Epic (4%) / Legendary (1%)

Weighted drop: roll 0–100, map ranges to tiers. Pity system: after N drops without Legendary, bump rate by pityIncrease per subsequent drop. pityRate(n) = baseRate + max(0, n - pityThreshold) × pityIncrease

Deep version — stat-point power budget with rarity and slot multipliers, per-stat point costs, set bonus tiers, adjacency synergy, drop-rate modifiers and pity thresholds: references/item-balance.md.

Base damage: DMG = ATK × multiplier - DEF × reduction Clamp minimum: max(DMG, 1) — never zero damage. Critical hit: DMG × (1 + CRIT_DMG) when roll < CRIT_RATE Elemental modifier: multiply by elementTable[attacker][defender]

Avoid additive stacking hell — use diminishing returns for defense: effectiveDEF = DEF / (DEF + defConstant) → asymptotes to 1 (100% reduction never reachable)

Deep version — DPS/EHP/TTK formulas, TTK targets per game type, defense and armor-pen stacking, healing economy with its sustain ceiling, boss phases and adds, spike detection: references/combat-balance.md.

Normal enemy: statScale(wave) = baseStats × (1 + waveMultiplier × wave) Elite: ×1.5–2× normal stats + 1 unique mechanic Boss: ×5–10× normal + phase transitions + immunity windows

Wave-scaling rule: player DPS should outpace HP gain by ~10% per wave to maintain pacing.

The first four are the deep versions of the sections above — read the one an answer needs, not all four. The rest are owned by other skills.

FileContent beyond the body
references/stat-system-design.mdFull base-stat table with primary/secondary effects, derived-stat coefficients and caps, a worked modifier-stack example, four level-scaling curve shapes (linear / exponential / logarithmic / S-curve), the soft-cap function, and the StatFormulaConfig pattern
references/progression-curves.mdThree XP curve shapes with the feel each produces, the healthy player-power / enemy-power band, a 10–15 encounter run structure with item pacing, difficulty ramp percentages per beat, talent-tree rules, faucets and sinks
references/combat-balance.mdDPS / EHP / TTK formulas, TTK targets per game type, defense and armor-pen stacking order, healing economy and its sustain ceiling, boss phase and adds patterns, spike detection and its three fixes, a matchup matrix
references/item-balance.mdStat-point power budget with rarity and slot-size multipliers, per-stat point costs, set bonus tiers, adjacency synergy, weighted drop tables, drop-rate modifiers, pity thresholds per rarity, per-run item economy
→ See t1k:designer:base:balance-toolsDPS/EHP validation, spreadsheet tools
→ See t1k:designer:economy:coreCurrency, gacha, monetization
→ See engine implementation skillsCode implementation of these formulas
  • DPS curves that feel exponential are usually exponential — cap the exponent.
  • Class identity is communicated in the first 3 abilities, not the last — front-load the differentiation.
  • Loot tables with >3 rarity tiers turn drops into Excel — keep tiers crisp and meaningful.