User Tools

Site Tools


rpd:spell_system

Differences

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

Link to this comparison view

rpd:spell_system [2025/12/26 05:06] – Add spell system and fortune teller window pages, update liquid flame and potion pages mikerpd:spell_system [2025/12/26 05:08] (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 [[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 [[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 ====
 +  * [[rpd:spells|Spells]]
 +  * [[rpd:mana|Mana]]
 +  * [[rpd:magic|Magic System]]
 +  * [[rpd:kunai_throw_spell|Kunai Throw]]
 +
 +{{tag> rpd spells magic system }}
rpd/spell_system.txt · Last modified: by 127.0.0.1