9
3

Maul.lua 662 B

12345678910111213141516171819202122
  1. --[[
  2. Script Name : Spells/Fighter/Warrior/Berserker/Maul.lua
  3. Script Author : neatz09
  4. Script Date : 2020.05.13 10:05:09
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Inflicts 32 - 53 melee damage on target
  9. -- Decreases Slashing, Crushing and Piercing of target by 1.5
  10. function cast(Caster, Target, DmgType, MinVal, MaxVal, SkillAmt)
  11. SpellDamage(Target, DmgType, MinVal, Maxval)
  12. if LastSpellAttackHit() then
  13. AddSkillBonus(Target, GetSkillIDByName("Slashing"), SkillAmt)
  14. AddSkillBonus(Target, GetSkillIDByName("Piercing"), SkillAmt)
  15. AddSkillBonus(Target, GetSkillIDByName("Crushing"), SkillAmt)
  16. end
  17. end