1234567891011121314151617181920212223242526 |
- --[[
- Script Name : Spells/Scout/CheapShot.lua
- Script Author : Jabantiz
- Script Date : 2013.12.16 03:12:31
- Script Purpose :
- :
- --]]
- function precast(Caster, Target)
- -- Does not affect Epic targets
- return (not IsEpic(Target)), 43
- end
- function cast(Caster, Target)
- -- Applies Cheap Shot on termination. Lasts for 2.0 seconds.
- -- Stuns target
- -- Does not affect Heroic or Epic targets.
- if not IsHeroic(Target) then
- AddControlEffect(Target, 4)
- end
- end
- function remove(Caster, Target)
- -- Remove Mez Effect
- RemoveControlEffect(Target, 4)
- end
|