※上記の広告は60日以上更新のないWIKIに表示されています。更新することで広告が下部へ移動します。

汎用護衛ILF0.2.2

下記のLB護衛を改良し、魔法・カウンタがある 全てのペットに対応 させた型です。
IB>LB>FB の優先順位で使用しますが、FBは間に合わない場合があるのでお勧めできません。
全てのペットに使える為、リストの整理になるかと。
.xmlファイルで保存(0.2.5)
.
<rules>
<rule name="主人が認識される アタック">
	<conditions/>
	<pattern>
		<param_decl/>
		<sequence>
			<cmd name="cancel_skill"/>
			<cmd name="melee_attack" timeout="0"/>
		</sequence>
	</pattern>
	<event name="master_targeted" targeting_type="alert"/>
</rule>
<rule name="主人が警戒される アタック">
	<conditions/>
	<pattern>
		<param_decl/>
		<sequence>
			<cmd name="cancel_skill"/>
			<cmd name="melee_attack" timeout="5000"/>
		</sequence>
	</pattern>
	<event name="master_targeted" targeting_type="attack"/>
</rule>
<rule name="ペットが認識される アタック">
	<conditions/>
	<pattern>
		<param_decl/>
		<sequence>
			<cmd name="cancel_skill"/>
			<cmd name="melee_attack" timeout="0"/>
		</sequence>
	</pattern>
	<event name="targeted" targeting_type="alert"/>
</rule>
<rule name="ペットが警戒される アタック">
	<conditions/>
	<pattern>
		<param_decl/>
		<sequence>
			<cmd name="cancel_skill"/>
			<cmd name="melee_attack" timeout="5000"/>
		</sequence>
	</pattern>
	<event name="targeted" targeting_type="attack"/>
</rule>
<rule name="弓潰し">
	<conditions/>
	<pattern>
		<param_decl/>
		<sequence>
			<cmd name="cancel_skill"/>
			<cmd name="melee_attack" timeout="5000"/>
		</sequence>
	</pattern>
	<event name="aimed"/>
</rule>
<rule name="魔法潰し">
	<conditions/>
	<pattern>
		<param_decl/>
		<sequence>
			<cmd name="cancel_skill"/>
			<cmd name="melee_attack" timeout="5000"/>
		</sequence>
	</pattern>
	<event name="target_magic_prepare"/>
</rule>
<rule name="タゲ中 カウンターの為待機">
	<conditions/>
	<pattern>
		<param_decl/>
		<sequence>
			<cmd name="wait" min="1000" max="1000"/>
		</sequence>
	</pattern>
	<event name="now_targeting"/>
</rule>
<rule name="アタック→カウンタ">
	<conditions>
		<condition name="skill_preparable" pet_skill="counter"/>
	</conditions>
	<pattern>
		<param_decl/>
		<sequence>
			<cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="5000"/>
			<cmd name="process_skill" target="enemy" timeout="0"/>
		</sequence>
	</pattern>
	<event name="attack" pet_attackable_skill="basic" down="true"/>
</rule>
<rule name="アタック失敗防止">
	<conditions/>
	<pattern>
		<param_decl/>
		<sequence>
			<cmd name="melee_attack" timeout="5000"/>
		</sequence>
	</pattern>
	<event name="attack" pet_attackable_skill="basic" down="false"/>
</rule>
<rule name="IB→カウンタ">
	<conditions/>
	<pattern>
		<param_decl/>
		<sequence>
			<cmd name="prepare_skill" pet_skill="counter" try_cnt="1" timeout="5000"/>
			<cmd name="process_skill" target="enemy" timeout="0"/>
		</sequence>
	</pattern>
	<event name="attack" pet_attackable_skill="icebolt" down="false"/>
</rule>
<rule name="LB→カウンタ">
	<conditions/>
	<pattern>
		<param_decl/>
		<sequence>
			<cmd name="prepare_skill" pet_skill="counter" try_cnt="1" timeout="5000"/>
			<cmd name="process_skill" target="enemy" timeout="0"/>
		</sequence>
	</pattern>
	<event name="attack" pet_attackable_skill="lightningbolt" down="false"/>
</rule>
<rule name="FB→カウンタ">
	<conditions/>
	<pattern>
		<param_decl/>
		<sequence>
			<cmd name="prepare_skill" pet_skill="counter" try_cnt="1" timeout="5000"/>
			<cmd name="process_skill" target="enemy" timeout="7000"/>
		</sequence>
	</pattern>
	<event name="attack" pet_attackable_skill="firebolt" down="true"/>
</rule>
<rule name="カウンタ→IB">
	<conditions>
		<condition name="skill_preparable" pet_skill="icebolt"/>
	</conditions>
	<pattern>
		<param_decl/>
		<sequence>
			<cmd name="stackmagic_attack" stack_magic="icebolt" charge="1" timeout="5000"/>
		</sequence>
	</pattern>
	<event name="attack" pet_attackable_skill="counter" down="true"/>
</rule>
<rule name="カウンタ→LB">
	<conditions>
		<condition name="skill_preparable" pet_skill="lightningbolt"/>
	</conditions>
	<pattern>
		<param_decl/>
		<sequence>
			<cmd name="stackmagic_attack" stack_magic="lightningbolt" charge="1" timeout="5000"/>
		</sequence>
	</pattern>
	<event name="attack" pet_attackable_skill="counter" down="true"/>
</rule>
<rule name="カウンタ→FB">
	<conditions>
		<condition name="skill_preparable" pet_skill="firebolt"/>
	</conditions>
	<pattern>
		<param_decl/>
		<sequence>
			<cmd name="stackmagic_attack" stack_magic="firebolt" charge="1" timeout="5000"/>
		</sequence>
	</pattern>
	<event name="attack" pet_attackable_skill="counter" down="true"/>
</rule>
<rule name="暴発防止">
	<conditions/>
	<pattern>
		<param_decl/>
		<sequence/>
	</pattern>
	<event name="attack" pet_attackable_skill="all" down="true"/>
</rule>
<rule name="被弾→カウンタ">
	<conditions>
		<condition name="skill_preparable" pet_skill="counter"/>
	</conditions>
	<pattern>
		<param_decl/>
		<sequence>
			<cmd name="prepare_skill" pet_skill="counter" try_cnt="1" timeout="5000"/>
			<cmd name="process_skill" target="enemy" timeout="0"/>
		</sequence>
	</pattern>
	<event name="attacked" master_skill="all" down="true"/>
</rule>
<rule name="被弾→カウンタ">
	<conditions>
		<condition name="skill_preparable" pet_skill="counter"/>
	</conditions>
	<pattern>
		<param_decl/>
		<sequence>
			<cmd name="prepare_skill" pet_skill="counter" try_cnt="1" timeout="5000"/>
			<cmd name="process_skill" target="enemy" timeout="7000"/>
		</sequence>
	</pattern>
	<event name="attacked" master_skill="all" down="true"/>
</rule>
<rule name="被弾→カウンタ">
	<conditions>
		<condition name="skill_preparable" pet_skill="counter"/>
	</conditions>
	<pattern>
		<param_decl/>
		<sequence>
			<cmd name="prepare_skill" pet_skill="counter" try_cnt="1" timeout="5000"/>
			<cmd name="process_skill" target="enemy" timeout="0"/>
		</sequence>
	</pattern>
	<event name="attacked" master_skill="all" down="true"/>
</rule>
<rule name="被弾否ダウン→アタック">
	<conditions/>
	<pattern>
		<param_decl/>
		<sequence>
			<cmd name="cancel_skill"/>
			<cmd name="melee_attack" timeout="5000"/>
		</sequence>
	</pattern>
	<event name="attacked" master_skill="all" down="false"/>
</rule>
<rule name="防御崩しIB">
	<conditions>
		<condition name="target_state" state="stop"/>
		<condition name="skill_preparable" pet_skill="icebolt"/>
	</conditions>
	<pattern>
		<param_decl/>
		<sequence>
			<cmd name="stackmagic_attack" stack_magic="icebolt" charge="1" timeout="5000"/>
		</sequence>
	</pattern>
	<event name="target_skill_prepare"/>
</rule>
<rule name="防御崩しLB">
	<conditions>
		<condition name="target_state" state="stop"/>
		<condition name="skill_preparable" pet_skill="lightningbolt"/>
	</conditions>
	<pattern>
		<param_decl/>
		<sequence>
			<cmd name="stackmagic_attack" stack_magic="lightningbolt" charge="1" timeout="5000"/>
		</sequence>
	</pattern>
	<event name="target_skill_prepare"/>
</rule>
<rule name="防御崩しFB">
	<conditions>
		<condition name="target_state" state="stop"/>
		<condition name="skill_preparable" pet_skill="firebolt"/>
	</conditions>
	<pattern>
		<param_decl/>
		<sequence>
			<cmd name="stackmagic_attack" stack_magic="firebolt" charge="1" timeout="5000"/>
		</sequence>
	</pattern>
	<event name="target_skill_prepare"/>
</rule>
</rules>

汎用型自動殲滅

周囲の敵を索敵し、アタックディフェにより撃沈します。
ある程度硬いペットであれば魔法の種類などを問わずに使えます。
敵が強い場所だと返り討ちにあい易いので注意してください。
※2010/02/16 バグを修正しました
.xmlファイルで保存
.
<rules>
<rule name="相手魔法の時">
	<conditions/>
	<pattern>
		<param_decl/>
		<sequence>
			<cmd name="cancel_skill"/>
			<cmd name="melee_attack" timeout="5000"/>
		</sequence>
	</pattern>
	<event name="target_magic_prepare"/>
</rule>
<rule name="相手弓の時">
	<conditions/>
	<pattern>
		<param_decl/>
		<sequence>
			<cmd name="cancel_skill"/>
			<cmd name="melee_attack" timeout="5000"/>
		</sequence>
	</pattern>
	<event name="aimed"/>
</rule>
<rule name="索敵">
	<conditions/>
	<pattern>
		<param_decl/>
		<sequence>
			<cmd name="cancel_skill"/>
			<cmd name="melee_attack" timeout="5000"/>
		</sequence>
	</pattern>
	<event name="seek_target"/>
</rule>
<rule name="相手ダウン→ディフェンス">
	<conditions>
		<condition name="target_state" state="blowaway"/>
		<condition name="target_state" state="shoved"/>
	</conditions>
	<pattern>
		<param_decl/>
		<sequence>
			<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="5000"/>
			<cmd name="wait" min="5000" max="5000"/>
			<cmd name="cancel_skill"/>
		</sequence>
	</pattern>
	<event name="now_targeting"/>
</rule>
<rule name="ディフェンス→アタック">
	<conditions/>
	<pattern>
		<param_decl/>
		<sequence>
			<cmd name="cancel_skill"/>
			<cmd name="melee_attack" timeout="5000"/>
		</sequence>
	</pattern>
	<event name="defence" defence_enable_skill="all"/>
</rule>
<rule name="相手スマッシュの時">
	<conditions>
		<condition name="target_state" state="run"/>
	</conditions>
	<pattern>
		<param_decl/>
		<sequence>
			<cmd name="cancel_skill"/>
			<cmd name="melee_attack" timeout="5000"/>
		</sequence>
	</pattern>
	<event name="target_skill_prepare"/>
</rule>
<rule name="相手カウンタの時(IB)">
	<conditions>
		<condition name="target_state" state="stop"/>
		<condition name="skill_preparable" pet_skill="icebolt"/>
	</conditions>
	<pattern>
		<param_decl/>
		<sequence>
			<cmd name="cancel_skill"/>
			<cmd name="stackmagic_attack" stack_magic="icebolt" charge="1" timeout="5000"/>
			<cmd name="melee_attack" timeout="5000"/>
		</sequence>
	</pattern>
	<event name="target_skill_prepare"/>
</rule>
<rule name="相手カウンタの時(LB)">
	<conditions>
		<condition name="target_state" state="stop"/>
		<condition name="skill_preparable" pet_skill="lightningbolt"/>
	</conditions>
	<pattern>
		<param_decl/>
		<sequence>
			<cmd name="cancel_skill"/>
			<cmd name="stackmagic_attack" stack_magic="lightningbolt" charge="1" timeout="5000"/>
			<cmd name="melee_attack" timeout="5000"/>
		</sequence>
	</pattern>
	<event name="target_skill_prepare"/>
</rule>
<rule name="相手カウンタの時(FB)">
	<conditions>
		<condition name="target_state" state="stop"/>
		<condition name="skill_preparable" pet_skill="firebolt"/>
	</conditions>
	<pattern>
		<param_decl/>
		<sequence>
			<cmd name="cancel_skill"/>
			<cmd name="stackmagic_attack" stack_magic="firebolt" charge="1" timeout="5000"/>
			<cmd name="prepare_skill" pet_skill="defence" try_cnt="1" timeout="5000"/>
		</sequence>
	</pattern>
	<event name="target_skill_prepare"/>
</rule>
<rule name="相手カウンタの時(マナ切れ)">
	<conditions>
		<condition name="target_state" state="stop"/>
	</conditions>
	<pattern>
		<param_decl/>
		<sequence/>
	</pattern>
	<event name="target_skill_prepare"/>
</rule>
<rule name="相手ディフェンスの時">
	<conditions>
		<condition name="target_state" state="walk"/>
	</conditions>
	<pattern>
		<param_decl/>
		<sequence>
			<cmd name="prepare_skill" pet_skill="smash" try_cnt="0" timeout="5000"/>
			<cmd name="melee_attack" timeout="5000"/>
		</sequence>
	</pattern>
	<event name="target_skill_prepare"/>
</rule>
<rule name="近接攻撃後暴発防止">
	<conditions/>
	<pattern>
		<param_decl/>
		<sequence/>
	</pattern>
	<event name="attack" pet_attackable_skill="all" down="true"/>
</rule>
</rules>

自動護衛AI ver.0.6.0.1

主人を認識・警戒した敵をLBカウンタで沈めていきます。
LBを別の魔法に変えると他の魔法でも使えますが、FBは詠唱が遅いのでお勧めできません。
邪魔になりにくい為、パーティーなどでも力を発揮します。
.xmlファイルで保存(0.6.2.0)
.
<rules>
<rule name="主人が認識される アタック">
	<conditions/>
	<pattern>
		<param_decl/>
		<sequence>
			<cmd name="cancel_skill"/>
			<cmd name="melee_attack" timeout="0"/>
		</sequence>
	</pattern>
	<event name="master_targeted" targeting_type="alert"/>
</rule>
<rule name="主人が警戒される アタック">
	<conditions/>
	<pattern>
		<param_decl/>
		<sequence>
			<cmd name="cancel_skill"/>
			<cmd name="melee_attack" timeout="5000"/>
		</sequence>
	</pattern>
	<event name="master_targeted" targeting_type="attack"/>
</rule>
<rule name="ペットが認識される アタック">
	<conditions/>
	<pattern>
		<param_decl/>
		<sequence>
			<cmd name="cancel_skill"/>
			<cmd name="melee_attack" timeout="0"/>
		</sequence>
	</pattern>
	<event name="targeted" targeting_type="alert"/>
</rule>
<rule name="ペットが警戒される アタック">
	<conditions/>
	<pattern>
		<param_decl/>
		<sequence>
			<cmd name="cancel_skill"/>
			<cmd name="melee_attack" timeout="5000"/>
		</sequence>
	</pattern>
	<event name="targeted" targeting_type="attack"/>
</rule>
<rule name="タゲ中 カウンターの為待機">
	<conditions/>
	<pattern>
		<param_decl/>
		<sequence>
			<cmd name="wait" min="1000" max="1000"/>
		</sequence>
	</pattern>
	<event name="now_targeting"/>
</rule>
<rule name="アタック→追撃アタック">
	<conditions/>
	<pattern>
		<param_decl/>
		<sequence>
			<cmd name="melee_attack" timeout="5000"/>
		</sequence>
	</pattern>
	<event name="attack" pet_attackable_skill="basic" down="false"/>
</rule>
<rule name="アタック後、カウンター">
	<conditions>
		<condition name="skill_preparable" pet_skill="counter"/>
	</conditions>
	<pattern>
		<param_decl/>
		<sequence>
			<cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="5000"/>
			<cmd name="process_skill" target="enemy" timeout="0"/>
		</sequence>
	</pattern>
	<event name="attack" pet_attackable_skill="basic" down="true"/>
</rule>
<rule name="カウンター後、LB">
	<conditions>
		<condition name="skill_preparable" pet_skill="lightningbolt"/>
	</conditions>
	<pattern>
		<param_decl/>
		<sequence>
			<cmd name="stackmagic_attack" stack_magic="lightningbolt" charge="1" timeout="5000"/>
		</sequence>
	</pattern>
	<event name="attack" pet_attackable_skill="counter" down="true"/>
</rule>
<rule name="LB後、カウンター">
	<conditions>
		<condition name="skill_preparable" pet_skill="counter"/>
	</conditions>
	<pattern>
		<param_decl/>
		<sequence>
			<cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="5000"/>
			<cmd name="process_skill" target="enemy" timeout="0"/>
		</sequence>
	</pattern>
	<event name="attack" pet_attackable_skill="lightningbolt" down="false"/>
</rule>
<rule name="LBで倒した 戦闘終了">
	<conditions/>
	<pattern>
		<param_decl/>
		<sequence/>
	</pattern>
	<event name="attack" pet_attackable_skill="lightningbolt" down="true"/>
</rule>
<rule name="アタック後 ダウン 暴発防止">
	<conditions/>
	<pattern>
		<param_decl/>
		<sequence/>
	</pattern>
	<event name="attack" pet_attackable_skill="basic" down="true"/>
</rule>
<rule name="スマッシュ後 ダウン 暴発防止">
	<conditions/>
	<pattern>
		<param_decl/>
		<sequence/>
	</pattern>
	<event name="attack" pet_attackable_skill="smash" down="true"/>
</rule>
<rule name="タゲ中 相手が吹っ飛んだらカウンター">
	<conditions>
		<condition name="target_state" state="blowaway"/>
		<condition name="target_state" state="shoved"/>
		<condition name="skill_preparable" pet_skill="counter"/>
	</conditions>
	<pattern>
		<param_decl/>
		<sequence>
			<cmd name="prepare_skill" pet_skill="counter" try_cnt="1" timeout="5000"/>
			<cmd name="process_skill" target="enemy" timeout="0"/>
		</sequence>
	</pattern>
	<event name="now_targeting"/>
</rule>
<rule name="被ダメージ ダウンした→カウンター">
	<conditions>
		<condition name="skill_preparable" pet_skill="counter"/>
	</conditions>
	<pattern>
		<param_decl/>
		<sequence>
			<cmd name="cancel_skill"/>
			<cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="5000"/>
			<cmd name="process_skill" target="enemy" timeout="0"/>
		</sequence>
	</pattern>
	<event name="attacked" master_skill="all" down="true"/>
</rule>
<rule name="被ダメージ ダウンしなかった→アタックカウンター">
	<conditions>
		<condition name="skill_preparable" pet_skill="counter"/>
	</conditions>
	<pattern>
		<param_decl/>
		<sequence>
			<cmd name="cancel_skill"/>
			<cmd name="melee_attack" timeout="5000"/>
			<cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="5000"/>
			<cmd name="process_skill" target="enemy" timeout="0"/>
		</sequence>
	</pattern>
	<event name="attack" pet_attackable_skill="all" down="false"/>
</rule>
<rule name="対遠距離攻撃用LB&アタック">
	<conditions/>
	<pattern>
		<param_decl/>
		<sequence>
			<cmd name="stack_skill" stack_magic="lightningbolt" charge="1"/>
			<cmd name="stackmagic_attack" stack_magic="lightningbolt" charge="1" timeout="1000"/>
			<cmd name="melee_attack" timeout="5000"/>
		</sequence>
	</pattern>
	<event name="aimed"/>
</rule>
<rule name="対魔法攻撃用アタック">
	<conditions/>
	<pattern>
		<param_decl/>
		<sequence>
			<cmd name="cancel_skill"/>
			<cmd name="melee_attack" timeout="5000"/>
		</sequence>
	</pattern>
	<event name="target_magic_prepare"/>
</rule>
</rules>