9
3

TelluricBash.lua 541 B

123456789101112131415161718192021
  1. --[[
  2. Script Name : Spells/Pet/TelluricBash.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.11.19 06:11:15
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, DmgType, MinVal, MaxVal)
  9. local StrBonus = math.floor(GetStr(Caster) / 10)
  10. local MinDmg = math.floor(MinVal + StrBonus)
  11. local MaxDmg = math.floor(MaxVal + StrBonus)
  12. SpellDamage(Target, DmgType, MinDmg, MaxDmg)
  13. if not IsEpic(Target) then
  14. CastSpell(Target, 5001, GetSpellTier())
  15. end
  16. end