User Tools

Site Tools


mr:blindness_buff

Blindness Buff - Code References

Java Classes

JSON Configuration

This entity uses default buff configuration, no specific JSON config found:

  • RemixedDungeon/src/main/assets/buffsDesc/*.json

String Resources

English (values/strings_all.xml):

<string name="BlindnessBuff_Name">Blinded</string>
<string name="BlindnessBuff_Info">Completely blinded, only sounds can be heard.</string>
<string name="Hero_StaBlindness">You have been blinded!</string>

Russian (values-ru/strings_all.xml):

<string name="BlindnessBuff_Name">Ослеплён</string>
<string name="BlindnessBuff_Info">Полностью ослеплен, разве что слышны звуки вокруг.</string>
<string name="Hero_StaBlindness">Тебя ослепили!</string>

Other languages:

  • German (values-de/): Geblendet
  • Spanish (values-es/): Cegado
  • French (values-fr/): Aveuglé
  • Greek (values-el/): Τύφλωση

Lua Scripts

  • commonClasses.lua - Blindness class binding: Blindness = luajava.bindClass(“com.watabou.pixeldungeon.actors.buffs.Blindness”)
  • ShootInEye.lua - Uses Blindness buff: RPD.affectBuff(victim, RPD.Buffs.Blindness, caster:skillLevel())
  • autoTestAi.lua - AI check: if hero:buffLevel('Blindness') > 0 then

Buff Mechanics

  • Type: FlavourBuff (temporary status effect)
  • Effect: Completely blinds the target, limiting vision to only immediate surroundings
  • Icon: BuffIndicator.BLINDNESS
  • Attachment: Calls target.observe() when attached to refresh vision
  • Detachment: Calls target.observe() when removed to restore normal vision
  • Duration: Determined by the source applying the buff
mr/blindness_buff.txt · Last modified: by 127.0.0.1