EyeGouge.lua 683 B

1234567891011121314151617181920212223242526
  1. --[[
  2. Script Name : Spells/Fighter/Brawler/Bruiser/EyeGouge.lua
  3. Script Author : Dello
  4. Script Date : 09/07/2014
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, DmgType, MinVal, MaxVal, SkillAmt)
  9. SpellDamage(Target, DmgType, MinVal, MaxVal)
  10. if LastSpellAttackHit() then
  11. AddSkillBonus(Target, GetSkillIDByName("Slashing"), SkillAmt)
  12. AddSkillBonus(Target, GetSkillIDByName("Ranged"), SkillAmt)
  13. AddSkillBonus(Target, GetSkillIDByName("Piercing"), SkillAmt)
  14. AddSkillBonus(Target, GetSkillIDByName("Crushing"), SkillAmt)
  15. end
  16. end
  17. function remove(Caster, Target)
  18. RemoveSkillBonus(Target)
  19. end