DazingBash.lua 634 B

123456789101112131415161718192021222324
  1. --[[
  2. Script Name : Spells/AA/DazingBash.lua
  3. Script Author : neatz09
  4. Script Date : 2020.12.11 06:12:46
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Inflicts 436 - 727 crushing damage on target
  9. -- Dazes target
  10. -- If Target is not Epic
  11. -- Resistibility increases against targets higher than level 29.
  12. function cast(Caster, Target, DmgType, MinVal, MaxVal)
  13. Say(Caster, "Resistibility not implemented")
  14. SpellDamage(Target, DmgType, MinVal, MaxVal)
  15. if not IsEpic() then
  16. AddControlEffect(Target, 3)
  17. end
  18. end
  19. function remove(Caster, Target)
  20. RemoveControlEffect(Target, 3)
  21. end