====== Sleep Buff ====== **Sleep** is a status effect in Remixed Dungeon that renders the affected character unconscious and unable to take actions. ==== Effects ==== * **Action Prevention**: Affected characters cannot move, attack, or use items/spells * **Turn Skipping**: The affected character's turn is skipped until awakened * **Automatic Awakening**: The effect wears off after a certain number of turns * **Damage Awakening**: Taking damage awakens the sleeping character * **Visual Indicator**: Affected characters show a sleeping animation ==== Causes ==== Sleep can be inflicted by: * [[en:rpd:scroll_of_lullaby_item|Scroll of Lullaby]] - Puts all enemies in the area to sleep * Special abilities of certain mobs * Some enchantments or items with sleep effects * Various spells or magic effects ==== Counters ==== * Taking damage awakens the affected character * Some creatures are immune to sleep effects (e.g., [[en:rpd:golem_mob|Golem]], [[en:rpd:lich_mob|Lich]], [[en:rpd:ice_guardian_mob|Ice Guardian]]) * [[en:rpd:resistances|Sleep Resistance]] reduces the chance of being affected * Some classes have abilities that prevent sleep ==== Immunities ==== The following enemies are immune to sleep: * [[en:rpd:golem_mob|Golem]] - Construct creature * [[en:rpd:lich_mob|Lich]] - Undead boss * [[en:rpd:ice_guardian_mob|Ice Guardian]] - Ice elemental * [[en:rpd:ice_guardian_core_mob|Ice Guardian Core]] - Ice elemental core * [[en:rpd:rotting_fist_mob|Rotting Fist]] - Yog-Dzewa's avatar * [[en:rpd:burning_fist_mob|Burning Fist]] - Yog-Dzewa's avatar * [[en:rpd:yog_mob|Yog]] - Yog-Dzewa's avatar * [[en:rpd:yogs_brain_mob|Yog's Brain]] - Yog-Dzewa's avatar * [[en:rpd:yogs_heart_mob|Yog's Heart]] - Yog-Dzewa's avatar * [[en:rpd:yogs_teeth_mob|Yog's Teeth]] - Yog-Dzewa's avatar * [[en:rpd:runic_skull_mob|Runic Skull]] - Undead creature ==== Source Code ==== * Java Class: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/buffs/Sleep.java|Sleep.java]] * Parent Class: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/buffs/FlavourBuff.java|FlavourBuff.java]] * String Resources (English): * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml#L613-L614|SleepBuff_Name, SleepBuff_Info]] * String Resources (Russian): * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-ru/strings_all.xml#L2035-L2036|SleepBuff_Name, SleepBuff_Info]] ==== See Also ==== * [[en:rpd:status_effects|Status Effects]] * [[en:rpd:scroll_of_lullaby_item|Scroll of Lullaby]] * [[en:rpd:buffs|Buffs and Debuffs]] * [[en:rpd:paralysis_buff|Paralysis]] * [[en:rpd:stun_buff|Stun]] * [[en:rpd:terror_buff|Terror]] {{tag> rpd status_effects buffs sleep}}