9
3

Fusion.lua 753 B

12345678910111213141516171819202122232425
  1. --[[
  2. Script Name : Spells/Mage/Sorcerer/Wizard/Fusion.lua
  3. Script Author : neatz09
  4. Script Date : 2019.10.11 05:10:04
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Info from spell_display_effects (remove from script when done)
  9. -- Throws target back
  10. -- If Target is not Epic
  11. -- Inflicts 31 - 51 cold damage on targets in Area of Effect
  12. -- Stuns targets in Area of Effect
  13. -- If Target is not Epic
  14. -- Resistibility increases against targets higher than level 29.
  15. function cast(Caster, Target, DmgType, MinVal, MaxVal)
  16. if MaxVal ~= nil and MinVal < MaxVal then
  17. SpellDamage(Target, DmgType, math.random(MinVal, MaxVal))
  18. else
  19. SpellDamage(Target, DmgType, MinVal)
  20. end
  21. end