作成したAIをコメントのテンプレートを使い投稿してください。
----
#contents
//投稿用テンプレート
//
//***AIのタイトル
// ソースコード
//#comment(noname)
***FBカウンター [#ya3a0c1e]
<rules>
<rule name="敵発見、FB発射!">
<conditions>
<condition name="skill_preparable" pet_skill="firebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="cancel_skill"/>
<cmd name="wait" min="1000" max="1000"/>
<cmd name="stackmagic_attack" stack_magic="firebolt" charge="1" timeout="5000"/>
</sequence>
</pattern>
<event name="seek_target"/>
</rule>
<rule name="敵に発見された、FBで攻撃!">
<conditions>
<condition name="skill_preparable" pet_skill="firebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="cancel_skill"/>
<cmd name="wait" min="1000" max="1000"/>
<cmd name="stackmagic_attack" stack_magic="firebolt" charge="1" timeout="5000"/>
</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="alert"/>
</rule>
<rule name="敵がこちらに脅威を感じた、カウンター準備!">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="cancel_skill"/>
<cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="500"/>
</sequence>
</pattern>
<event name="targeted" targeting_type="attack"/>
</rule>
<rule name="敵ノックダウン確認、カウンターに移る">
<conditions>
<condition name="skill_preparable" pet_skill="counter"/>
<condition name="target_state" state="blowaway"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="500"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="all" down="true"/>
</rule>
<rule name="敵ノックダウン確認、FB発射!">
<conditions>
<condition name="skill_preparable" pet_skill="firebolt"/>
<condition name="target_state" state="blowaway"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="firebolt" charge="1" timeout="5000"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="all" down="true"/>
</rule>
<rule name="敵ノックバック/ノックダウン確認、ディフェンス">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="500"/>
<cmd name="move_against" distance="1000" run="false" timeout="5000"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="all" down="true"/>
</rule>
<rule name="アタックが通るなら、ダウンするまで攻撃">
<conditions>
<condition name="target_state" state="blowaway"/>
<condition name="target_state" state="shoved"/>
<condition name="target_state" state="hit"/>
</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="target_state" state="blowaway"/>
<condition name="target_state" state="shoved"/>
<condition name="target_state" state="hit"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="500"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="all" down="false"/>
</rule>
<rule name="敵がノックダウンしなかった、ディフェンス">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="500"/>
<cmd name="move_against" distance="1000" run="true" timeout="5000"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="all" down="false"/>
</rule>
<rule name="ディフェンスアタック">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="melee_attack" timeout="5000"/>
</sequence>
</pattern>
<event name="defence" defence_enable_skill="all"/>
</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="ノックダウンさせられたらカウンター">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="cancel_skill"/>
<cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="5000"/>
</sequence>
</pattern>
<event name="attacked" master_skill="all" down="true"/>
</rule>
<rule name="待機">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="wait" min="1000" max="1000"/>
</sequence>
</pattern>
<event name="now_targeting"/>
</rule>
</rules>
- 対BOSS戦用にペットのFBカウンター作りました。もしカウンターなど間に合わない場合の対処も書いてみましたが、足りない部分があったら教えてください。 -- &new{2007-02-02 (金) 02:59:14};
- ちなみに、6番目の「敵ノックダウン確認、FB発射!」をIB、LBに置き換えればIBカウンターにもなります。 -- &new{2007-02-02 (金) 03:00:32};
- あ、最初にFB打っていますが、本当は「スマッシュ」にしたいけど、バグでスマッシュ準備後固まるようで^^; -- &new{2007-02-02 (金) 03:01:21};
#comment(noname)