<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Combots Бот для БК &mdash; маг воздуха. статика+поражение]]></title>
	<link rel="self" href="http://www.combats-bot.ru/extern.php?action=feed&amp;tid=1941&amp;type=atom"/>
	<updated>2010-03-22T13:06:08Z</updated>
	<generator>PunBB</generator>
	<id>http://www.combats-bot.ru/viewtopic.php?id=1941</id>
		<entry>
			<title type="html"><![CDATA[Re: маг воздуха. статика+поражение]]></title>
			<link rel="alternate" href="http://www.combats-bot.ru/viewtopic.php?pid=25919#p25919"/>
			<content type="html"><![CDATA[<p>я сперва закрывающую скобку забыл для switch - понадеялся, что в оригинале хотябы скобки выставлены правильно. <img src="http://www.combats-bot.ru/img/smilies/smile.png" width="15" height="15" alt="smile" /><br />сейчас вставил.</p>]]></content>
			<author>
				<name><![CDATA[anahronik]]></name>
				<uri>http://www.combats-bot.ru/profile.php?id=1272</uri>
			</author>
			<updated>2010-03-22T13:06:08Z</updated>
			<id>http://www.combats-bot.ru/viewtopic.php?pid=25919#p25919</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: маг воздуха. статика+поражение]]></title>
			<link rel="alternate" href="http://www.combats-bot.ru/viewtopic.php?pid=25918#p25918"/>
			<content type="html"><![CDATA[<p>сейчас потестирую</p>]]></content>
			<author>
				<name><![CDATA[bx]]></name>
				<uri>http://www.combats-bot.ru/profile.php?id=561</uri>
			</author>
			<updated>2010-03-22T12:48:06Z</updated>
			<id>http://www.combats-bot.ru/viewtopic.php?pid=25918#p25918</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: маг воздуха. статика+поражение]]></title>
			<link rel="alternate" href="http://www.combats-bot.ru/viewtopic.php?pid=25917#p25917"/>
			<content type="html"><![CDATA[<p>Если На противнике есть Заряды<br />Если на противнике = 1 Зарядов и Нр врага &lt; 25<br />или<br />Если на противнике = 2 Зарядов и Нр врага &lt; 50<br />или<br />Если на противнике = 3 Зарядов и Нр врага &lt; 75<br />или<br />Если на противнике = 4 Зарядов и Нр врага &lt; 100<br />или<br />Если на противнике = 5 Зарядов<br />то поражение ?</p><p>если есть кто-то кто распологает временем вот это условие надо собрать в кучу, в посте выш указаны условия надо вставить между ними условия и убрать лишнее. я смогу заняться вечером</p>]]></content>
			<author>
				<name><![CDATA[bx]]></name>
				<uri>http://www.combats-bot.ru/profile.php?id=561</uri>
			</author>
			<updated>2010-03-22T12:46:37Z</updated>
			<id>http://www.combats-bot.ru/viewtopic.php?pid=25917#p25917</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: маг воздуха. статика+поражение]]></title>
			<link rel="alternate" href="http://www.combats-bot.ru/viewtopic.php?pid=25916#p25916"/>
			<content type="html"><![CDATA[<div class="codebox"><pre class="javascript" style="font-family:monospace;"><span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">typeof</span><span style="color: #009900;">&#40;</span>top.<span style="color: #660066;">Battle</span>.<span style="color: #660066;">oBattle</span>.<span style="color: #660066;">oEnemySlot</span>.<span style="color: #660066;">arrEffects</span><span style="color: #009900;">&#91;</span><span style="color: #3366CC;">&quot;wis_air_charge2&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">==</span> <span style="color: #3366CC;">&quot;object&quot;</span><span style="color: #009900;">&#41;</span><br /><span style="color: #009900;">&#123;</span><br />&nbsp; &nbsp; chargeCount <span style="color: #339933;">=</span> top.<span style="color: #660066;">Battle</span>.<span style="color: #660066;">oBattle</span>.<span style="color: #660066;">oEnemySlot</span>.<span style="color: #660066;">oEffects</span>.<span style="color: #660066;">innerHTML</span>.<span style="color: #660066;">match</span><span style="color: #009900;">&#40;</span><span style="color: #009966; font-style: italic;">/&lt;span[^&gt;]*&gt;.(\d)?&lt;\/span&gt;&lt;\/div&gt;&lt;img[^&quot;]*&quot;.+\/wis_air_charge2\.gif&quot;&gt;/i</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>chargeCount <span style="color: #339933;">!=</span> <span style="color: #003366; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span><br />&nbsp; &nbsp; <span style="color: #009900;">&#123;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; chargeN <span style="color: #339933;">=</span> parseInt<span style="color: #009900;">&#40;</span>chargeCount<span style="color: #009900;">&#91;</span><span style="color: #CC0000;">1</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">switch</span><span style="color: #009900;">&#40;</span>chargeN<span style="color: #009900;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#123;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">case</span> <span style="color: #CC0000;">2</span><span style="color: #339933;">:</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>top.<span style="color: #660066;">Battle</span>.<span style="color: #660066;">oBattle</span>.<span style="color: #660066;">oEnemySlot</span>.<span style="color: #660066;">nHP</span> <span style="color: #339933;">&lt;</span> chargeN<span style="color: #339933;">*</span><span style="color: #CC0000;">25</span><span style="color: #009900;">&#41;</span>&nbsp; _name <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;wis_air_charge_dmg&quot;</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">case</span> <span style="color: #CC0000;">3</span><span style="color: #339933;">:</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>top.<span style="color: #660066;">Battle</span>.<span style="color: #660066;">oBattle</span>.<span style="color: #660066;">oEnemySlot</span>.<span style="color: #660066;">nHP</span> <span style="color: #339933;">&lt;</span> chargeN<span style="color: #339933;">*</span><span style="color: #CC0000;">25</span><span style="color: #009900;">&#41;</span> _name <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;wis_air_charge_dmg&quot;</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">case</span> <span style="color: #CC0000;">4</span><span style="color: #339933;">:</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>top.<span style="color: #660066;">Battle</span>.<span style="color: #660066;">oBattle</span>.<span style="color: #660066;">oEnemySlot</span>.<span style="color: #660066;">nHP</span> <span style="color: #339933;">&lt;</span> chargeN<span style="color: #339933;">*</span><span style="color: #CC0000;">25</span><span style="color: #009900;">&#41;</span>&nbsp; _name <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;wis_air_charge_dmg&quot;</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">case</span> <span style="color: #CC0000;">5</span><span style="color: #339933;">:</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _name <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;wis_air_charge_dmg&quot;</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />&nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />&nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">else</span><br />&nbsp; &nbsp; <span style="color: #009900;">&#123;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>top.<span style="color: #660066;">Battle</span>.<span style="color: #660066;">oBattle</span>.<span style="color: #660066;">oEnemySlot</span>.<span style="color: #660066;">nHP</span> <span style="color: #339933;">&lt;</span> <span style="color: #CC0000;">25</span><span style="color: #009900;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;_name <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;wis_air_charge_dmg&quot;</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; <span style="color: #009900;">&#125;</span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br /><span style="color: #009900;">&#125;</span></pre></div>]]></content>
			<author>
				<name><![CDATA[anahronik]]></name>
				<uri>http://www.combats-bot.ru/profile.php?id=1272</uri>
			</author>
			<updated>2010-03-22T12:44:56Z</updated>
			<id>http://www.combats-bot.ru/viewtopic.php?pid=25916#p25916</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[маг воздуха. статика+поражение]]></title>
			<link rel="alternate" href="http://www.combats-bot.ru/viewtopic.php?pid=25914#p25914"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>IgorFIN пишет:</cite><blockquote><p><em>модернизируем</em></p><p><strong>Заряд: Поражение</strong><br />Если На противнике есть Заряды<br />То&nbsp; &nbsp;Если на противнике = 1 Зарядов и Нр врага &lt; 25<br />&nbsp; &nbsp; &nbsp; &nbsp;То Поражение<br />&nbsp; &nbsp; &nbsp; &nbsp;Если на противнике = 2 Зарядов и Нр врага &lt; 50<br />&nbsp; &nbsp; &nbsp; &nbsp;То Поражение<br />&nbsp; &nbsp; &nbsp; &nbsp;Если на противнике = 3 Зарядов и Нр врага &lt; 75<br />&nbsp; &nbsp; &nbsp; &nbsp;То Поражение<br />&nbsp; &nbsp; &nbsp; &nbsp;Если на противнике = 4 Зарядов и Нр врага &lt; 100<br />&nbsp; &nbsp; &nbsp; &nbsp;То Поражение&nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp;Если на противнике = 5 Зарядов<br />&nbsp; &nbsp; &nbsp; &nbsp;То Поражение</p><div class="codebox"><pre class="javascript" style="font-family:monospace;"><span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">typeof</span><span style="color: #009900;">&#40;</span>top.<span style="color: #660066;">Battle</span>.<span style="color: #660066;">oBattle</span>.<span style="color: #660066;">oEnemySlot</span>.<span style="color: #660066;">arrEffects</span><span style="color: #009900;">&#91;</span><span style="color: #3366CC;">&quot;wis_air_charge2&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">==</span> <span style="color: #3366CC;">&quot;object&quot;</span><span style="color: #009900;">&#41;</span><br /><span style="color: #009900;">&#123;</span><br />&nbsp; &nbsp; chargeCount <span style="color: #339933;">=</span> top.<span style="color: #660066;">Battle</span>.<span style="color: #660066;">oBattle</span>.<span style="color: #660066;">oEnemySlot</span>.<span style="color: #660066;">oEffects</span>.<span style="color: #660066;">innerHTML</span>.<span style="color: #660066;">match</span><span style="color: #009900;">&#40;</span><span style="color: #009966; font-style: italic;">/&lt;br&gt;&lt;span[^&gt;]*&gt;.(\d)?&lt;\/span&gt;&lt;\/div&gt;&lt;img[^&quot;]*&quot;.+\/wis_air_charge2\.gif&quot;&gt;/i</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>chargeCount <span style="color: #339933;">!=</span> <span style="color: #003366; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span><br />&nbsp; &nbsp; <span style="color: #009900;">&#123;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; chargeN <span style="color: #339933;">=</span> parseInt<span style="color: #009900;">&#40;</span>chargeCount<span style="color: #009900;">&#91;</span><span style="color: #CC0000;">1</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">switch</span><span style="color: #009900;">&#40;</span>chargeN<span style="color: #009900;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#123;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">case</span> <span style="color: #CC0000;">2</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#123;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>top.<span style="color: #660066;">Battle</span>.<span style="color: #660066;">oBattle</span>.<span style="color: #660066;">oEnemySlot</span>.<span style="color: #660066;">nHP</span> <span style="color: #339933;">&lt;</span> chargeN<span style="color: #339933;">*</span><span style="color: #CC0000;">25</span><span style="color: #009900;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _name <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;wis_air_charge_dmg&quot;</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">case</span> <span style="color: #CC0000;">3</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#123;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>top.<span style="color: #660066;">Battle</span>.<span style="color: #660066;">oBattle</span>.<span style="color: #660066;">oEnemySlot</span>.<span style="color: #660066;">nHP</span> <span style="color: #339933;">&lt;</span> chargeN<span style="color: #339933;">*</span><span style="color: #CC0000;">25</span><span style="color: #009900;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _name <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;wis_air_charge_dmg&quot;</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">case</span> <span style="color: #CC0000;">4</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#123;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>top.<span style="color: #660066;">Battle</span>.<span style="color: #660066;">oBattle</span>.<span style="color: #660066;">oEnemySlot</span>.<span style="color: #660066;">nHP</span> <span style="color: #339933;">&lt;</span> chargeN<span style="color: #339933;">*</span><span style="color: #CC0000;">25</span><span style="color: #009900;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _name <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;wis_air_charge_dmg&quot;</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">case</span> <span style="color: #CC0000;">5</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#123;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _name <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;wis_air_charge_dmg&quot;</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">break</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />&nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">else</span><br />&nbsp; &nbsp; <span style="color: #009900;">&#123;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>top.<span style="color: #660066;">Battle</span>.<span style="color: #660066;">oBattle</span>.<span style="color: #660066;">oEnemySlot</span>.<span style="color: #660066;">nHP</span> <span style="color: #339933;">&lt;</span> <span style="color: #CC0000;">25</span><span style="color: #009900;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;_name <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;wis_air_charge_dmg&quot;</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; <span style="color: #009900;">&#125;</span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br /><span style="color: #009900;">&#125;</span></pre></div><br /><p><span style="color: red"><strong>Не работает</strong></span></p></blockquote></div><p>кто поможет доработать связку условий ? условие нужное и важное</p>]]></content>
			<author>
				<name><![CDATA[bx]]></name>
				<uri>http://www.combats-bot.ru/profile.php?id=561</uri>
			</author>
			<updated>2010-03-22T12:25:31Z</updated>
			<id>http://www.combats-bot.ru/viewtopic.php?pid=25914#p25914</id>
		</entry>
</feed>
