mr:backstab_spell
Table of Contents
Backstab Spell - Code References
Java Classes
- Spell.java - Base spell class
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: 2castTime: 1spellCost: 2image: 2imageFile: “spellsIcons/rogue.png”
Spell Mechanics
Distracted States: PASSIVE, SLEEPING, FLEEING, HORRIFIED, RUNNINGAMOKDamage Calculation: math.sqrt(caster:skillLevel()) * (weapon:damageRoll(caster) + secondaryWeapon:damageRoll(caster))Range: 1 tile distanceRequirements: Target must be distracted or paralyzedEffect: Shows “backstab” status on victim (color: 0xff2030), deals damage and plays wound effect
Related mr Entities
mr/backstab_spell.txt · Last modified: by 127.0.0.1
