9
3

Cold.lua 659 B

123456789101112131415161718192021222324
  1. --[[
  2. Script Name : dd.lua
  3. Script Purpose : Generic direct damage script
  4. Script Author : John Adams
  5. Script Date : 2010.01.14
  6. --]]
  7. function cast(Caster, Target, DDType, MinDDVal, MaxDDVal)
  8. if MaxDDVal ~= nil and MinDDVal < MaxDDVal then
  9. dmgAmount = math.random(MinDDVal, MaxDDVal)
  10. SpellDamage(Target, DDType, dmgAmount)
  11. --AddHate(Caster, Target, dmgAmount)
  12. else
  13. SpellDamage(Target, DDType, MinDDVal)
  14. --AddHate(Caster, Target, MinDDVal)
  15. end
  16. end
  17. function remove(Caster, Target, DDType, MinDDVal, MaxDDVal)
  18. end