123456789101112131415161718192021222324 |
- --[[
- Script Name : Spells/Scout/Predator/Assassin/QuickStrike.lua
- Script Author : John Adams
- Script Date : 2013.11.20 08:11:13
- Script Purpose :
- :
- --]]
- function cast(Caster, Target, DmgType, MinVal, MaxVal, DoTType, DoTMinVal)
- -- Inflicts 6 - 10 melee damage on target
- if MaxVal ~= nil and MinVal < MaxVal then
- SpellDamage(Target, DmgType, math.random(MinVal, MaxVal))
- else
- SpellDamage(Target, DmgType, MinVal)
- end
- end
- function tick(Caster, Target, DmgType, MinVal, MaxVal, DoTType, DoTMinVal)
- SpellDamage(Target, DoTType, DoTMinVal)
- end
|