追蹤
凱琳_金色斧頭幫
關於部落格
瑪奇凱琳伺服器中,最古老、最優質的公會~
  • 16187

    累積人氣

  • 3

    今日人氣

    1

    追蹤人氣

[情報]寵物AI收集第二彈~

(1)寵物自保型AI:
適合1v1對戰無pd怪!

<rules>
<rule name="自動索敵">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="melee_attack" timeout="5000"/>
</sequence>
</pattern>
<event name="seek_target"/>
</rule>
<rule name="被打倒後反擊">
<conditions>
<condition name="skill_preparable" pet_skill="counter"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="counter" try_cnt="5" timeout="5000"/>
<cmd name="wait" min="10000" max="10000"/>
</sequence>
</pattern>
<event name="attacked" master_skill="all" down="true"/>
</rule>
<rule name="普攻破重擊">
<conditions>
<condition name="target_state" state="run"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="cancel_skill"/>
<cmd name="melee_attack" timeout="5000"/>
</sequence>
</pattern>
<event name="target_skill_prepare"/>
</rule>
<rule name="普攻後接反">
<conditions>
<condition name="skill_preparable" pet_skill="counter"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="5000"/>
<cmd name="wait" min="10000" max="10000"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="basic" down="false"/>
</rule>
<rule name="反擊後防禦">
<conditions>
<condition name="skill_preparable" pet_skill="defence"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="5000"/>
<cmd name="move_against" distance="500" run="true" timeout="5000"/>
<cmd name="wait" min="10000" max="10000"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="counter" 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>
<rule name="重擊破防">
<conditions>
<condition name="target_state" state="walk"/>
<condition name="skill_preparable" pet_skill="smash"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="cancel_skill"/>
<cmd name="prepare_skill" pet_skill="smash" try_cnt="5" timeout="5000"/>
<cmd name="process_skill" target="enemy" timeout="7000"/>
</sequence>
</pattern>
<event name="target_skill_prepare"/>
</rule>
<rule name="重擊後防禦">
<conditions>
<condition name="skill_preparable" pet_skill="defence"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="5000"/>
<cmd name="move_against" distance="500" run="true" timeout="5000"/>
<cmd name="wait" min="10000" max="10000"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="smash" down="true"/>
</rule>
<rule name="魔法破反擊(冰)">
<conditions>
<condition name="target_state" state="stop"/>
<condition name="skill_preparable" pet_skill="icebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="move_against" distance="500" run="true" timeout="2000"/>
<cmd name="stack_skill" stack_magic="icebolt" charge="1"/>
<cmd name="stackmagic_attack" stack_magic="icebolt" charge="1" timeout="5000"/>
<cmd name="wait" min="1000" max="1000"/>
<cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="5000"/>
<cmd name="wait" min="10000" max="10000"/>
</sequence>
</pattern>
<event name="target_skill_prepare"/>
</rule>
<rule name="魔法破反擊(火)">
<conditions>
<condition name="target_state" state="stop"/>
<condition name="skill_preparable" pet_skill="firebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="move_against" distance="200" run="true" timeout="2000"/>
<cmd name="stack_skill" stack_magic="firebolt" charge="1"/>
<cmd name="stackmagic_attack" stack_magic="firebolt" charge="1" timeout="5000"/>
<cmd name="wait" min="1000" max="1000"/>
<cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="5000"/>
<cmd name="wait" min="10000" max="10000"/>
</sequence>
</pattern>
<event name="target_skill_prepare"/>
</rule>
<rule name="普打沒倒地反擊">
<conditions>
<condition name="target_state" state="walk, run"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="melee_attack" timeout="5000"/>
</sequence>
</pattern>
<event name="attacked" master_skill="basic" down="false"/>
</rule>
</rules>



(2)熊熊雷反ai

<rules>
<rule name="找怪 一雷開怪">
<conditions>
<condition name="skill_preparable" pet_skill="lightningbolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stack_skill" stack_magic="lightningbolt" charge="1"/>
<cmd name="move_against" distance="1000" run="true" timeout="1000"/>
<cmd name="stackmagic_attack" stack_magic="icebolt" charge="1" timeout="2000"/>
</sequence>
</pattern>
<event name="seek_target"/>
</rule>
<rule name="雷後反">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="counter" try_cnt="1" timeout="0"/>
<cmd name="wait" min="4000" max="6000"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="lightningbolt" down="false"/>
</rule>
<rule name="解反重破防">
<conditions>
<condition name="target_state" state="walk"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="smash" try_cnt="0" timeout="0"/>
<cmd name="process_skill" target="enemy" timeout="0"/>
</sequence>
</pattern>
<event name="target_skill_prepare"/>
</rule>
<rule name="解反雷破反">
<conditions>
<condition name="target_state" state="stop"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="lightningbolt" try_cnt="0" timeout="500"/>
<cmd name="stackmagic_attack" stack_magic="icebolt" charge="1" timeout="0"/>
</sequence>
</pattern>
<event name="target_skill_prepare"/>
</rule>
<rule name="反後雷">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="lightningbolt" charge="1" timeout="0"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="counter" down="true"/>
</rule>
<rule name="雷打D血補雷">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="lightningbolt" charge="1" timeout="0"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="lightningbolt" down="true"/>
</rule>
<rule name="攻後反">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="counter" try_cnt="1" timeout="0"/>
<cmd name="wait" min="6000" max="6000"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="basic" down="true"/>
</rule>
<rule name="重後反">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="counter" try_cnt="1" timeout="0"/>
<cmd name="wait" min="4000" max="6000"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="smash" down="true"/>
</rule>
<rule name="倒後反">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="0"/>
<cmd name="wait" min="6000" max="6000"/>
</sequence>
</pattern>
<event name="attacked" master_skill="all" down="true"/>
</rule>
<rule name="被打後攻">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="melee_attack" timeout="0"/>
</sequence>
</pattern>
<event name="attacked" master_skill="basic" down="false"/>
</rule>
<rule name="對魔防">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="1" timeout="0"/>
<cmd name="move_around" clockwise="true" radius="100" run="false" timeout="500"/>
</sequence>
</pattern>
<event name="target_magic_prepare"/>
</rule>
<rule name="防魔後攻">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="melee_attack" timeout="500"/>
</sequence>
</pattern>
<event name="attacked" master_skill="lightningbolt" down="false"/>
</rule>
<rule name="防魔後攻2">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="melee_attack" timeout="500"/>
</sequence>
</pattern>
<event name="attacked" master_skill="icebolt" down="false"/>
</rule>
<rule name="普打的規則">
<conditions>
<condition name="target_state" state="hit"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="melee_attack" timeout="0"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="basic" down="false"/>
</rule>
</rules>



(3)直接火反開怪AI

<rules>
<rule name="尋找對方,火焰">
<conditions>
<condition name="skill_preparable" pet_skill="firebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="firebolt" charge="1" timeout="5000"/>
<cmd name="wait" min="1000" max="1000"/>
</sequence>
</pattern>
<event name="seek_target"/>
</rule>
<rule name="火焰,反擊">
<conditions>
<condition name="skill_preparable" pet_skill="counter"/>
</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="attack" pet_attackable_skill="firebolt" down="true"/>
</rule>
<rule name="攻擊打倒,反擊">
<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="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="attacked" master_skill="all" down="false"/>
</rule>
<rule name="受到攻擊,反擊">
<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="target_distance" min_distance="100" max_distance="1500"/>
<condition name="skill_preparable" pet_skill="firebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="firebolt" charge="1" timeout="5000"/>
<cmd name="wait" min="1000" max="1000"/>
</sequence>
</pattern>
<event name="now_targeting"/>
</rule>
<rule name="火焰後,反擊">
<conditions>
<condition name="skill_preparable" pet_skill="counter"/>
</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="attack" pet_attackable_skill="firebolt" down="true"/>
</rule>
<rule name="反擊後,火焰">
<conditions>
<condition name="skill_preparable" pet_skill="firebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="firebolt" charge="1" timeout="5000"/>
<cmd name="wait" min="1000" max="1000"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="counter" down="true"/>
</rule>
</rules>
相簿設定
標籤設定
相簿狀態