====== Eye Mob - Code References ====== ===== Java Classes ===== * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/mobs/Eye.java|Eye.java]] - Main implementation of the Eye mob ===== JSON Configuration ===== * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/spritesDesc/Eye.json|Eye.json]] - Sprite configuration ===== String Resources ===== * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml#L1252-L1256|Eye_Name and Eye_Kill]] - English localization * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-ru/strings_all.xml#L755-L757|Eye_Name and Eye_Kill]] - Russian localization * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-de/strings_all.xml#L725-L727|Eye_Name and Eye_Kill]] - German localization * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-fr/strings_all.xml#L734-L736|Eye_Name and Eye_Kill]] - French localization * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-es/strings_all.xml#L715-L717|Eye_Name and Eye_Kill]] - Spanish localization * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-zh-rCN/strings_all.xml#L717-L719|Eye_Name and Eye_Kill]] - Chinese localization * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-ja/strings_all.xml#L724-L726|Eye_Name and Eye_Kill]] - Japanese localization * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-ko/strings_all.xml#L651-L653|Eye_Name and Eye_Kill]] - Korean localization * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-pt-rBR/strings_all.xml#L700-L702|Eye_Name and Eye_Kill]] - Portuguese localization * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-it/strings_all.xml#L634-L636|Eye_Name and Eye_Kill]] - Italian localization * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-pl/strings_all.xml#L747-L749|Eye_Name and Eye_Kill]] - Polish localization * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-uk/strings_all.xml#L703-L705|Eye_Name and Eye_Kill]] - Ukrainian localization * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-hu/strings_all.xml#L666-L668|Eye_Name and Eye_Kill]] - Hungarian localization * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-el/strings_all.xml#L741-L743|Eye_Name and Eye_Kill]] - Greek localization * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-tr/strings_all.xml#L712-L714|Eye_Name and Eye_Kill]] - Turkish localization * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-ms/strings_all.xml#L671-L673|Eye_Name and Eye_Kill]] - Malay localization * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-in/strings_all.xml#L696-L698|Eye_Name and Eye_Kill]] - Indonesian localization ===== Lua Scripts ===== This entity is implemented in Java, no Lua script exists ===== Key Code Details ===== * **HP:** 100 * **Damage:** 14-20 * **Defense:** 10 (dr method) * **Attack Skill:** 30 * **Defense Skill:** 20 * **Experience:** 13 * **Max Level:** 25 * **Movement:** Flying (cannot be affected by terrain) * **View Distance:** Dungeon view distance + 1 (enhanced vision) * **Attack Delay:** 1.6 seconds * **Loot:** 50% chance to drop [[en:rpd:dewdrop_item|Dewdrop]] * **Resistances:** - [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/wands/WandOfDisintegration.java|WandOfDisintegration]] - [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/weapon/enchantments/Death.java|Death enchantment]] - [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/weapon/enchantments/Leech.java|Leech enchantment]] * **Immunities:** [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/buffs/Terror.java|Terror]] buff * **Special Attack:** Deathgaze - fires a beam that hits all targets in a line between the Eye and its target * **Death Message:** "%s's deathgaze killed you..." ===== Key Code References ===== * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/mobs/Eye.java#L28-L48|Constructor]] - Stats initialization, resistances, and immunities * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/mobs/Eye.java#L50-L54|onSpawn method]] - Sets enhanced view distance * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/mobs/Eye.java#L56-L59|dr method]] - Returns defense rating of 10 * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/mobs/Eye.java#L61-L77|canAttack method]] - Uses Ballistica to check line of sight for ranged attack * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/mobs/Eye.java#L79-L82|_attackDelay method]] - Returns 1.6f attack delay * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/mobs/Eye.java#L84-L105|zapProc method]] - Deathgaze attack that hits all targets in a line