UltravioletBeam.lua 429 B

12345678910111213141516
  1. --[[
  2. Script Name : Spells/Mage/Enchanter/Illusionist/UltravioletBeam.lua
  3. Script Author : John Adams
  4. Script Date : 2013.11.19
  5. Script Purpose :
  6. --]]
  7. function cast(Caster, Target, DDType, MinDDVal, MaxDDVal)
  8. if MaxDDVal ~= nil and MinDDVal < MaxDDVal then
  9. SpellDamage(Target, DDType, math.random(MinDDVal, MaxDDVal))
  10. else
  11. SpellDamage(Target, DDType, MinDDVal)
  12. end
  13. end