<rules>
<rule name="主人準備_重置索敵">
<conditions/>
<pattern>
<param_decl/>
<sequence/>
</pattern>
<event name="master_skill_prepare" event_skill="all"/>
</rule>
<rule name="尋找目標">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="melee_attack" timeout="500"/>
</sequence>
</pattern>
<event name="seek_target"/>
</rule>
<rule name="鎖定目標">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="melee_attack" timeout="500"/>
</sequence>
</pattern>
<event name="now_targeting"/>
</rule>
<rule name="寵攻未擊倒">
<conditions>
<condition name="ST_preparable" pet_st="PetSTDamageUp"/>
<condition name="ST_preparable" pet_st="PetSTHolding"/>
<condition name="ST_preparable" pet_st="PetSTMoveSpeedUp"/>
<condition name="ST_preparable" pet_st="PetSTManaShield"/>
<condition name="ST_preparable" pet_st="PetSTHealingEnhance"/>
<condition name="ST_preparable" pet_st="PetSTGainMissionExp"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="PetST_skill" pet_st="PetSTDamageUp" timeout="500"/>
<cmd name="PetST_skill" pet_st="PetSTHolding" timeout="500"/>
<cmd name="PetST_skill" pet_st="PetSTMoveSpeedUp" timeout="500"/>
<cmd name="PetST_skill" pet_st="PetSTManaShield" timeout="500"/>
<cmd name="PetST_skill" pet_st="PetSTHealingEnhance" timeout="500"/>
<cmd name="PetST_skill" pet_st="PetSTGainMissionExp" timeout="500"/>
<cmd name="melee_attack" timeout="500"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="all" down="false"/>
</rule>
<rule name="寵攻擊倒">
<conditions>
<condition name="ST_preparable" pet_st="PetSTDamageUp"/>
<condition name="ST_preparable" pet_st="PetSTHolding"/>
<condition name="ST_preparable" pet_st="PetSTMoveSpeedUp"/>
<condition name="ST_preparable" pet_st="PetSTManaShield"/>
<condition name="ST_preparable" pet_st="PetSTHealingEnhance"/>
<condition name="ST_preparable" pet_st="PetSTGainMissionExp"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="PetST_skill" pet_st="PetSTDamageUp" timeout="500"/>
<cmd name="PetST_skill" pet_st="PetSTHolding" timeout="500"/>
<cmd name="PetST_skill" pet_st="PetSTMoveSpeedUp" timeout="500"/>
<cmd name="PetST_skill" pet_st="PetSTManaShield" timeout="500"/>
<cmd name="PetST_skill" pet_st="PetSTHealingEnhance" timeout="500"/>
<cmd name="PetST_skill" pet_st="PetSTGainMissionExp" timeout="500"/>
<cmd name="melee_attack" timeout="500"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="all" down="true"/>
</rule>
<rule name="寵物識別">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="melee_attack" timeout="500"/>
</sequence>
</pattern>
<event name="targeted" targeting_type="alert"/>
</rule>
<rule name="寵物警告">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="melee_attack" timeout="500"/>
</sequence>
</pattern>
<event name="targeted" targeting_type="attack"/>
</rule>
<rule name="寵物_敵遠距離準備">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="melee_attack" timeout="500"/>
</sequence>
</pattern>
<event name="aimed"/>
</rule>
<rule name="寵物_敵近距離準備">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="melee_attack" timeout="500"/>
</sequence>
</pattern>
<event name="target_skill_prepare"/>
</rule>
<rule name="寵物_敵魔法準備">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="melee_attack" 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="all" down="false"/>
</rule>
<rule name="寵物被擊_擊倒">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="melee_attack" timeout="500"/>
</sequence>
</pattern>
<event name="attacked" master_skill="all" down="true"/>
</rule>
<rule name="主人識別">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="melee_attack" timeout="500"/>
</sequence>
</pattern>
<event name="master_targeted" targeting_type="alert"/>
</rule>
<rule name="主人警告">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="melee_attack" timeout="500"/>
</sequence>
</pattern>
<event name="master_targeted" targeting_type="attack"/>
</rule>
<rule name="主人_敵遠距離準備">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="melee_attack" timeout="500"/>
</sequence>
</pattern>
<event name="master_aimed"/>
</rule>
<rule name="主人_敵近距離準備">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="melee_attack" timeout="500"/>
</sequence>
</pattern>
<event name="master_target_skill_prepare"/>
</rule>
<rule name="主人_敵魔法準備">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="melee_attack" timeout="500"/>
</sequence>
</pattern>
<event name="master_target_magic_prepare"/>
</rule>
<rule name="主人被擊_未倒">
<conditions>
<condition name="target_distance" min_distance="1500" max_distance="1500"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="chase" chase_target="master" timeout="2000" run="true"/>
</sequence>
</pattern>
<event name="master_attacked" master_skill="all" down="false"/>
</rule>
<rule name="主人攻擊">
<conditions>
<condition name="target_distance" min_distance="1500" max_distance="1500"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="chase" chase_target="master" timeout="2000" run="true"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="all"/>
</rule>
</rules>