<rules>
<rule name="主人受到弓箭手攻擊-寵物重擊解圍">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="smash" try_cnt="0" timeout="5000"/>
</sequence>
</pattern>
<event name="master_aimed"/>
</rule>
<rule name="主人受到魔法圍毆-解圍">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="smash" try_cnt="0" timeout="5000"/>
</sequence>
</pattern>
<event name="master_target_magic_prepare"/>
</rule>
<rule name="主人受到識別">
<conditions>
<condition name="target_state" state="walk, run"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="basic" try_cnt="5" timeout="5000"/>
</sequence>
</pattern>
<event name="master_targeted" targeting_type="alert"/>
</rule>
<rule name="主人受到警告攻擊">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="basic" try_cnt="5" timeout="5000"/>
</sequence>
</pattern>
<event name="master_targeted" targeting_type="attack"/>
</rule>
<rule name="寵物受到弓箭手持續攻擊-普攻打到死">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="basic" try_cnt="5" timeout="5000"/>
</sequence>
</pattern>
<event name="aimed"/>
</rule>
<rule name="寵物的對方使用魔法攻擊-打到死">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="basic" try_cnt="5" timeout="5000"/>
</sequence>
</pattern>
<event name="target_magic_prepare"/>
</rule>
<rule name="寵物的對方使用近距離-普攻">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="basic" try_cnt="0" timeout="5000"/>
</sequence>
</pattern>
<event name="target_skill_prepare"/>
</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="5000"/>
</sequence>
</pattern>
<event name="targeted" targeting_type="alert"/>
</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="5000"/>
</sequence>
</pattern>
<event name="targeted" targeting_type="alert"/>
</rule>
<rule name="寵物的對方跑步中-普攻">
<conditions>
<condition name="target_state" state="run"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="basic" try_cnt="5" timeout="5000"/>
</sequence>
</pattern>
<event name="targeted" targeting_type="alert"/>
</rule>
<rule name="寵物受到攻擊-防禦">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="2" timeout="5000"/>
</sequence>
</pattern>
<event name="attacked" master_skill="basic" down="false"/>
</rule>
<rule name="寵物對方識別並且停止-用火法破防反">
<conditions>
<condition name="target_state" state="stop"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="firebolt" try_cnt="0" timeout="5000"/>
</sequence>
</pattern>
<event name="targeted" targeting_type="alert"/>
</rule>
<rule name="寵物對方識別並且停止-用冰破防反">
<conditions>
<condition name="target_state" state="stop"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="icebolt" try_cnt="0" timeout="5000"/>
</sequence>
</pattern>
<event name="targeted" targeting_type="alert"/>
</rule>
<rule name="主人受到近戰攻擊且傷血超過60">
<conditions>
<condition name="master_damaged_life_greater" life="60"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="smash" try_cnt="1" timeout="5000"/>
</sequence>
</pattern>
<event name="master_target_skill_prepare"/>
</rule>
</rules>
以上適合在有混怪的地下城使用