t1k:designer:rpg:core
| Field | Value |
|---|---|
| Module | rpg |
| Version | 1.15.0 |
| Effort | medium |
| Tools | — |
Keywords: character progression, role-playing, RPG
How to invoke
Section titled “How to invoke”/t1k:designer:rpg:coreRPG Game Design
Section titled “RPG Game Design”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).
Stat System Design
Section titled “Stat System Design”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):
- Flat additive (
+50 ATK) - Percent additive (
+20% ATK— sum all, apply once) - 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.
Class / Role Design
Section titled “Class / Role Design”| Role | Primary Stat | Win Condition |
|---|---|---|
| Tank | VIT | Survive; hold aggro |
| DPS | STR/AGI/INT | Kill fast |
| Support | INT/LCK | Amplify allies |
| Hybrid | 2 primaries | Flexible; lower ceiling |
Design rule: each class must have a clear answer to “what does this do that others can’t?”
Progression Curves
Section titled “Progression Curves”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.
Loot Tables
Section titled “Loot Tables”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.
Combat Formula Design
Section titled “Combat Formula Design”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.
Enemy Design Patterns
Section titled “Enemy Design Patterns”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.
Reference Files
Section titled “Reference Files”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.
| File | Content beyond the body |
|---|---|
references/stat-system-design.md | Full 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.md | Three 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.md | DPS / 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.md | Stat-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-tools | DPS/EHP validation, spreadsheet tools |
→ See t1k:designer:economy:core | Currency, gacha, monetization |
| → See engine implementation skills | Code implementation of these formulas |
Hard rules
Section titled “Hard rules”- 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.