交流區

奇幻留言版 - 回覆文章

【綜合】求寵物補血ai
發表人 安格(貝婷 - 1)(1F) 2008-07-24 23:47:49
回覆
求寵物補血ai
寵物懂休息回魔
各位大大幫幫忙
回覆弒天使 [ Lv.202 ] ?(迪恩 - 1)(2F) 2008-07-25 08:19:03
 
AI名稱:

寵物純治癒AI

AI原始檔:

<rules>
<rule name="RULE1">
<conditions>
<condition name="master_damaged_life_greater" life="20"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="healing" try_cnt="0" timeout="0"/>
<cmd name="process_skill" target="master" timeout="0"/>
</sequence>
</pattern>
<event name="master_targeted" targeting_type="alert"/>
</rule>
<rule name="RULE2">
<conditions>
<condition name="master_damaged_life_greater" life="20"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="healing" try_cnt="0" timeout="0"/>
<cmd name="process_skill" target="master" timeout="0"/>
</sequence>
</pattern>
<event name="seek_target"/>
</rule>
<rule name="RULE3">
<conditions>
<condition name="master_damaged_life_greater" life="20"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="healing" try_cnt="0" timeout="0"/>
<cmd name="process_skill" target="master" timeout="5000"/>
</sequence>
</pattern>
<event name="now_targeting"/>
</rule>
<rule name="RULE4">
<conditions>
<condition name="master_damaged_life_greater" life="20"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="healing" try_cnt="0" timeout="0"/>
<cmd name="process_skill" target="master" timeout="0"/>
</sequence>
</pattern>
<event name="targeted" targeting_type="alert"/>
</rule>
<rule name="RULE5">
<conditions>
<condition name="master_damaged_life_greater" life="20"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="healing" try_cnt="0" timeout="0"/>
<cmd name="process_skill" target="master" timeout="0"/>
</sequence>
</pattern>
<event name="targeted" targeting_type="attack"/>
</rule>
<rule name="RULE6">
<conditions>
<condition name="master_damaged_life_greater" life="20"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="healing" try_cnt="0" timeout="0"/>
<cmd name="process_skill" target="master" timeout="0"/>
</sequence>
</pattern>
<event name="master_targeted" targeting_type="attack"/>
</rule>
<rule name="RULE7">
<conditions>
<condition name="master_damaged_life_greater" life="20"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="healing" try_cnt="0" timeout="0"/>
<cmd name="process_skill" target="master" timeout="0"/>
</sequence>
</pattern>
<event name="master_attacked" master_skill="all" down="false"/>
</rule>
<rule name="RULE8">
<conditions>
<condition name="master_damaged_life_greater" life="20"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="healing" try_cnt="0" timeout="0"/>
<cmd name="process_skill" target="master" timeout="0"/>
</sequence>
</pattern>
<event name="master_attacked" master_skill="all" down="true"/>
</rule>
<rule name="RULE9">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="wait" min="10000" max="10000"/>
</sequence>
</pattern>
<event name="now_targeting"/>
</rule>
</rules>


AI簡述:

讓寵物幫補的AI,損血超過20就會補。

不像治癒模式會浪費MP,扣多少才補多少。

只會呆呆的補血而已,必須要寵物有正鎖定的目標,或是主人受到攻擊才會啟用。

最好用的地方就是掛甲用。
轉載自巴哈姆特精華區 著作者:yingru(夏意•思秋)
 
Message請先 登入 會員才能發表或回覆文章。
 
 
Message此篇文章發表日期已超過一個月,無法進行回覆。
 

網路禮儀

網路發言雖然是匿名性質,但網路發表文章還是請遵守基本的網路禮儀,請勿發表含有不雅文字、人身攻擊等文章內容,良好的奇幻交流環境需要您的配合!
回頂端