User Tools

Site Tools


en:rpd:body_armor_spell

Differences

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

Link to this comparison view

en:rpd:body_armor_spell [2026/01/01 19:45] – namespace move Mikeen:rpd:body_armor_spell [2026/01/01 19:46] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Body Armor Spell ======
 +
 +{{ rpd:images:body_armor_spell_icon.png|Body Armor Spell Icon }}
 +
 +**Body Armor Spell** is a spell in Remixed Pixel Dungeon with Combat Affinity.
 +
 +==== Description ====
 +Activates the reserved muscle power, making them temporarily stronger, thus greatly increasing your armor but at cost of movement speed.
 +
 +==== Stats ====
 +  * **Magic Affinity:** Combat
 +  * **Targeting:** Self
 +  * **Level:** 1
 +  * **Mana Cost:** 5
 +  * **Cooldown:** 20 turns
 +  * **Cast Time:** 0.5 turns
 +  * **Duration:** 15 + 10×skill level turns
 +  * **Special Effects:** Provides protection by increasing armor
 +
 +==== Mechanics ====
 +When cast, the spell applies the BodyArmor buff to the caster which:
 +  * Increases armor significantly (armor bonus = (caster's effective STR - 10) × (1 + buff level))
 +  * Reduces movement speed to 85% of normal speed
 +  * Lasts for 15 + 10×caster's skill level turns
 +  * The armor level is based on the caster's skill level
 +  * Visual effect: Shows "body_armor" particle effect at caster's position
 +  * Plays "body_armor" sound effect when cast
 +
 +==== Usage ====
 +The Body Armor spell is most effective when:
 +  * Facing enemies with high damage output
 +  * Preparing for boss fights
 +  * Taking on dangerous areas where protection is needed
 +  * When movement speed reduction is acceptable for the armor gained
 +
 +==== Classes ====
 +Classes with Combat affinity have primary access to this spell, including:
 +  * [[en:rpd:warrior_class|Warrior]] - Primary class with Combat affinity
 +  * Other classes that gain access through special means
 +
 +==== Strategy ====
 +  * Use before engaging high-damage enemies for increased protection
 +  * Be aware that movement speed will be reduced during the effect
 +  * The spell's effectiveness scales with your skill level
 +  * Consider the cooldown of 20 turns when planning spell usage
 +  * The armor bonus scales with your effective strength (STR - 10) and buff level (1 + skill level)
 +  * Movement speed is reduced to 85% during the effect, which affects escape tactics
 +
 +==== Content Verification ====
 +  * **Information Source:** [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/scripts/spells/BodyArmor.lua|BodyArmor.lua]] and [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/scripts/buffs/BodyArmor.lua|BodyArmor.lua buff script]]
 +  * **Stats Verification:** Extracted directly from spell description function in BodyArmor.lua
 +  * **Effect Descriptions:** Based on cast function and buff implementation
 +  * **Armor Calculation:** Based on drBonus function in BodyArmor.lua: (STR-10) × (1 + buff level)
 +  * **Speed Reduction:** Based on speedMultiplier function returning 0.85 (85% speed)
 +  * **Duration:** Based on casting logic: 15 + 10×caster:skillLevel()
 +  * **Last Updated:** Verified against current codebase
 +
 +==== Source Code Reference ====
 +  * Spell implementation: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/scripts/spells/BodyArmor.lua|BodyArmor.lua]]
 +  * Buff implementation: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/scripts/buffs/BodyArmor.lua|BodyArmor.lua (buff)]]
 +  * String resources: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml#L2240-L2243|String definitions in strings_all.xml]]
 +
 +==== See Also ====
 +  * [[en:rpd:spells|Spells]]
 +  * [[en:rpd:combat|Combat Affinity]]
 +  * [[en:rpd:buffs|Buffs]]
 +  * [[en:rpd:warrior_class|Warrior Class]]
 +
 +{{tag> rpd spells combat }}