交流區

奇幻留言版 - 回覆文章

【綜合】無標題 (非首篇) [ 觀看完整文章 ]
發表人 Krad [ Lv.464 ] ?(安黛莉 - 1)(1F) 2008-11-04 13:29:24
這是給寵物自律攻擊的
攻擊與防禦AI
<rules>
<rule name="尋找敵人">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="cancel_skill"/>
<cmd name="melee_attack" timeout="5000"/>
</sequence>
</pattern>
<event name="seek_target"/>
</rule>
<rule name="準備防禦">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="5000"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="basic" down="true"/>
</rule>
<rule name="繼續攻擊">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="melee_attack" timeout="5000"/>
</sequence>
</pattern>
<event name="defence" defence_enable_skill="all"/>
</rule>
</rules>

這是你的問題的
一用遠距離攻擊就會拼命放電
雷矢援助AI

<rules>
<rule name="跟主人一起打1">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="lightningbolt" charge="1" timeout="0"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="ranged_attack"/>
</rule>
<rule name="跟主人一起打2">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="lightningbolt" charge="1" timeout="0"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="magnum_shot"/>
</rule>
<rule name="跟主人一起打3">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="lightningbolt" charge="1" timeout="0"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="support_shot"/>
</rule>
<rule name="跟主人一起打4">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="lightningbolt" charge="1" timeout="0"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="arrow_revolver"/>
</rule>
<rule name="跟主人一起打5">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="lightningbolt" charge="1" timeout="0"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="mirage_missile"/>
</rule>
<rule name="不讓對方接近1">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="lightningbolt" charge="1" timeout="5000"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="lightningbolt" down="false"/>
</rule>
<rule name="不讓對方接近2">
<conditions>
<condition name="target_distance" min_distance="100" max_distance="500"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="lightningbolt" charge="1" timeout="5000"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="lightningbolt" down="true"/>
</rule>
</rules>
[ 此文章已由作者修改 3 次 最後更新於:2008-11-07 15:46:28 ]
 
Message請先 登入 會員才能發表或回覆文章。
 
 
Message非首篇文章,無法進行回覆。
 

網路禮儀

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