mr:shoot_in_eye_spell
Table of Contents
Shoot In Eye Spell - Code References
Java Classes
This entity is implemented in Lua, no Java class exists
JSON Configuration
This entity is implemented in Lua, no JSON configuration exists
String Resources
<string name="ShootInEye_Name">Shoot In Eye</string> <string name="ShootInEye_Info">Use your exceptional marksmanship skills to shoot the enemy right in the eye, if he has any of course.</string>
Lua Scripts
- ShootInEye.lua - Main spell implementation
- CustomSpellsList.lua - Spell registration (Huntress spell list)
- commonClasses.lua - RPD helper functions
- spell.lua - Spell base class
Implementation Details
- Script Path: scripts/spells/ShootInEye.lua
- Magic Affinity: Huntress
- Targeting Type: char_not_self (requires target selection)
- Level Requirement: 1
- Cast Time: 1 turn
- Spell Cost: 5 mana
- Effects:
- Visual: Boomerang zap effect from caster to target
- Applies Blindness buff to target (duration based on caster's skill level)
- Deals damage: sqrt(skillLevel) * weapon.damageRoll(caster)
- Plays Wound sound effect on hit
- Dependencies:
- Requires weapon equipped to calculate damage
- Uses RPD.zapEffect() for visual effect
- Uses RPD.affectBuff() to apply Blindness
- Uses RPD.Sfx.Wound:hit() for sound effect
Related mr Entities
mr/shoot_in_eye_spell.txt · Last modified: by 127.0.0.1

