9
3

DoubleCross.lua 604 B

12345678910111213141516171819202122
  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. Say(Caster, "Missing Elemental damage bonus")
  10. -- Decreases WIS of target by 6.1
  11. AddSpellBonus(Target, 600, BonusAmt)
  12. -- Decreases Defense of target by 2.0
  13. AddSkillBonus(Target, GetSkillIDByName("Defense"), SkillAmt)
  14. end
  15. function remove(Caster, Target)
  16. RemoveSpellBonus(Target)
  17. RemoveSkillBonus(Target)
  18. end