====== root_spell ====== {{ rpd:images:root_spell_icon.png|Root Spell Icon }} **Root** is an Elemental Affinity spell in Remixed Dungeon that immobilizes a target, preventing movement for a short period of time. ==== Description ==== Root Spell immobilizes a target character (not self), preventing them from moving for several turns. It's useful for crowd control and strategic positioning in combat. ==== Stats ==== * **Magic Affinity:** [[en:rpd:elemental_affinity|Elemental]] * **Targeting:** Character (Not Self) * **Level:** 2 * **Mana Cost:** 2 * **Special Effects:** Applies [[en:rpd:roots_buff|Roots]] buff for 10 turns, creates EarthParticle effect and sound ==== Mechanics ==== * **Duration:** 10 turns of being rooted * **Visual Effect:** Bursts EarthParticle.FACTORY (5 particles) and blue particles (0xFF99FFFF, 3 particles) * **Audio Effect:** Plays PUFF sound when cast * **Buff Applied:** Roots class buff to the target character ==== Usage ==== The Root spell can be used for: * [[en:rpd:control_effects|Control]] applications to restrict [[en:rpd:mobs|enemy]] movement * Strategic positioning during [[en:rpd:combat_mechanics|combat]] * Allowing safe distance attacks or escape * Stopping fleeing [[en:rpd:mobs|enemies]] or [[en:rpd:bossmobs|bosses]] ==== Classes ==== Classes with [[en:rpd:elemental_affinity|Elemental]] magic affinity can use this spell more efficiently. ==== Strategy ==== How to effectively use the Root spell: * Best for controlling high-priority [[en:rpd:mobs|targets]] during critical moments * Synergizes with [[en:rpd:damage_over_time|damage-over-time]] effects while the enemy is immobilized * Excellent for preventing [[en:rpd:bossmobs|bosses]] from escaping or reaching you * Consider the 10-turn duration when planning your [[en:rpd:strategies|strategy]] ==== Content Verification ==== * Information source: Java Class [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/mechanics/spells/RootSpell.java|RootSpell.java]] * Stats verification: Extracted from RootSpell.java constructor * Effect descriptions: Based on string resources and in-game mechanics * Last updated: December 2025, source: Remixed Dungeon 1.9.3 ==== Source Code ==== * Java: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/mechanics/spells/RootSpell.java|RootSpell.java]] * Strings: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml#L12-L13|Root spell strings]] ==== Implementation Details ==== * Applies [[en:rpd:roots_buff|Roots]] buff to target character for 10 turns * Requires Elemental magic affinity for optimal usage * Implementation includes: * Particle effects (EarthParticle.FACTORY and blue particles) * Audio feedback (PUFF sound) * Target validation (character not self) * Mana cost deduction ==== See Also ==== * [[en:rpd:spells|Spells]] * [[en:rpd:mechanics|Game Mechanics]] * [[en:rpd:roots_buff|Roots Status Effect]] * [[en:rpd:spell_affinities|Elemental Affinity]] {{tag> rpd spells elemental }}