SuccessModDurabilityAdd.lua 495 B

12345678910111213141516
  1. --[[
  2. Script Name : Spells/Tradeskills/SuccessModDurabilityAdd.lua
  3. Script Purpose: Modifies Success while adding Durability during crafting
  4. Script Author : Jabantiz
  5. Script Date : 2012.09.08
  6. Script Notes :
  7. --]]
  8. function cast(Caster, Target, SucessMod, DurabilityAmount)
  9. AddSpellBonus(Caster, 804, SuccessMod)
  10. AddSpellBonus(Caster, 801, DurabilityAmount)
  11. end
  12. function remove(Caster, Target, SuccessMod, DurabilityAmount)
  13. RemoveSpellBonus(Target)
  14. end