<rules>
<rule name="法術攻擊">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="cancel_skill"/>
<cmd name="melee_attack" timeout="5000"/>
<cmd name="move_around" clockwise="true" radius="500" run="true" timeout="500"/>
<cmd name="prepare_skill" pet_skill="windmill" try_cnt="3" timeout="3000"/>
<cmd name="wait" min="1000" max="2000"/>
<cmd name="process_skill" target="pos_toward_target" timeout="4000"/>
</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"/>
<cmd name="prepare_skill" pet_skill="windmill" try_cnt="3" timeout="3000"/>
<cmd name="wait" min="1000" max="2000"/>
<cmd name="process_skill" target="pos_toward_target" timeout="4000"/>
</sequence>
</pattern>
<event name="target_magic_prepare"/>
</rule>
<rule name="主人被打了">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="cancel_skill"/>
<cmd name="skill_relax" on="false"/>
<cmd name="melee_attack" timeout="2000"/>
<cmd name="move_around" clockwise="true" radius="300" run="true" timeout="500"/>
<cmd name="prepare_skill" pet_skill="windmill" try_cnt="3" timeout="3000"/>
<cmd name="wait" min="1000" max="2000"/>
<cmd name="process_skill" target="pos_toward_target" timeout="4000"/>
</sequence>
</pattern>
<event name="master_attacked" master_skill="all" down="false"/>
</rule>
<rule name="主人被盯上">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="chase" chase_target="master" timeout="500" run="true"/>
<cmd name="prepare_skill" pet_skill="windmill" try_cnt="3" timeout="3000"/>
<cmd name="wait" min="1000" max="2000"/>
<cmd name="process_skill" target="pos_toward_target" timeout="4000"/>
</sequence>
</pattern>
<event name="master_targeted" targeting_type="attack"/>
</rule>
<rule name="寵物被盯上">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="windmill" try_cnt="3" timeout="3000"/>
<cmd name="wait" min="1000" max="2000"/>
<cmd name="process_skill" target="pos_toward_target" timeout="4000"/>
</sequence>
</pattern>
<event name="targeted" targeting_type="attack"/>
</rule>
<rule name="尋找敵人">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="move_around" clockwise="true" radius="300" run="true" timeout="500"/>
<cmd name="prepare_skill" pet_skill="windmill" try_cnt="3" timeout="3000"/>
<cmd name="wait" min="1000" max="2000"/>
<cmd name="process_skill" target="pos_toward_target" timeout="4000"/>
</sequence>
</pattern>
<event name="seek_target"/>
</rule>
<rule name="被攻擊用風車">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="move_against" distance="900" run="true" timeout="1000"/>
<cmd name="chase" chase_target="enemy" timeout="500" run="false"/>
<cmd name="prepare_skill" pet_skill="windmill" try_cnt="3" timeout="3000"/>
<cmd name="wait" min="1000" max="2000"/>
<cmd name="process_skill" target="pos_toward_target" timeout="4000"/>
</sequence>
</pattern>
<event name="attacked" master_skill="all" down="false"/>
</rule>
<rule name="被打倒用風車">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="windmill" try_cnt="3" timeout="3000"/>
<cmd name="wait" min="1000" max="2000"/>
<cmd name="process_skill" target="pos_toward_target" timeout="4000"/>
</sequence>
</pattern>
<event name="attacked" master_skill="all" down="true"/>
</rule>
<rule name="風車後1">
<conditions>
<condition name="target_state" state="stop"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="move_around" clockwise="true" radius="300" run="true" timeout="500"/>
<cmd name="prepare_skill" pet_skill="windmill" try_cnt="3" timeout="3000"/>
<cmd name="wait" min="1000" max="2000"/>
<cmd name="process_skill" target="pos_toward_target" timeout="4000"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="windmill" down="true"/>
</rule>
<rule name="風車後2">
<conditions>
<condition name="target_state" state="blowaway"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="move_around" clockwise="true" radius="300" run="true" timeout="500"/>
<cmd name="prepare_skill" pet_skill="windmill" try_cnt="3" timeout="3000"/>
<cmd name="wait" min="1000" max="2000"/>
<cmd name="process_skill" target="pos_toward_target" timeout="4000"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="windmill" down="true"/>
</rule>
<rule name="主人也使用風車時1">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="chase" chase_target="master" timeout="500" run="true"/>
<cmd name="prepare_skill" pet_skill="windmill" try_cnt="3" timeout="3000"/>
<cmd name="wait" min="1000" max="2000"/>
<cmd name="process_skill" target="pos_toward_target" timeout="4000"/>
</sequence>
</pattern>
<event name="master_skill_prepare" event_skill="windmill"/>
</rule>
<rule name="主人也使用風車時2">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="chase" chase_target="master" timeout="500" run="true"/>
<cmd name="prepare_skill" pet_skill="windmill" try_cnt="3" timeout="3000"/>
<cmd name="wait" min="1000" max="2000"/>
<cmd name="process_skill" target="pos_toward_target" timeout="4000"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="windmill"/>
</rule>
<rule name="沒事就開風車">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="windmill" try_cnt="3" timeout="3000"/>
<cmd name="wait" min="1000" max="2000"/>
<cmd name="process_skill" target="pos_toward_target" timeout="4000"/>
</sequence>
</pattern>
<event name="now_targeting"/>
</rule>
</rules>
2008年11月10日 星期一
[寵物AI]在異世界發明的無限風車 跟別的風車AI不一樣
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言