9
3

DaelisDanceofBlades.lua 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. --[[
  2. Script Name : Spells/Scout/Bard/Troubadour/DaelisDanceofBlades.lua
  3. Script Author : Zcoretri
  4. Script Date : 4.April.2014
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, AgiAmt, ProcChance, DmgType, MinDmg, MaxDmg, ProcChance2, DmgType2, MinDmg2, MaxDmg2, AvoidAmt, PhysMit, MitAmt)
  9. -- Increases AGI of caster by 47.0
  10. AddSpellBonus(Target, 2, AgiAmt)
  11. -- When damaged with a spell this spell has a 20% chance to cast Song Barrier on target's attacker.
  12. AddProc(Target, 2, ProcChance)
  13. -- Inflicts 65 - 109 mental damage on target
  14. SpellDamage(Target, DmgType, MinDmg, MaxDmg)
  15. -- When damaged with a melee weapon this spell has a 20% chance to cast Song Barrier on target's attacker.
  16. AddProc(Target, 2, ProcChance2)
  17. -- Inflicts 65 - 109 mental damage on target
  18. SpellDamage(Target, DmgType2, MinDmg2, MaxDmg2)
  19. -- Adds 14.0% to base avoidance.
  20. AddSpellBonus(Target, 696, AvoidAmt)
  21. -- Increases Mitigation of caster vs physical damage by 170
  22. -- Increases Mitigation of caster vs elemental, noxious and arcane damage by 379
  23. AddSpellBonus(Target, 200, PhyMit)
  24. AddSpellBonus(Target, 201, MitAmt)
  25. AddSpellBonus(Target, 202, MitAmt)
  26. AddSpellBonus(Target, 203, MitAmt)
  27. end
  28. function proc(Caster, Target, AgiAmt, ProcChance, DmgType, MinDmg, MaxDmg, ProcChance2, DmgType2, MinDmg2, MaxDmg2, AvoidAmt, PhysMit, MitAmt)
  29. ProcDamage(Caster, Target, "Song Barrier", DmgType, MinDmg, MaxDmg)
  30. ProcDamage(Caster, Target, "Song Barrier", DmgType2, MinDmg2, MaxDmg2)
  31. end
  32. function remove(Caster, Target)
  33. RemoveSpellBonus(Caster)
  34. RemoveProc(Caster)
  35. end