====== 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#L772-L773|Eye_Name and Eye_Kill]] - English localization * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-ru/strings_all.xml#L772-L773|Eye_Name and Eye_Kill]] - Russian localization * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-de/strings_all.xml#L775-L776|Eye_Name and Eye_Kill]] - German localization * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-fr/strings_all.xml#L768-L769|Eye_Name and Eye_Kill]] - French localization * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-es/strings_all.xml#L772-L773|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#L767-L768|Eye_Name and Eye_Kill]] - Chinese localization * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-ja/strings_all.xml#L771-L772|Eye_Name and Eye_Kill]] - Japanese localization * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-ko/strings_all.xml#L763-L764|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#L767-L768|Eye_Name and Eye_Kill]] - Portuguese localization * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-it/strings_all.xml#L772-L773|Eye_Name and Eye_Kill]] - Italian localization * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-pl/strings_all.xml#L773-L774|Eye_Name and Eye_Kill]] - Polish localization * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-uk/strings_all.xml#L790-L791|Eye_Name and Eye_Kill]] - Ukrainian localization * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-hu/strings_all.xml#L768-L769|Eye_Name and Eye_Kill]] - Hungarian localization * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-el/strings_all.xml#L767-L768|Eye_Name and Eye_Kill]] - Greek localization * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-tr/strings_all.xml#L772-L773|Eye_Name and Eye_Kill]] - Turkish localization * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-ms/strings_all.xml#L768-L769|Eye_Name and Eye_Kill]] - Malay localization * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-in/strings_all.xml#L762-L763|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