mr:backstab_spell

Backstab Spell - Code References

Java Classes

JSON Configuration

This entity is implemented in Lua, no JSON configuration exists

String Resources

  • Backstab_Name: “Backstab”
  • Backstab_Info: “Silent hit in the back. Dishonest, but extremely effective, backstab damage will grow with performer skill level.\n\nSuccessful backstab will completely ignore victim armor or special defense abilities.”
  • Backstab_TooFar: “Victim too far for successful hit.”
  • Backstab_Aware: “Victim shouldn't be aware of you for a good backstab.”

Lua Scripts

Spell Properties

  • magicAffinity: “Rogue”
  • targetingType: “self”
  • level: 2
  • castTime: 1
  • spellCost: 2
  • image: 2
  • imageFile: “spellsIcons/rogue.png”

Spell Mechanics

  • Distracted States: PASSIVE, SLEEPING, FLEEING, HORRIFIED, RUNNINGAMOK
  • Damage Calculation: math.sqrt(caster:skillLevel()) * (weapon:damageRoll(caster) + secondaryWeapon:damageRoll(caster))
  • Range: 1 tile distance
  • Requirements: Target must be distracted or paralyzed
  • Effect: Shows “backstab” status on victim (color: 0xff2030), deals damage and plays wound effect
mr/backstab_spell.txt · Last modified: by 127.0.0.1