ProgressModDurabilityAdd.lua 496 B

12345678910111213141516
  1. --[[
  2. Script Name : Spells/Tradeskills/ProgressModDurabilityAdd
  3. Script Purpose: Modifies Progress while adding Durability during crafting
  4. Script Author : John Adams
  5. Script Date : 2013.08.10
  6. Script Notes :
  7. --]]
  8. function cast(Caster, Target, ProgressMod, DurabilityAmount)
  9. AddSpellBonus(Caster, 802, ProgressMod)
  10. AddSpellBonus(Caster, 801, DurabilityAmount)
  11. end
  12. function remove(Caster, Target, SuccessMod, ProgressAmount)
  13. RemoveSpellBonus(Target)
  14. end