PeacefulLink.lua 766 B

123456789101112131415161718192021222324252627
  1. --[[
  2. Script Name : Spells/Mage/Enchanter/Coercer/PeacefulLink.lua
  3. Script Author : John Adams
  4. Script Date : 2013.08.11 08:08:18
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target)
  9. -- code to cast the spell
  10. Say(Caster, "Whoops! Guess this is not implemented yet!")
  11. -- Info from spell_display_effects (remove from script when done)
  12. -- When damaged with a melee weapon this spell has a 33% chance to cast Linked Pain on target's attacker.
  13. -- Decreases threat priority of target by 1 position
  14. -- Decreases Hate Gain of target by 8.6%
  15. end
  16. function tick(Caster, Target)
  17. -- code to process each call_frequency (tick) set in spell_tiers
  18. end
  19. function remove(Caster, Target)
  20. -- code to remove the spell
  21. end