====== Blindness ====== {{ rpd:images:blindness_buff.png|Blindness Status Effect }} **Blindness** is a status effect in Remixed Dungeon that impairs the affected character's vision, reducing their ability to navigate and fight effectively. ==== Description ==== Completely blinded, only the sounds around can be heard. The affected character experiences significant penalties to vision, accuracy, and defense. ==== Effects ==== * **Reduced Vision**: Affected characters have limited sight range (character needs to be adjacent to hear sounds) * **Accuracy Penalty**: Reduced accuracy when attacking * **Defense Penalty**: Reduced defense against attacks * **Navigation**: Difficulty navigating terrain effectively * **Detection**: Character can only detect adjacent enemies * **Duration**: The effect lasts until it wears off or is cured ==== Causes ==== Blindness can be inflicted by: * [[en:rpd:enslaved_soul_mob|Enslaved Soul]] attacks * [[en:rpd:bandit_mob|Bandit]] attacks - inflicts blindness for 5-12 turns * [[en:rpd:shoot_in_eye_spell|Shoot in Eye Spell]] - inflicts blindness for a duration based on caster's skill level * [[en:rpd:scroll_of_psionic_blast_item|Scroll of Psionic Blast]] * [[en:rpd:wand_of_lightning_item|Wand of Lightning]] (in some cases) * [[en:rpd:scroll_of_curse_item|Scroll of Curse]] * Special abilities of certain mobs * Environmental effects or cursed items ==== Counters ==== * [[en:rpd:resistances|Blindness Resistance]] may reduce the effect * Potions and items that cure status effects may remove blindness * Some creatures may be immune to blindness effects (e.g., IceGuardian, RunicSkull, Lich, EnslavedSoul) * [[en:rpd:mind_vision_buff|Mind Vision]] can partially counteract blindness ==== Code References ==== * Java Class: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/buffs/Blindness.java|Blindness.java]] - Core implementation as a FlavourBuff * Entity Kind: getEntityKind() returns "Blindness" in Java code * Mechanics: attachTo and detach methods call target.observe() to update the field of view * String Resources: * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml#L559-L560|English strings]] - Name and info text * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-ru/strings_all.xml#L559-L560|Russian strings]] - Russian localization * Immunities: IceGuardian, RunicSkull, Lich, and some other mobs have immunity to Blindness * Lua scripts: ShootInEye.lua applies Blindness; commonClasses.lua binds Blindness class; autoTestAi.lua checks for Blindness buff ==== Content Verification ==== * **Source**: Java class `Blindness.java` in `com.watabou.pixeldungeon.actors.buffs` (extends FlavourBuff) * **Mechanics verified**: On attach/detach calls target.observe() to refresh field of view; icon is BuffIndicator.BLINDNESS * **Duration**: Determined by source applying the buff (no fixed duration in class) * **Sources verified**: EnslavedSoul, Bandit (5-12 turns), ShootInEye spell (skill level duration), ScrollOfPsionicBlast, WandOfLightning (some cases), ScrollOfCurse, various mob abilities * **String resources**: BlindnessBuff_Name ("Blinded"), BlindnessBuff_Info ("Completely blinded, only sounds can be heard"), Hero_StaBlindness ("You have been blinded!") * **Russian strings**: BlindnessBuff_Name ("Ослеплён"), BlindnessBuff_Info ("Полностью ослеплен, разве что слышны звуки вокруг"), Hero_StaBlindness ("Тебя ослепили!") * **Immunities**: IceGuardian, RunicSkull, Lich, EnslavedSoul have resistance/immunity * **Last updated**: Based on code analysis ==== See Also ==== * [[en:rpd:status_effects|Status Effects]] * [[en:rpd:mind_vision_buff|Mind Vision]] * [[en:rpd:accuracy_mechanic|Accuracy]] * [[en:rpd:buffs|Buffs and Debuffs]] * [[en:rpd:resistances|Resistances]] * [[mr:blindness_buff|mr:blindness_buff]] - Machine-readable reference {{tag> rpd status_effects buffs }}