User Tools

Site Tools


mr:shoot_in_eye_spell

Shoot In Eye Spell - Code References

Shoot In Eye Spell

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

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
mr/shoot_in_eye_spell.txt · Last modified: by 127.0.0.1