FightingChance.lua 431 B

123456789101112131415161718
  1. --[[
  2. Script Name : Spells/Fighter/FightingChance.lua
  3. Script Author : John Adams
  4. Script Date : 2013.11.22 09:11:34
  5. Script Purpose : Begins a Heroic Opportunity
  6. :
  7. --]]
  8. function precast(Caster, Target)
  9. -- Must be engaged in combat
  10. return IsInCombat(Caster)
  11. end
  12. function cast(Caster, Target)
  13. -- Begins a Heroic Opportunity
  14. StartHeroicOpportunity(Caster, 1)
  15. end