<?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%3ASetAgi</id>
	<title>LUA:SetAgi - 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%3ASetAgi"/>
	<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:SetAgi&amp;action=history"/>
	<updated>2026-07-14T00:51: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:SetAgi&amp;diff=5040&amp;oldid=prev</id>
		<title>Jabantiz: Created page with &quot;= LUA Functions: SetAgi() = Adds the given amount of agility to the given spawn   ==== Syntax ==== SetAgi(param1, param2)   ==== Parameters ==== ; Required - ''param1'' (Spawn), ...&quot;</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:SetAgi&amp;diff=5040&amp;oldid=prev"/>
		<updated>2013-09-12T05:39:04Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;= LUA Functions: SetAgi() = Adds the given amount of agility to the given spawn   ==== Syntax ==== SetAgi(param1, param2)   ==== Parameters ==== ; Required - &amp;#039;&amp;#039;param1&amp;#039;&amp;#039; (Spawn), ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= LUA Functions: SetAgi() =&lt;br /&gt;
Adds the given amount of agility to the given spawn&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Syntax ====&lt;br /&gt;
SetAgi(param1, param2)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
; Required - ''param1'' (Spawn), ''param2'' (sint32)&lt;br /&gt;
: ''param1'' is the spawn who's agility we want to modify&lt;br /&gt;
: ''param2'' is the amount to change agility by&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Usage ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function hailed(NPC, Spawn)&lt;br /&gt;
    SetAgi(Spawn, -10)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When the NPC is hailed the player will loose 10 agility&lt;/div&gt;</summary>
		<author><name>Jabantiz</name></author>
		
	</entry>
</feed>