Heroes and Classes

Class roster

Six class slots, indexed 0โ€“5. Indices are permanent identifiers โ€” display names can change, indices cannot.

IndexNamePrimary stat
0MarauderIntelligence
1TemplarVitality
2Night HunterAgility
3ClericIntelligence
4ArcanistIntelligence
5NecromancerIntelligence

Source: PlayerIdentity.ClassNames (names/indices), CharacterStats.GetPrimaryStatAboveBaseline() (primary stats per class).

Rename history for index 0: Engineer โ†’ Warden โ†’ Marauder. The index did not change. Rename history for index 1: Guardian โ†’ Ironclad โ†’ Templar. The index did not change. Rename history for index 2: Shadowblade โ†’ Night Hunter. The index did not change.

Class availability

CharacterClassAvailability (defined in CharacterSelectUI.cs) controls which classes the Deploy button accepts. Classes at indices 1 (Templar) and 2 (Night Hunter) are in UnplayableClassIndices โ€” the character select screen shows an "IN DEVELOPMENT" badge on these slots and the Deploy button is non-interactive. Marauder (0), Cleric (3), Arcanist (4), and Necromancer (5) are accessible to all clients.

GM users can run unlockroster in the GM console to enable a session-persistent testing override that makes all classes deployable. The override does not persist across application restarts. See GM Console & Tools.

Character deployment

When the player presses the Deploy button for a playable class, the client sends a class selection request to the auth server. The server responds with a character record bound to that class: { id, class_index, token }.

  • If the response is absent, the class_index does not match the requested class, or the token is missing, deployment is blocked and the Deploy button resets to CLASS UPDATE FAILED โ€” RETRY. No network connection is started.
  • On success, the character-bound token replaces the session JWT (PlayerPrefs("jwt_token"), AuthManager.Token) and AuthManager.CharacterId is set to the server-assigned character id. Each class slot has its own persistent character record on the server; selecting a different class slot issues a different token and character id.

Sources: CharacterSelectUI.cs, CharacterSelectManager.cs.

Entities that are NOT player classes

  • Iron Warden โ€” a world boss (IronWardenController). Not a player class.
  • Templar, Wizard, Chaos Weaver โ€” Enemy Forge enemies. Not player classes.
  • Brandalf โ€” model directory removed; remains only as editor-tooling scaffolding. Not a 6th hero.

Stat progression (server-authoritative)

CharacterStats is a NetworkBehaviour. When a character spawns and the auth record has fromDB = true, RodNetworkManager calls CharacterStats.SetProgressionStats() on the server, applying the account-owned level, strength, agility, intelligence, and vitality. These sync to all clients via SyncVars.

RecalculateProgressionBonuses() maps class index to primary stat:

IndexPrimary stat (class)
0 โ€” MarauderIntelligence
1 โ€” TemplarVitality (baseline 10)
2 โ€” Night HunterAgility
3 โ€” ClericIntelligence
4 โ€” ArcanistIntelligence
5 โ€” NecromancerIntelligence

All other classes use a primary stat baseline of 5; Templar uses 10 for Vitality.

Stat bonuses applied above the baseline feed into CharacterStats.Recalculate():

  • Primary stat above baseline โ†’ damage multiplier increase
  • Strength above 5 โ†’ additional damage multiplier increase
  • Vitality above 10 โ†’ flat max health increase
  • Intelligence above 5 โ†’ max mana increase
  • Agility above 5 โ†’ move speed multiplier increase

Per-point scaling values are Inspector-tunable in the Level Progression Tuning section of the CharacterStats component on each class prefab.

Equipment stat bonuses

CharacterStats.SetEquipmentStatBonuses(str, agi, int, vit) is called by the server when a character's equipped gear is loaded from GET /api/game/equipment/:characterId. Equipment bonuses are stored in SyncVar fields (_equipmentStr, _equipmentAgi, _equipmentInt, _equipmentVit) and combined with progression stats to produce effective values (EffectiveStrength, EffectiveAgility, EffectiveIntelligence, EffectiveVitality). All stat scaling and damage/health/mana/speed calculations use effective values. See Loot, Inventory and Crafting for the equipment system.


Related: Ability Atlas & Synergies ยท Combat Core & Loop ยท GM Console & Tools ยท Loot, Inventory and Crafting