====== Spell Affinities ====== Spell affinities are specializations that determine which types of spells a hero class is more effective with. Each hero class has a specific affinity that provides benefits when using related spells. ==== Affinity Categories ==== * **Common**: General-purpose spells (e.g., Town Portal, Magic Torch) * **Elemental**: Fire, ice, and nature-based spells (e.g., Ignite, Root Spell) - Primary for Mage class * **Necromancy**: Undead and death-related spells (e.g., Raise Dead, Exhumation) - Primary for Necromancer class * **Combat**: Offensive and defensive spells (e.g., Smash, Die Hard) * **Rogue**: Stealth and agility spells (e.g., Backstab, Haste) * **Witchcraft**: Magic and manipulation spells (e.g., Lightning Bolt, Roar) * **Huntress**: Nature and charm spells (e.g., Calm, Charm) - Primary for Huntress class * **Elf**: Natural magic spells (e.g., Magic Arrow, Sprout) - Primary for Elf class * **Priest**: Healing and sanctity spells (e.g., Heal, Order) - Primary for Priest class * **PlagueDoctor**: Disease and toxic spells (e.g., Plague, GasBomb) - Primary for Doctor class ==== Source Code ==== * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/mechanics/spells/Spell.java|Spell.java]] * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/hero/initHeroes.json|initHeroes.json]] ==== See Also ==== * [[en:rpd:spells|Spells]] * [[en:rpd:magic|Magic System]] {{tag> rpd spells magic affinities }}