LinkedPain.lua 602 B

123456789101112131415161718192021
  1. --[[
  2. Script Name : Spells/Commoner/LinkedPain.lua
  3. Script Author : neatz09
  4. Script Date : 2020.09.30 09:09:44
  5. Script Purpose :
  6. :
  7. --]]
  8. -- When damaged with a melee weapon this spell has a 33% chance to cast Linked Pain on target's attacker.
  9. -- Decreases threat priority of target by 1 position
  10. -- Decreases Hate Gain of target by 10.7%
  11. function cast(Caster, Target, Hate)
  12. AddSpellBonus(Target, 624, Hate)
  13. Say(Caster, "Threat Position not implemented.")
  14. end
  15. function remove(Caster, Target)
  16. RemoveSpellBonus(Target)
  17. end