User Tools

Site Tools


en:rpd:spell_system

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
en:rpd:spell_system [2026/01/02 06:41] – Update references to renamed wiki pages (enemies.txt -> enemies_overview.txt, spells.txt -> spells_overview.txt) mikeen:rpd:spell_system [2026/01/02 06:43] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Spell System ======
  
 +The **Spell System** in Remixed Dungeon allows heroes to use magical abilities through various spells that can be learned and used depending on their class and affinities.
 +
 +==== Overview ====
 +  * Spells are magical abilities that heroes can learn and cast
 +  * Different classes have access to different spell affinities
 +  * Spells consume mana and have various effects (offensive, defensive, utility)
 +  * Each spell has specific requirements, costs, and mechanics
 +
 +==== Spell Affinities ====
 +  * **Rogue Affinity:** Includes throwing and stealth spells like [[en:rpd:kunai_throw_spell|Kunai Throw]]
 +  * **Mage Affinity:** Fire, frost and magical spells
 +  * **Warrior Affinity:** Combat-enhancing spells
 +  * **Elf Affinity:** Nature and enhancement spells
 +  * **Necromancer Affinity:** Undead and life-drain spells
 +
 +==== Usage ====
 +  * **Mana System:** Spells require mana to cast (see [[en:rpd:mana|Mana]])
 +  * **Spell Learning:** Heroes learn spells through gameplay progression
 +  * **Casting Time:** Different spells have varying cast times
 +  * **Targeting:** Spells may have different targeting modes (self, enemy, area)
 +
 +==== Spell Mechanics ====
 +  * **Implementation:** Spells are implemented in Lua scripts in ''scripts/spells/'' directory
 +  * **Core System:** Built on a spell library system (see ''scripts/lib/spell.lua'')
 +  * **Customization:** Modders can create new spells using the Lua system
 +  * **Magic Affinity:** Determines which classes can use specific spells
 +
 +==== Code References ====
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/scripts/lib/spell.lua|Spell Library]]
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/scripts/spells/|All Spell Scripts]]
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/spells/Spell.java|Java Spell Base Class]]
 +  * [[mr:spell_system|mr:spell_system]]
 +
 +==== Related Content ====
 +  * [[en:rpd:spells_overview|Spells]]
 +  * [[en:rpd:mana|Mana]]
 +  * [[en:rpd:magic|Magic System]]
 +  * [[en:rpd:kunai_throw_spell|Kunai Throw]]
 +
 +{{tag> rpd spells magic system }}
en/rpd/spell_system.txt · Last modified: (external edit)