12345678910111213141516171819202122232425 |
- --[[
- Script Name : Spells/Mage/Sorcerer/Wizard/Fusion.lua
- Script Author : neatz09
- Script Date : 2019.10.11 05:10:04
- Script Purpose :
- :
- --]]
- -- Info from spell_display_effects (remove from script when done)
- -- Throws target back
- -- If Target is not Epic
- -- Inflicts 31 - 51 cold damage on targets in Area of Effect
- -- Stuns targets in Area of Effect
- -- If Target is not Epic
- -- Resistibility increases against targets higher than level 29.
- function cast(Caster, Target, DmgType, MinVal, MaxVal)
- if MaxVal ~= nil and MinVal < MaxVal then
- SpellDamage(Target, DmgType, math.random(MinVal, MaxVal))
- else
- SpellDamage(Target, DmgType, MinVal)
- end
- end
|