User Tools

Site Tools


en:rpd:common_affinity_mechanic

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
en:rpd:common_affinity_mechanic [2026/06/06 04:27] – Wiki maintenance: Fix compliance issues in 5 random pages Qwen Assistanten:rpd:common_affinity_mechanic [2026/06/06 04:31] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Common Affinity ======
  
 +{{ rpd:images:common.png|Common Affinity }}
 +
 +The **Common Affinity** is a basic magical affinity in Remixed Dungeon that includes fundamental spells available to most hero classes. These spells are generally utility-focused and don't require specialized magical training.
 +
 +==== Associated Spells ====
 +Spells that fall under the Common affinity include:
 +  * [[en:rpd:town_portal_spell|Town Portal]] - Teleports the player back to the town level
 +  * [[en:rpd:heal_spell|Heal]] - Restores health to the caster
 +  * [[en:rpd:raise_dead_spell|Raise Dead]] - Raises a fallen enemy as an ally
 +  * [[en:rpd:cloak_spell|Cloak]] - Grants temporary invisibility
 +  * [[en:rpd:calm_spell|Calm]] - Pacifies nearby enemies
 +  * [[en:rpd:charm_spell|Charm]] - Temporarily charms an enemy
 +
 +==== Classes with Common Affinity ====
 +Most classes can use Common affinity spells to some degree, though they may not be their primary focus. Common affinity spells are generally accessible to:
 +  * [[en:rpd:warrior_class|Warrior]]
 +  * [[en:rpd:mage_class|Mage]]
 +  * [[en:rpd:rogue_class|Rogue]]
 +  * [[en:rpd:elf_class|Elf]]
 +  * [[en:rpd:necromancer_class|Necromancer]]
 +
 +==== Mechanics ====
 +Common affinity spells typically involve:
 +  * Basic utility functions
 +  * Simple transportation or convenience abilities
 +  * Spells that don't require deep magical specialization
 +  * Lower mana costs compared to specialized affinities
 +  * Defined in [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/mechanics/spells/SpellHelper.java|SpellHelper.java]] as `AFFINITY_COMMON = "Common"`
 +
 +==== Code References ====
 +  * Java: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/mechanics/spells/SpellHelper.java|SpellHelper.java]] - Defines AFFINITY_COMMON constant
 +  * Lua: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/scripts/spells/TownPortal.lua|TownPortal.lua]] - Town Portal spell with Common affinity
 +  * Lua: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/scripts/spells/CustomSpellsList.lua|CustomSpellsList.lua]] - Lists Common affinity spells
 +  * Lua: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/scripts/lib/spell.lua|spell.lua]] - Base spell template with Common affinity
 +
 +==== See Also ====
 +  * [[en:rpd:spells_overview|Spells]]
 +  * [[en:rpd:spell_affinities|Spell Affinities]]
 +  * [[en:rpd:mana_mechanic|Mana]]
 +
 +{{tag> rpd magic common affinity }}
en/rpd/common_affinity_mechanic.txt · Last modified: by 127.0.0.1