Difference between revisions of "LUA:SummonDeityPet"
(Created page with "= LUA Functions: SummonDeityPet() = Summons a deity pet for the given spawn ==== Syntax ==== SummonDeityPet(param1, param2) ==== Parameters ==== ; Required - ''param1'' (Spawn...") |
(No difference)
|
Latest revision as of 20:17, 20 April 2013
LUA Functions: SummonDeityPet()
Summons a deity pet for the given spawn
Syntax
SummonDeityPet(param1, param2)
Parameters
- Required - param1 (Spawn), param2 (int32)
- param1 is the spawn getting the pet
- param2 is the DB id of the pet to spawn
Usage
function cast(Caster, Target) SummonDeityPet(Caster, 340083) end function remove(Caster, Target) pet = GetDeityPet(Caster) if pet ~= nil then DismissPet(pet) end end
A deity pet spell.