9
3

BatteryandAssault.lua 605 B

123456789101112131415161718
  1. --[[
  2. Script Name : Spells/Scout/Rogue/Brigand/BatteryandAssault.lua
  3. Script Purpose : Brigand Direct Damage
  4. Script Author : Zcoretri
  5. Script Date : 13.March.2014
  6. Script Notes :
  7. --]]
  8. function cast(Caster, Target, DmgType, MinDmg, MaxDmg, DmgType2, MinDmg2, MaxDmg2)
  9. -- Inflicts melee damage on target
  10. -- Inflicts melee damage on target
  11. -- NOTE: If one of these attacks misses, the rest after miss automaticly
  12. SpellDamage(Target, DmgType, MinDmg, MaxDmg)
  13. if LastSpellAttackHit() then
  14. SpellDamage(Target, DmgType2, MinDmg2, MaxDmg2)
  15. end
  16. end