9
3

TaffosBrilliantBlade.lua 672 B

1234567891011121314151617181920212223
  1. --[[
  2. Script Name : Spells/Scout/Bard/TaffosBrilliantBlade.lua
  3. Script Author : neatz09
  4. Script Date : 2020.11.06 06:11:29
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Inflicts 52 - 87 melee damage on target
  9. -- Decreases power of target by 20 - 33
  10. -- Must be flanking or behind
  11. function precast(Caster,Target)
  12. if not IsFlanking(Caster, Target) and not IsBehind(Caster, Target) then
  13. SendMessage(Caster, "Must be flanking or behind", "yellow")
  14. return 0
  15. else
  16. return true
  17. end
  18. end
  19. function cast(Caster, Target, DmgType, MinVal, MaxVal, MinHeal, MaxHeal)
  20. SpellDamage(Target, DmgType, MinVal, MaxVal)
  21. end