EQ2EMu/server/Spells/SummonGargoyle.lua

28 lines
596 B
Lua
Raw Normal View History

2020-02-28 07:17:24 -07:00
--[[
Script Name : Spells/SummonGargoyle.lua
Script Author : Ememjr
Script Date : 2019.04.21 07:04:05
Script Purpose :
:
--]]
-- Info from spell_display_effects (remove from script when done)
-- Decreases Hate Gain of caster by 4.0%
-- Summons a pet lesser gargoyle
function cast(Caster, Target, HateGain)
AddSpellBonus(Target, 624, HateGain)
SummonCosmeticPet(Caster, 340083)
end
function remove(Caster, Target)
RemoveSpellBonus(Target)
pet = GetCosmeticPet(Caster)
if pet ~= nil then
DismissPet(pet)
end
end