9
3

SmolderingFists.lua 1.4 KB

1234567891011121314151617181920212223242526272829303132333435
  1. --[[
  2. Script Name : Spells/Fighter/Brawler/Bruiser/SmolderingFists.lua
  3. Script Author : Jabantiz
  4. Script Date : 2014.03.10 09:03:55
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, Def, OffSkills, ProcDmgType, ProcDmgMin, ProcDmgMax)
  9. -- Decreases Defense of caster by 1.8
  10. AddSkillBonus(Target, GetSkillIDByName("Defense"), Def)
  11. -- Increases Ranged, Crushing, Piercing and Slashing of caster by 2.4
  12. AddSkillBonus(Target, GetSkillIDByName("Ranged"), OffSkills)
  13. AddSkillBonus(Target, GetSkillIDByName("Crushing"), OffSkills)
  14. AddSkillBonus(Target, GetSkillIDByName("Piercing"), OffSkills)
  15. AddSkillBonus(Target, GetSkillIDByName("Slashing"), OffSkills)
  16. -- On a melee hit this spell may cast Engulf on target of attack. Triggers about 2.0 times per minute.
  17. -- Inflicts 15 - 25 heat damage on target
  18. AddProc(Target, 3, 20)
  19. end
  20. function proc(Caster, Target, Type, Def, OffSkills, ProcDmgType, ProcDmgMin, ProcDmgMax)
  21. -- On a melee hit this spell may cast Engulf on target of attack. Triggers about 2.0 times per minute.
  22. -- Inflicts 15 - 25 heat damage on target
  23. if Type == 3 then
  24. ProcDamage(Caster, Target, "Engulf", ProcDmgType, ProcDmgMin, ProcDmgMax)
  25. end
  26. end
  27. function remove(Caster, Target)
  28. RemoveSkillBonus(Target)
  29. RemoveProc(Target)
  30. end