9
3

DurabilityModSuccessAdd.lua 642 B

123456789101112131415161718192021
  1. --[[
  2. Script Name : Spells/Tradeskills/DurabilityModSuccessAdd.lua
  3. Script Author : John Adams
  4. Script Date : 2013.11.23 12:11:39
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Info from spell_display_effects (remove from script when done)
  9. -- Reduces experimental durability gain by 1.0%.
  10. -- Increases experimental success chance by 2.0%
  11. -- Cannot be modified except by direct means
  12. function cast(Caster, Target, DurabilityMod, SuccessAdd)
  13. AddSpellBonus(Caster, 800, DurabilityMod)
  14. AddSpellBonus(Caster, 804, SuccessAdd)
  15. end
  16. function remove(Caster, Target, DurabilityMod, SuccessAdd)
  17. RemoveSpellBonus(Target)
  18. end