9
3

DoubleCross.lua 531 B

1234567891011121314151617181920
  1. --[[
  2. Script Name : Spells/Scout/Rogue/Swashbuckler/DoubleCross.lua
  3. Script Author : Jabantiz
  4. Script Date : 2013.12.15 08:12:20
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, BonusAmt, SkillAmt)
  9. -- Decreases WIS of target by 6.1
  10. AddSpellBonus(Target, 600, BonusAmt)
  11. -- Decreases Defense of target by 2.0
  12. AddSkillBonus(Target, GetSkillIDByName("Defense"), SkillAmt)
  13. end
  14. function remove(Caster, Target)
  15. RemoveSpellBonus(Target)
  16. RemoveSkillBonus(Target)
  17. end