User Tools

Site Tools


rpd:elemental_affinity

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
rpd:elemental_affinity [2025/12/20 17:09] – Wiki maintenance: Update and verify multiple pages mikerpd:elemental_affinity [2025/12/20 17:12] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Elemental Affinity ======
  
 +**Elemental Affinity** is one of the [[rpd:spell_affinities|spell affinities]] available in Remixed Dungeon. Characters with Elemental Affinity gain special benefits when using elemental spells.
 +
 +==== Description ====
 +Elemental Affinity allows heroes to use spells related to the elements more effectively. Heroes with this affinity can cast elemental spells with enhanced effects or reduced costs.
 +
 +==== Heroes With Elemental Affinity ====
 +  * [[rpd:mage_class|Mage]] - The primary elemental spell user in the game
 +  * Certain other classes may gain access to elemental spells through subclass abilities
 +
 +==== Associated Spells ====
 +  * [[rpd:ignite_spell|Ignite]] - Creates a fire blob at the targeted location (Java implementation)
 +  * [[rpd:freeze_globe_spell|Freeze Globe]] - Freezes and slows enemies (Java implementation)
 +  * [[rpd:wind_gust_spell|Wind Gust]] - Pushes enemies and deals damage (Java implementation)
 +  * [[rpd:root_spell_spell|Root]] - Roots enemies in place with earth magic (Java implementation)
 +
 +==== Mechanics ====
 +Heroes with Elemental Affinity benefit from:
 +  * Reduced mana costs for elemental spells
 +  * Enhanced spell effects
 +  * Better synergies with elemental-based items and equipment
 +
 +==== Spell Affinity System ====
 +This is part of the [[rpd:spell_affinities|Spell Affinities]] system that allows heroes to specialize in different types of magic. Each hero class has a primary affinity that determines which spells they can effectively use.
 +
 +==== Technical Details ====
 +  * Implemented in: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/hero/HeroClass.java|HeroClass.java]]
 +  * Configuration: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/hero/initHeroes.json#L40-L43|initHeroes.json]]
 +  * Spell definitions: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/mechanics/spells/SpellHelper.java#L14|SpellHelper.java]]
 +  * String resources: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml#L5000-L5010|Elemental affinity strings]]
 +
 +==== See Also ====
 +  * [[rpd:spell_affinities|Spell Affinities]]
 +  * [[rpd:spells|Spells]]
 +  * [[rpd:magic|Magic System]]
 +  * [[rpd:mage_class|Mage Class]]
 +
 +{{tag> rpd magic affinities }}
rpd/elemental_affinity.txt · Last modified: by 127.0.0.1