資料原處:::
瑪奇奇幻世界
``*加入AI方法
1.按T開啟寵物視窗
2.點AI設定
3.新AI
4.顯示原始資料
5.複製寵物AI碼 (由 ...到... )
5.貼上
火反
<rules>
<rule name="主動用火焰攻擊">
<conditions>
<condition name="skill_preparable" pet_skill="firebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="move_against" distance="600" run="true" timeout="2000"/>
<cmd name="stackmagic_attack" stack_magic="firebolt" charge="1" timeout="5000"/>
</sequence>
</pattern>
<event name="seek_target"/>
</rule>
<rule name="寵物被發現,火焰">
<conditions>
<condition name="target_distance" min_distance="100" max_distance="1500"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="firebolt" charge="1" timeout="5000"/>
</sequence>
</pattern>
<event name="targeted" targeting_type="alert"/>
</rule>
<rule name="寵物被打飛,反擊">
<conditions>
<condition name="target_distance" min_distance="100" max_distance="1500"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="counter" try_cnt="4" timeout="10000"/>
<cmd name="wait" min="8000" max="10000"/>
</sequence>
</pattern>
<event name="attacked" master_skill="all" down="true"/>
</rule>
<rule name="寵物被警戒.反擊">
<conditions>
<condition name="target_distance" min_distance="100" max_distance="1500"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="counter" try_cnt="4" timeout="10000"/>
<cmd name="wait" min="8000" max="10000"/>
</sequence>
</pattern>
<event name="targeted" targeting_type="attack"/>
</rule>
<rule name="寵物發現敵人,火箭">
<conditions>
<condition name="target_distance" min_distance="100" max_distance="1500"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="firebolt" charge="1" timeout="7000"/>
</sequence>
</pattern>
<event name="seek_target"/>
</rule>
<rule name="寵物被打退,反擊">
<conditions>
<condition name="target_distance" min_distance="100" max_distance="1500"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="counter" try_cnt="4" timeout="10000"/>
<cmd name="wait" min="8000" max="10000"/>
</sequence>
</pattern>
<event name="attacked" master_skill="all" down="false"/>
</rule>
<rule name="火焰打中後,反擊">
<conditions>
<condition name="skill_preparable" pet_skill="firebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="counter" try_cnt="4" timeout="10000"/>
<cmd name="wait" min="8000" max="10000"/>
</sequence>
</pattern>
<event name="now_targeting"/>
</rule>
<rule name="反擊後,火焰">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="firebolt" try_cnt="1" timeout="0"/>
<cmd name="stackmagic_attack" stack_magic="firebolt" charge="1" timeout="5000"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="counter" down="true"/>
</rule>
</rules>
[ 本帖最後由 可愛小喬女 於 2008-6-16 11:28 編輯 ] |
|