<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://oldwiki.eq2classic.com/index.php?action=history&amp;feed=atom&amp;title=LUA%3ASummonDumbFirePet</id>
	<title>LUA:SummonDumbFirePet - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://oldwiki.eq2classic.com/index.php?action=history&amp;feed=atom&amp;title=LUA%3ASummonDumbFirePet"/>
	<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:SummonDumbFirePet&amp;action=history"/>
	<updated>2026-07-14T22:43:25Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.3</generator>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=LUA:SummonDumbFirePet&amp;diff=5095&amp;oldid=prev</id>
		<title>Jabantiz: Created page with &quot;= LUA Functions: SummonDumbFirePet() = Summons a dumbfire pet  ==== Syntax ==== SummonDumbFirePet(param1, param2, param3, [param4], [param5], [param6])   ==== Parameters ==== ; R...&quot;</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:SummonDumbFirePet&amp;diff=5095&amp;oldid=prev"/>
		<updated>2013-10-21T23:52:32Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;= LUA Functions: SummonDumbFirePet() = Summons a dumbfire pet  ==== Syntax ==== SummonDumbFirePet(param1, param2, param3, [param4], [param5], [param6])   ==== Parameters ==== ; R...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= LUA Functions: SummonDumbFirePet() =&lt;br /&gt;
Summons a dumbfire pet&lt;br /&gt;
&lt;br /&gt;
==== Syntax ====&lt;br /&gt;
SummonDumbFirePet(param1, param2, param3, [param4], [param5], [param6])&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
; Required - ''param1'' (Spawn), ''param2'' (Spawn), ''param3'' (int32)&lt;br /&gt;
: ''param1'' is the spawn getting the pet&lt;br /&gt;
: ''param2'' is the spawn the pet will attack&lt;br /&gt;
: ''param3'' is the DB id of the pet to spawn&lt;br /&gt;
; Optional - ''param4'' (float), ''param5'' (float), ''param6'' (float)&lt;br /&gt;
: ''param4'' is the x-coordinate&lt;br /&gt;
: ''param5'' is the y-coordinate&lt;br /&gt;
: ''param6'' is the z-coordinate&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Usage ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function cast(Caster, Target)&lt;br /&gt;
	local x = GetX(Caster)&lt;br /&gt;
	local y = GetY(Caster)&lt;br /&gt;
	local z = GetZ(Caster)&lt;br /&gt;
&lt;br /&gt;
	SummonDumbFirePet(Caster, Target, 4700878, math.random(0, 5) + x, math.random(0, 5) + y, math.random(0, 5) + z)&lt;br /&gt;
	SummonDumbFirePet(Caster, Target, 4700878, math.random(0, 5) + x, math.random(0, 5) + y, math.random(0, 5) + z)&lt;br /&gt;
	SummonDumbFirePet(Caster, Target, 4700878, math.random(0, 5) + x, math.random(0, 5) + y, math.random(0, 5) + z)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Will summon 3 dumbfire pets at random locations around the caster&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
If the coordinates are left out the pet will spawn at the casters location.&lt;br /&gt;
&lt;br /&gt;
The duration of the spell we determine how long the pets live.&lt;br /&gt;
&lt;br /&gt;
The pets can only get agro on given target.&lt;br /&gt;
&lt;br /&gt;
When the target dies, so does the pet.&lt;/div&gt;</summary>
		<author><name>Jabantiz</name></author>
		
	</entry>
</feed>