BriasEntrancingSonnet.lua 544 B

12345678910111213141516171819202122232425
  1. --[[
  2. Script Name : Spells/Scout/Bard/Troubador/BriasEntrancingSonnet.lua
  3. Script Author : neatz09
  4. Script Date : 2020.02.11 07:02:14
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Charms target
  9. -- Certain enemies cannot be charmed
  10. -- Does not affect Epic targets
  11. -- Does not affect Epic targets
  12. function cast(Caster, Target)
  13. if not IsEpic(Target) then
  14. Charm(Caster, Target)
  15. end
  16. end
  17. function remove(Caster, Target)
  18. pet = GetCharmedPet(Caster)
  19. if pet ~= nil then
  20. DismissPet(pet)
  21. end
  22. end