VeliumWinds.lua 579 B

1234567891011121314151617181920
  1. --[[
  2. Script Name : Spells/Priest/Shaman/Mystic/VeliumWinds.lua
  3. Script Author : John Adams
  4. Script Date : 2013.11.19 09:11:17
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, DmgType, MinDmgVal, MaxDmgVal, SpellID)
  9. -- Missing Slows Target Component
  10. -- Damage component
  11. if MaxDmg ~= nil and MinDmg < MaxDmg then
  12. dmgAmount = math.random(MinDmg, MaxDmg)
  13. SpellDamage(Target, DmgType, dmgAmount)
  14. end
  15. -- Applies Touch of the Grey. Lasts for 10.0 seconds.
  16. CastSpell(Target, 3000, 1, Caster)
  17. end