<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; Помогите с LUA Script]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=10023</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=10023&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «Помогите с LUA Script».]]></description>
		<lastBuildDate>Fri, 03 Oct 2014 22:45:33 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Помогите с LUA Script]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=86997#p86997</link>
			<description><![CDATA[<p><span style="color: green"><strong>slava.shapovalov</strong>, ознакомьтесь с <a href="http://forum.script-coding.com/viewtopic.php?id=6148">этой</a> и с <a href="http://forum.script-coding.com/viewtopic.php?id=5421">этой</a> темами, отредактируйте заголовок.</span><br />И вообще, вы веткой не ошиблись? Это какой язык?</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Fri, 03 Oct 2014 22:45:33 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=86997#p86997</guid>
		</item>
		<item>
			<title><![CDATA[Помогите с LUA Script]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=86996#p86996</link>
			<description><![CDATA[<p>Нужно две функции объединить в одну, так как вместе они не работают. а только по отдельности .</p><div class="codebox"><pre><code>function Kick(self, elapsed) 
            local spell, _, _, _, _, endTime, _, _, interrupt = UnitCastingInfo(&quot;target&quot;)                
            local enabled = GetSpellCooldown(&quot;Зуботычина&quot;)            
            local inRange = IsSpellInRange(&quot;Зуботычина&quot;, &quot;target&quot;)            
            if spell then            
             if interrupt == false and enabled == 0 and inRange == 1 then                      
              RunMacroText(&quot;/cast Зуботычина&quot;)                      
             end 
            end                
end            
CreateFrame(&quot;Frame&quot;, &quot;KickFrame&quot;) 
KickFrame:SetScript(&quot;OnUpdate&quot;, Kick)</code></pre></div><br /><br /><br /><div class="codebox"><pre><code>function Kick(self, elapsed) 
            local spell, _, _, _, _, endTime, _, _, interrupt = UnitCastingInfo(&quot;target&quot;)                
            local enabled = GetSpellCooldown(&quot;Превосходство&quot;)            
            local inRange = IsSpellInRange(&quot;Превосходство&quot;, &quot;target&quot;)            
            if spell then            
             if interrupt == false and enabled == 0 and inRange == 1 then                      
              RunMacroText(&quot;/cast Превосходство&quot;)                      
             end 
            end                
end            
CreateFrame(&quot;Frame&quot;, &quot;KickFrame&quot;) 
KickFrame:SetScript(&quot;OnUpdate&quot;, Kick)</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (slava.shapovalov)]]></author>
			<pubDate>Fri, 03 Oct 2014 22:39:53 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=86996#p86996</guid>
		</item>
	</channel>
</rss>
