Table of Contents
Eye Mob - Code References
Java Classes
JSON Configuration
String Resources
Lua Scripts
Key Code Details
Key Code References
Eye Mob - Code References
Java Classes
Eye.java
- Main implementation of the Eye mob
JSON Configuration
Eye.json
- Sprite configuration
String Resources
Eye_Name and Eye_Kill
- English localization
Eye_Name and Eye_Kill
- Russian localization
Eye_Name and Eye_Kill
- German localization
Eye_Name and Eye_Kill
- French localization
Eye_Name and Eye_Kill
- Spanish localization
Eye_Name and Eye_Kill
- Chinese localization
Eye_Name and Eye_Kill
- Japanese localization
Eye_Name and Eye_Kill
- Korean localization
Eye_Name and Eye_Kill
- Portuguese localization
Eye_Name and Eye_Kill
- Italian localization
Eye_Name and Eye_Kill
- Polish localization
Eye_Name and Eye_Kill
- Ukrainian localization
Eye_Name and Eye_Kill
- Hungarian localization
Eye_Name and Eye_Kill
- Greek localization
Eye_Name and Eye_Kill
- Turkish localization
Eye_Name and Eye_Kill
- Malay localization
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
Dewdrop
Resistances:
WandOfDisintegration
Death enchantment
Leech enchantment
Immunities:
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
Constructor
- Stats initialization, resistances, and immunities
onSpawn method
- Sets enhanced view distance
dr method
- Returns defense rating of 10
canAttack method
- Uses Ballistica to check line of sight for ranged attack
_attackDelay method
- Returns 1.6f attack delay
zapProc method
- Deathgaze attack that hits all targets in a line