9
3

SummonDrake.lua 636 B

123456789101112131415161718192021222324
  1. --[[
  2. Script Name : Spells/SummonDrake.lua
  3. Script Author : Ememjr
  4. Script Date : 2019.04.21 08:04:32
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Info from spell_display_effects (remove from script when done)
  9. -- Increases Ability Reuse Speed of caster by 1.6%
  10. -- Summons a pet minor drake
  11. function cast(Caster, Target, AbilityReuseSpeed)
  12. AddSpellBonus(Target, 662, AbilityReuseSpeed)
  13. SummonCosmeticPet(Caster, 150084)
  14. end
  15. function remove(Caster, Target)
  16. RemoveSpellBonus(Target)
  17. pet = GetCosmeticPet(Caster)
  18. if pet ~= nil then
  19. DismissPet(pet)
  20. end
  21. end