en:rpd:common_affinity_mechanic
Table of Contents
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:
- Town Portal - Teleports the player back to the town level
- Heal - Restores health to the caster
- Raise Dead - Raises a fallen enemy as an ally
- Cloak - Grants temporary invisibility
- Calm - Pacifies nearby enemies
- 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:
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 SpellHelper.java as `AFFINITY_COMMON = “Common”`
Code References
- Java: SpellHelper.java - Defines AFFINITY_COMMON constant
- Lua: TownPortal.lua - Town Portal spell with Common affinity
- Lua: CustomSpellsList.lua - Lists Common affinity spells
- Lua: spell.lua - Base spell template with Common affinity
See Also
en/rpd/common_affinity_mechanic.txt · Last modified: by 127.0.0.1

