====== Cloak Spell ====== {{ rpd:images:cloak_spell_icon.png|Cloak Spell Icon }} **Cloak Spell** is a spell in Remixed Pixel Dungeon (Rogue Affinity) that provides temporary invisibility. ==== Description ==== Step into the shadows to become unseen. Greatly reduce your chances of being detected. Can't be used while enemies are nearby. ==== Stats ==== * **Magic Affinity:** Rogue * **Targeting:** self * **Level:** 1 * **Mana Cost:** 5 * **Cooldown:** 20 turns * **Cast Time:** 0.5 turns * **Duration:** Caster's skill level * 5 turns ==== Mechanics ==== * Applies the [[en:rpd:cloak_buff|Cloak Buff]] which makes the character invisible * Provides stealth bonus: Caster's skill level + caster's level / 4 * Character appears with invisible status effect * Cannot be used if the caster has visible enemies nearby (caster:visibleEnemies() > 0) * Lasts for the specified duration (the buff automatically detaches after duration expires) ==== Usage ==== The Cloak Spell can be used for: * Escaping dangerous situations * Avoiding enemy detection during movement * Tactical positioning without being noticed * Preparing for surprise attacks ==== Classes ==== Classes that can use this spell include: * Classes with Rogue affinity (e.g., [[en:rpd:rogue_class|Rogue class]]) * Other classes that gain access through special means ==== Strategy ==== How to effectively use the Cloak Spell: * Use when no enemies are in sight to avoid triggering the failure message * Plan movement carefully as the invisibility only lasts for the calculated duration * Use to escape from groups of enemies or dangerous areas * Combine with other stealth-based strategies for maximum utility * The spell has a significant cooldown, so use it strategically ==== Information Sources ==== * Lua Spell: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/scripts/spells/Cloak.lua|Cloak.lua]] * Lua Buff: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/scripts/buffs/Cloak.lua|Cloak.lua (Buff)]] * String Resources: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml#L2255-L2257|CloakSpell_Name, CloakSpell_Info, CloakSpell_EnemiesNearby]] * String Resources: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml#L2258-L2259|CloakBuff_Name, CloakBuff_Info]] ==== See Also ==== * [[en:rpd:spells|Spells]] * [[en:rpd:mechanics|Game Mechanics]] * [[en:rpd:rogue_class|Rogue Affinity]] * [[en:rpd:cloak_buff|Cloak Buff]] * [[en:rpd:hide_in_grass_spell|Hide in Grass Spell]] * [[en:rpd:invisibility_buff|Invisibility]] {{tag> rpd spells rogue }}