453 B
453 B
Function: SummonCosmeticPet(spawn, pet_id)
Description: Summon a cosmetic pet with the pet_id (spawn database id).
Parameters:
spawn
(Spawn) - Spawn object referencespawn
.pet_id
(uint32) - Integer valuepet_id
.
Returns: None.
Example:
-- From Spells/AA/SummonAnimatedTome.lua
function cast(Caster, Target, CritChance)
AddSpellBonus(Target, 656, CritChance)
SummonCosmeticPet(Caster, 150084)
end