BarroomNegotiation.lua 509 B

123456789101112131415161718
  1. --[[
  2. Script Name : Spells/Scout/Rogue/Brigand/BarroomNegotiation.lua
  3. Script Author : Zcoretri
  4. Script Date : 14.March.2014
  5. Script Purpose : added last hit clause 5/13/20
  6. :
  7. --]]
  8. function cast(Caster, Target, DmgType, MinDmg, MaxDmg)
  9. -- Inflicts melee damage on targets in Area of Effect
  10. -- Interrupts targets in Area of Effect
  11. SpellDamage(Target, DmgType, MinDmg, MaxDmg)
  12. if LastSpellAttackHit() then
  13. Interrupt(Caster, Target)
  14. end
  15. end