9
3

ScarabsSnappingMandibles.lua 460 B

12345678910111213141516
  1. --[[
  2. Script Name : Spells/Pet/ScarabsSnappingMandibles.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.11.18 09:11:59
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, DmgType, MinVal, MaxVal)
  9. DmgBonus = GetInt(Caster)/10
  10. MinDmg = math.floor(MinVal + DmgBonus)
  11. MaxDmg = math.floor(MaxVal + DmgBonus)
  12. SpellDamage(Target, DmgType, MinDmg, MaxDmg)
  13. end