en:rpd:magic_affinity
Table of Contents
Magic Affinity
Magic Affinity is a mechanic in Remixed Dungeon that determines which spells a character can learn and use. Each hero class has a specific magic affinity that defines what type of spells they can access.
Overview
Magic Affinity is a system that categorizes spells into different types, and each hero class has a specific affinity that determines which spells they can learn and use during gameplay.
Affinity Types
Common affinities include:
- Combat - Spells that enhance combat abilities (e.g. Body Armor, Smash, Die Hard)
- Elemental - Spells that use elemental forces (e.g. Ignite, Magic Torch, Wind Gust)
- Necromancy - Spells related to death and undead (e.g. Summon Deathling, Exhumation)
- Rogue - Stealth and rogue-themed spells (e.g. Cloak, Backstab)
- Huntress - Nature and ranger-themed spells (e.g. Shoot In Eye, Charm)
- Elf - Nature magic spells (e.g. Magic Arrow, Sprout)
- Witchcraft - Various utility spells (e.g. Lightning Bolt, Roar)
- Priest - Religious magic spells
- PlagueDoctor - Disease and plague-themed spells
- Common - Basic utility spells available to some classes
Hero Affinities
Each hero class has its own magic affinity:
Code References
- HeroClass.java - Where affinities are defined for classes
- Spell.java - Base spell class with magicAffinity property
- SpellHelper.java - Helper methods for affinity handling
- WndHeroSpells.java - Spell selection window logic
- initHeroes.json - Affinity definitions for hero classes
Related
en/rpd/magic_affinity.txt · Last modified: by 127.0.0.1
