SmolderingFists.lua 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637
  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. Say(Caster, "potency and Stoneskin/deathprevention/avoid not implemented.")
  10. -- Decreases Defense of caster by 1.8
  11. AddSkillBonus(Target, GetSkillIDByName("Defense"), Def)
  12. -- Increases Ranged, Crushing, Piercing and Slashing of caster by 2.4
  13. AddSkillBonus(Target, GetSkillIDByName("Ranged"), OffSkills)
  14. AddSkillBonus(Target, GetSkillIDByName("Crushing"), OffSkills)
  15. AddSkillBonus(Target, GetSkillIDByName("Piercing"), OffSkills)
  16. AddSkillBonus(Target, GetSkillIDByName("Slashing"), OffSkills)
  17. -- On a melee hit this spell may cast Engulf on target of attack. Triggers about 2.0 times per minute.
  18. -- Inflicts 15 - 25 heat damage on target
  19. AddProc(Target, 3, 20)
  20. end
  21. function proc(Caster, Target, Type, Def, OffSkills, ProcDmgType, ProcDmgMin, ProcDmgMax)
  22. -- On a melee hit this spell may cast Engulf on target of attack. Triggers about 2.0 times per minute.
  23. -- Inflicts 15 - 25 heat damage on target
  24. if Type == 3 then
  25. ProcDamage(Caster, Target, "Engulf", ProcDmgType, ProcDmgMin, ProcDmgMax)
  26. end
  27. end
  28. function remove(Caster, Target)
  29. RemoveSkillBonus(Target)
  30. RemoveProc(Target)
  31. end