9
3

Assail.lua 594 B

12345678910111213141516171819202122
  1. --[[
  2. Script Name : Spells/Scout/Assail.lua
  3. Script Author : neatz09
  4. Script Date : 2020.11.06 07:11:13
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Inflicts 26 - 44 melee damage on target
  9. -- You must be sneaking to use this ability.
  10. function precast(Caster, Target)
  11. -- You must be sneaking to use this ability.
  12. if not IsStealthed(Caster) then
  13. SendMessage(Caster, "You must be sneaking to use this ability.", "yellow")
  14. return false
  15. end
  16. end
  17. function cast(Caster, Target)
  18. SpellDamage(Target, DmgType, MinVal, MaxVal)
  19. end