嘗試編輯恢復用AI
<rules>
<rule name="風車後治療">
<conditions>
<condition name="skill_preparable" pet_skill="healing"/>
<condition name="master_damaged_life_greater" life="80"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="chase" chase_target="master" timeout="0" run="true"/>
<cmd name="prepare_skill" pet_skill="healing" try_cnt="0" timeout="5000"/>
<cmd name="process_skill" target="master" timeout="5000"/>
<cmd name="wait" min="1000" max="2000"/>
<cmd name="process_skill" target="master" timeout="5000"/>
<cmd name="wait" min="1000" max="2000"/>
<cmd name="process_skill" target="master" timeout="5000"/>
<cmd name="wait" min="1000" max="2000"/>
<cmd name="process_skill" target="master" timeout="5000"/>
<cmd name="wait" min="1000" max="2000"/>
<cmd name="process_skill" target="master" timeout="5000"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="windmill"/>
</rule>
<rule name="重擊後治療">
<conditions>
<condition name="master_damaged_life_greater" life="80"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="chase" chase_target="master" timeout="5000" run="true"/>
<cmd name="prepare_skill" pet_skill="healing" try_cnt="0" timeout="5000"/>
<cmd name="process_skill" target="master" timeout="5000"/>
<cmd name="wait" min="1000" max="1000"/>
<cmd name="process_skill" target="master" timeout="5000"/>
<cmd name="wait" min="1000" max="1000"/>
<cmd name="process_skill" target="master" timeout="5000"/>
<cmd name="wait" min="1000" max="1000"/>
<cmd name="process_skill" target="master" timeout="5000"/>
<cmd name="wait" min="1000" max="1000"/>
<cmd name="process_skill" target="enemy" timeout="5000"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="smash"/>
</rule>
<rule name="攻擊後治療">
<conditions>
<condition name="master_damaged_life_greater" life="80"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="chase" chase_target="master" timeout="2000" run="true"/>
<cmd name="prepare_skill" pet_skill="healing" try_cnt="0" timeout="5000"/>
<cmd name="process_skill" target="master" timeout="5000"/>
<cmd name="wait" min="1000" max="1000"/>
<cmd name="process_skill" target="master" timeout="5000"/>
<cmd name="wait" min="1000" max="1000"/>
<cmd name="process_skill" target="master" timeout="5000"/>
<cmd name="wait" min="1000" max="1000"/>
<cmd name="process_skill" target="master" timeout="5000"/>
<cmd name="wait" min="1000" max="1000"/>
<cmd name="process_skill" target="master" timeout="5000"/>
<cmd name="wait" min="1000" max="1000"/>
<cmd name="process_skill" target="master" timeout="5000"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="all"/>
</rule>
<rule name="主人受傷時治療">
<conditions>
<condition name="master_damaged_life_greater" life="80"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="chase" chase_target="master" timeout="0" run="true"/>
<cmd name="prepare_skill" pet_skill="healing" try_cnt="0" timeout="5000"/>
<cmd name="process_skill" target="master" timeout="5000"/>
<cmd name="wait" min="1000" max="1000"/>
<cmd name="process_skill" target="master" timeout="5000"/>
<cmd name="wait" min="1000" max="1000"/>
<cmd name="process_skill" target="master" timeout="5000"/>
<cmd name="wait" min="1000" max="1000"/>
<cmd name="process_skill" target="master" timeout="5000"/>
<cmd name="wait" min="1000" max="1000"/>
<cmd name="process_skill" target="master" timeout="5000"/>
<cmd name="wait" min="1000" max="1000"/>
<cmd name="process_skill" target="master" timeout="5000"/>
</sequence>
</pattern>
<event name="master_attacked" master_skill="all" down="false"/>
</rule>
</rules>
失血量80以上才會治療
數字可以自己改
還須調整再說吧
[ 此文章已由作者修改 1 次 最後更新於:2009-06-11 02:14:37 ]