ProgressModSuccessAdd.lua 654 B

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