User Tools

Site Tools


mr:shoot_in_eye_spell

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
mr:shoot_in_eye_spell [2026/02/16 14:38] – Fix wiki page issues identified during standards compliance review Qwen Assistantmr:shoot_in_eye_spell [2026/02/16 14:39] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== 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 =====
 +<code xml>
 +<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>
 +</code>
 +
 +===== Lua Scripts =====
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/scripts/spells/ShootInEye.lua|ShootInEye.lua]] - Main spell implementation
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/scripts/spells/CustomSpellsList.lua|CustomSpellsList.lua]] - Spell registration (Huntress spell list)
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/scripts/lib/commonClasses.lua|commonClasses.lua]] - RPD helper functions
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/scripts/lib/spell.lua|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:blindness_buff|Blindness (Buff)]]
 +  * [[mr:huntress_class|Huntress (Class)]]
 +  * [[mr:spell|Spells]]
 +  * [[mr:magic_mechanic|Magic Mechanic]]
  
mr/shoot_in_eye_spell.txt · Last modified: by 127.0.0.1