<?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%3ASetSpellTriggerCount</id>
	<title>LUA:SetSpellTriggerCount - 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%3ASetSpellTriggerCount"/>
	<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:SetSpellTriggerCount&amp;action=history"/>
	<updated>2026-07-11T18:05:00Z</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:SetSpellTriggerCount&amp;diff=5259&amp;oldid=prev</id>
		<title>Thefoof: Created page with &quot;= LUA Functions: SetSpellTriggerCount() = Sets the amount of triggers on a spell.   ==== Syntax ==== SetSpellTriggerCount(param1, param2)   ==== Parameters ==== ; Required - ''pa...&quot;</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:SetSpellTriggerCount&amp;diff=5259&amp;oldid=prev"/>
		<updated>2014-03-18T03:45:36Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;= LUA Functions: SetSpellTriggerCount() = Sets the amount of triggers on a spell.   ==== Syntax ==== SetSpellTriggerCount(param1, param2)   ==== Parameters ==== ; Required - &amp;#039;&amp;#039;pa...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= LUA Functions: SetSpellTriggerCount() =&lt;br /&gt;
Sets the amount of triggers on a spell.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Syntax ====&lt;br /&gt;
SetSpellTriggerCount(param1, param2)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
; Required - ''param1'' (int16)&lt;br /&gt;
: ''param1'' is the amount of triggers this spell should have&lt;br /&gt;
; Optional - ''param2'' (int8)&lt;br /&gt;
: ''param2'' if set as 1 the spell will cancel automatically after all triggers have been removed from the spell&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;
    SetSpellTriggerCount(3, 1)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will add 3 triggers to the spell, and if all 3 triggers are removed the spell will then cancel.&lt;/div&gt;</summary>
		<author><name>Thefoof</name></author>
		
	</entry>
</feed>