<?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%3ACancelSpell</id>
	<title>LUA:CancelSpell - 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%3ACancelSpell"/>
	<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:CancelSpell&amp;action=history"/>
	<updated>2026-07-13T22:52:20Z</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:CancelSpell&amp;diff=5241&amp;oldid=prev</id>
		<title>Jabantiz: Created page with &quot;= LUA Functions: CancelSpell() = Will cancel the spell that this function is called from  ==== Syntax ==== CancelSpell()   ==== Usage ==== &lt;pre&gt; function cast(Caster, Target)    ...&quot;</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:CancelSpell&amp;diff=5241&amp;oldid=prev"/>
		<updated>2014-01-16T21:52:33Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;= LUA Functions: CancelSpell() = Will cancel the spell that this function is called from  ==== Syntax ==== CancelSpell()   ==== Usage ==== &amp;lt;pre&amp;gt; function cast(Caster, Target)    ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= LUA Functions: CancelSpell() =&lt;br /&gt;
Will cancel the spell that this function is called from&lt;br /&gt;
&lt;br /&gt;
==== Syntax ====&lt;br /&gt;
CancelSpell()&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;
    AddSpellTimer(1000, &amp;quot;CancelSpell&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function CancelSpell(Caster, Target)&lt;br /&gt;
    CancelSpell()&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This spell will remove itself after 1 sec even if its duration is longer&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
The remove function will be called when you cancel the spell early&lt;/div&gt;</summary>
		<author><name>Jabantiz</name></author>
		
	</entry>
</feed>