9
3

MastersRage.lua 716 B

1234567891011121314151617181920212223
  1. --[[
  2. Script Name : Spells/Fighter/MastersRage.lua
  3. Script Author : John Adams
  4. Script Date : 2013.08.10 02:08:09
  5. Script Notes : Melee damage + debuff
  6. --]]
  7. function cast(Caster, Target, DDType, MinDmg, MaxDmg, Debuff)
  8. -- Damage component, if a Lore and Legend Race ONLY
  9. if MaxDDVal ~= nil and MinDDVal < MaxDDVal then
  10. dmgAmount = math.random(MinDDVal, MaxDDVal)
  11. SpellDamage(Target, DDType, dmgAmount)
  12. else
  13. SpellDamage(Target, DDType, MinDDVal)
  14. end
  15. -- Debuff component
  16. AddSkillBonus(Target, 3850377186, Debuff) -- deflection
  17. AddSkillBonus(Target, 540022425, Debuff) -- parry
  18. AddSkillBonus(Target, 609880714, Debuff) -- defense
  19. end