HoldtheLine.lua 723 B

12345678910111213141516171819
  1. --[[
  2. Script Name : Spells/Fighter/Warrior/Guardian/HoldtheLine.lua
  3. Script Author : John Adams
  4. Script Date : 2013.08.11 03:08:12
  5. Script Purpose : Waiting for SpellProc() functionality
  6. : Passing only 1 value since they seem to be the same regardless which effect procs
  7. --]]
  8. -- Info from spell_display_effects (remove from script when done)
  9. -- When damaged this spell has a 50% chance to cast Holding the Line on target's attacker.
  10. -- Increases Threat to target by 27
  11. -- On a block this spell will cast Holding the Line on target's victim.
  12. -- Increases Threat to target by 27
  13. function cast(Caster, Target, AddHate)
  14. AddHate(Caster, Target)
  15. end