ペットAI掲示板

おすすめ ドラゴンちゃん用AI(多機能)
痛いネカマ 11/04/06 03:10
ペットキャラクターAIソースコード ソースコードをコピーする

<rules>
<rule name="アタック→アタック">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="melee_attack" timeout="0"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="basic" down="false"/>
</rule>
<rule name="ミル→ミル準備">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="windmill" try_cnt="0" timeout="0"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="windmill" down="true"/>
</rule>
<rule name="ミル⇒ディフェンス→ミル準備">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="windmill" try_cnt="0" timeout="0"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="windmill" down="false"/>
</rule>
<rule name="カウンター→IB">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="icebolt" charge="1" timeout="0"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="counter" down="true"/>
</rule>
<rule name="IB→カウンター">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="0"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="icebolt" down="false"/>
</rule>
<rule name="主人がIB→殴らない">
<conditions>
<condition name="skill_preparable" pet_skill="defence"/>
</conditions>
<pattern>
<param_decl/>
<sequence/>
</pattern>
<event name="attack" pet_attackable_skill="icebolt" down="false"/>
</rule>
<rule name="主人がIB→殴る">
<conditions>
<condition name="skill_preparable" pet_skill="windmill"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="melee_attack" timeout="0"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="icebolt"/>
</rule>
<rule name="スマ→LB">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="lightningbolt" charge="1" timeout="0"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="smash" down="true"/>
</rule>
<rule name="LB→スマ準備">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="smash" try_cnt="0" timeout="0"/>
<cmd name="move_against" distance="200" run="true" timeout="1000"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="lightningbolt" down="false"/>
</rule>
<rule name="やられカウンター">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="0"/>
</sequence>
</pattern>
<event name="attacked" master_skill="all" down="true"/>
</rule>
<rule name="タゲ中常時ミル使用">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="process_skill" target="my_pos" timeout="0"/>
</sequence>
</pattern>
<event name="now_targeting"/>
</rule>
<rule name="-----">
<conditions/>
<pattern>
<param_decl/>
<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="smash" try_cnt="0" timeout="0"/>
</sequence>
</pattern>
<event name="master_skill_prepare" event_skill="smash"/>
</rule>
<rule name="主人がスマ→回り込む">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="move_around" clockwise="true" radius="200" run="true" timeout="2000"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="smash"/>
</rule>
<rule name="主人がミル準備→ミル準備">
<conditions>
<condition name="skill_preparable" pet_skill="counter"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="windmill" try_cnt="0" timeout="0"/>
</sequence>
</pattern>
<event name="master_skill_prepare" event_skill="windmill"/>
</rule>
<rule name="主人がミル→ミル">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="process_skill" target="my_pos" timeout="0"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="windmill"/>
</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="0"/>
</sequence>
</pattern>
<event name="targeted" targeting_type="attack"/>
</rule>
</rules>



主人がスマ使ったらスマ連携、
主人がミルしたらミルミル、
敵に発見されたらIBCをするですぅ。

ただ、結構使いにくいのでそこは愛嬌ってことで><w


それと、AI作る人用のちょっとした発見?スキル仕様可能可否について!
近接スキル使ってるときは他の近接スキル使えないと思ってたけど、ミルは使えるみたいですぅ><

件名 名前 日付 閲覧数 投票数

ペンギンちゃん用AI

痛いネカマ 2011/06/19 7754 1  

パンに捧げるAI

+1
痛いネカマ 2011/05/02 9877 1  

ドラゴンちゃん用AI(実用)

+1
痛いネカマ 2011/04/17 30989 4  

ドラゴンちゃん用AI(多機能)

痛いネカマ 2011/04/06 19022 1  

ドラゴンちゃんAI(ロマン用)

+3
痛いネカマ 2011/03/31 13783 0  

たまにはこんなAIがあってもいいよね

+1
痛いネカマ 2010/10/24 11515 0  

[返事] フレイマースマAI

+1
痛いネカマ 2010/07/02 7096 0  

[返事] フレイマースマAI改造

+4
痛いネカマ 2010/07/05 6048 0  

ペッカで少し使えたので!

痛いネカマ 2010/05/11 14025 2  

距離判定付LBC+α

痛いネカマ 2010/05/01 11405 0  

この仕様変更はあもりにもひきょう過ぎるでしょう?

+3
痛いネカマ 2009/11/09 25532 0  

小技「~でないなら」条件判断

+1
痛いネカマ 2009/10/24 7552 0  

主人が相手に攻撃される・・・

+2
痛いネカマ 2009/09/29 10422 0  

あら!わたくし、ブチ切れますわよ

+6
痛いネカマ 2009/07/14 19607 0  

ネカマちゃんのとっておきAI教えてやるですぅ!

+7
痛いネカマ 2009/05/23 27515 3  

[返事] ペットミサイルのAI作りたいのですが

痛いネカマ 2009/04/23 8361 0