What are the pet AIs that you've seen pros use?
I'll start.
I've personally seen counter spam AI being used in a ciar boss rush to great effect.
Another one is command mode. This is actually the most popular pet AI and is very well-rounded.
Most people I know just use pets for quick swipes :(
Soaryne's Pet Guardian v2.3
You won't bother using anything else.
[CODE]<rules>
<rule name="bodyguard healer KD 1">
<conditions>
<condition name="master_damaged_life_greater" life="80"/>
<condition name="skill_preparable" pet_skill="healing"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="cancel_skill"/>
<cmd name="melee_attack" timeout="0"/>
<cmd name="prepare_skill" pet_skill="healing" try_cnt="3" timeout="10000"/>
<cmd name="process_skill" target="master" timeout="5000"/>
<cmd name="wait" min="1000" max="1000"/>
<cmd name="process_skill" target="master" timeout="5000"/>
<cmd name="wait" min="1000" max="1000"/>
<cmd name="process_skill" target="master" timeout="5000"/>
<cmd name="wait" min="1000" max="1000"/>
<cmd name="process_skill" target="master" timeout="5000"/>
<cmd name="wait" min="1000" max="1000"/>
<cmd name="process_skill" target="master" timeout="5000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="master_attacked" master_skill="all" down="true"/>
</rule>
<rule name="bodyguard healer NKD 2">
<conditions>
<condition name="master_damaged_life_greater" life="80"/>
<condition name="skill_preparable" pet_skill="healing"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="cancel_skill"/>
<cmd name="melee_attack" timeout="0"/>
<cmd name="prepare_skill" pet_skill="healing" try_cnt="3" timeout="10000"/>
<cmd name="process_skill" target="master" timeout="5000"/>
<cmd name="wait" min="1000" max="1000"/>
<cmd name="process_skill" target="master" timeout="5000"/>
<cmd name="wait" min="1000" max="1000"/>
<cmd name="process_skill" target="master" timeout="5000"/>
<cmd name="wait" min="1000" max="1000"/>
<cmd name="process_skill" target="master" timeout="5000"/>
<cmd name="wait" min="1000" max="1000"/>
<cmd name="process_skill" target="master" timeout="5000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="master_attacked" master_skill="all" down="false"/>
</rule>
<rule name="prepare firemill 3">
<conditions>
<condition name="skill_preparable" pet_skill="firebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="firebolt" try_cnt="0" timeout="0"/>
<cmd name="stack_skill" stack_magic="firebolt" charge="1"/>
</sequence>
</pattern>
<event name="master_skill_prepare" event_skill="windmill"/>
</rule>
<rule name="firemill 4">
<conditions>
<condition name="skill_preparable" pet_skill="firebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="firebolt" charge="1" timeout="0"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="windmill"/>
</rule>
<rule name="windmill healing 5">
<conditions>
<condition name="master_damaged_life_greater" life="80"/>
<condition name="skill_preparable" pet_skill="healing"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="chase" chase_target="master" timeout="5000" run="true"/>
<cmd name="prepare_skill" pet_skill="healing" try_cnt="3" timeout="10000"/>
<cmd name="process_skill" target="master" timeout="5000"/>
<cmd name="wait" min="1000" max="1000"/>
<cmd name="process_skill" target="master" timeout="5000"/>
<cmd name="wait" min="1000" max="1000"/>
<cmd name="process_skill" target="master" timeout="5000"/>
<cmd name="wait" min="1000" max="1000"/>
<cmd name="process_skill" target="master" timeout="5000"/>
<cmd name="wait" min="1000" max="1000"/>
<cmd name="process_skill" target="master" timeout="5000"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="windmill"/>
</rule>
<rule name="pet attack def close range foes 6">
<conditions>
<condition name="target_state" state="stop, walk"/>
<condition name="target_distance" min_distance="100" max_distance="300"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="cancel_skill"/>
<cmd name="melee_attack" timeout="0"/>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="2000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="master_aimed"/>
</rule>
<rule name="pet ice range foes 7">
<conditions>
<condition name="skill_preparable" pet_skill="icebolt"/>
//>
<condition name="target_state" state="stop, walk"/>
<condition name="target_distance" min_distance="300" max_distance="1500"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="cancel_skill"/>
<cmd name="stackmagic_attack" stack_magic="icebolt" charge="1" timeout="0"/>
<cmd name="melee_attack" timeout="0"/>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="aimed"/>
</rule>
<rule name="pet zaps range foes 8">
<conditions>
<condition name="skill_preparable" pet_skill="lightningbolt"/>
<condition name="target_state" state="stop, walk"/>
<condition name="target_distance" min_distance="300" max_distance="1500"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="cancel_skill"/>
<cmd name="stackmagic_attack" stack_magic="lightningbolt" charge="1" timeout="5000"/>
<cmd name="melee_attack" timeout="0"/>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="aimed"/>
</rule>
<rule name="pet rush walking range foes 9">
<conditions>
<condition name="target_state" state="walk"/>
<condition name="target_distance" min_distance="300" max_distance="1500"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="melee_attack" timeout="0"/>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="aimed"/>
</rule>
<rule name="pet run away from range foes 10">
<conditions>
<condition name="target_state" state="stop"/>
<condition name="target_distance" min_distance="300" max_distance="1500"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="cancel_skill"/>
<cmd name="move_against" distance="1400" run="true" timeout="0"/>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="1" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="aimed"/>
</rule>
<rule name="pet ice foe KD by magnum shot 11">
<conditions>
<condition name="skill_preparable" pet_skill="icebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="icebolt" charge="1" timeout="0"/>
<cmd name="melee_attack" timeout="0"/>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="attacked" master_skill="magnum_shot" down="true"/>
</rule>
<rule name="pet ice foes if KD by range 12">
<conditions>
<condition name="skill_preparable" pet_skill="icebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="icebolt" charge="1" timeout="0"/>
<cmd name="melee_attack" timeout="0"/>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="attacked" master_skill="ranged_attack" down="true"/>
</rule>
<rule name="pet ice foes if NKD by range 13">
<conditions>
<condition name="skill_preparable" pet_skill="icebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="icebolt" charge="1" timeout="0"/>
<cmd name="melee_attack" timeout="0"/>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="attacked" master_skill="ranged_attack" down="false"/>
</rule>
<rule name="pet zaps foe if KD by magnum shot 14">
<conditions>
<condition name="skill_preparable" pet_skill="lightningbolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="lightningbolt" charge="1" timeout="5000"/>
<cmd name="melee_attack" timeout="0"/>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="attacked" master_skill="magnum_shot" down="true"/>
</rule>
<rule name="pet zaps foe if KD by range 15">
<conditions>
<condition name="skill_preparable" pet_skill="lightningbolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="lightningbolt" charge="1" timeout="5000"/>
<cmd name="melee_attack" timeout="0"/>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="attacked" master_skill="ranged_attack" down="true"/>
</rule>
<rule name="pet zaps foe if NKD by range 16">
<conditions>
<condition name="skill_preparable" pet_skill="lightningbolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="lightningbolt" charge="1" timeout="5000"/>
<cmd name="melee_attack" timeout="0"/>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="attacked" master_skill="ranged_attack" down="false"/>
</rule>
<rule name="pet KD counter 17">
<conditions>
<condition name="skill_preparable" pet_skill="counter"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="4000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="basic" down="true"/>
</rule>
<rule name="pet rush counter 18">
<conditions>
<condition name="skill_preparable" pet_skill="counter"/>
<condition name="target_state" state="shoved"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="4000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="attacked" master_skill="basic" down="false"/>
</rule>
<rule name="pet counter Alert foes 19">
<conditions>
<condition name="target_distance" min_distance="300" max_distance="1500"/>
<condition name="skill_preparable" pet_skill="counter"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="5000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="targeted" targeting_type="attack"/>
</rule>
<rule name="pet attack Alert foes 20">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="melee_attack" timeout="0"/>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="targeted" targeting_type="attack"/>
</rule>
<rule name="pet rushes stopped magic foes 21">
<conditions>
<condition name="target_state" state="stop"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="cancel_skill"/>
<cmd name="melee_attack" timeout="0"/>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="1" timeout="10000"/>
<cmd name="move_around" clockwise="false" radius="200" run="false" timeout="3000"/>
<cmd name="wait" min="1000" max="7000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="target_magic_prepare"/>
</rule>
<rule name="pet smash magic foes 22">
<conditions>
<condition name="skill_preparable" pet_skill="smash"/>
<condition name="target_state" state="stop, walk"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="cancel_skill"/>
<cmd name="prepare_skill" pet_skill="smash" try_cnt="1" timeout="0"/>
<cmd name="melee_attack" timeout="0"/>
</sequence>
</pattern>
<event name="target_magic_prepare"/>
</rule>
<rule name="pet zaps melee foes 23">
<conditions>
<condition name="target_state" state="stop"/>
<condition name="skill_preparable" pet_skill="lightningbolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="cancel_skill"/>
<cmd name="stackmagic_attack" stack_magic="lightningbolt" charge="1" timeout="5000"/>
</sequence>
</pattern>
<event name="now_targeting"/>
</rule>
<rule name="pet ice melee foes 24">
<conditions>
<condition name="target_state" state="stop"/>
<condition name="skill_preparable" pet_skill="icebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="cancel_skill"/>
<cmd name="stackmagic_attack" stack_magic="icebolt" charge="1" timeout="0"/>
</sequence>
</pattern>
<event name="now_targeting"/>
</rule>
<rule name="pet fire melee foes 25">
<conditions>
<condition name="target_state" state="stop"/>
<condition name="skill_preparable" pet_skill="firebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="cancel_skill"/>
<cmd name="stackmagic_attack" stack_magic="firebolt" charge="1" timeout="0"/>
</sequence>
</pattern>
<event name="now_targeting"/>
</rule>
<rule name="pet smash melee foes 26">
<conditions>
<condition name="target_state" state="stop, 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="1" timeout="0"/>
<cmd name="melee_attack" timeout="0"/>
</sequence>
</pattern>
<event name="now_targeting"/>
</rule>
<rule name="pet smash recognized foes 27">
<conditions>
<condition name="target_state" state="stop, walk"/>
<condition name="skill_preparable" pet_skill="smash"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="smash" try_cnt="1" timeout="0"/>
<cmd name="melee_attack" timeout="0"/>
</sequence>
</pattern>
<event name="targeted" targeting_type="alert"/>
</rule>
<rule name="pet counter after smash 28">
<conditions>
<condition name="skill_preparable" pet_skill="counter"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="attack" pet_skill="smash" down="true" pet_attackable_skill="smash"/>
</rule>
<rule name="pet windmill after counter 29">
<conditions>
<condition name="skill_preparable" pet_skill="windmill"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="windmill" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="1000" max="10000"/>
<cmd name="process_skill" target="enemy" timeout="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="counter" down="true"/>
</rule>
<rule name="pet lightning after counter 30">
<conditions>
<condition name="skill_preparable" pet_skill="lightningbolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="lightningbolt" charge="1" timeout="5000"/>
<cmd name="melee_attack" timeout="10000"/>
<cmd name="prepare_skill" pet_skill="counter" try_cnt="1" timeout="10000"/>
<cmd name="wait" min="4000" max="10000"/>
<cmd name="cancel_skill"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="counter" down="true"/>
</rule>
<rule name="pet icebolt after counter 31">
<conditions>
<condition name="skill_preparable" pet_skill="icebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="icebolt" charge="1" timeout="0"/>
<cmd name="melee_attack" timeout="0"/>
<cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="4000" max="10000"/>
<cmd name="cancel_skill"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="counter" down="true"/>
</rule>
<rule name="pet firebolt after counter 32">
<conditions>
<condition name="skill_preparable" pet_skill="firebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="firebolt" charge="1" timeout="0"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="counter" down="true"/>
</rule>
<rule name="pet def after counter 33">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="attack" pet_skill="counter" down="true" pet_attackable_skill="counter"/>
</rule>
<rule name="pet def after windmill if NKD 34">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="windmill" down="false"/>
</rule>
<rule name="pet defense after windmill if KD 35">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="windmill" down="true"/>
</rule>
<rule name="pet def after lightning NKD 36">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="melee_attack" timeout="0"/>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="lightningbolt" down="false"/>
</rule>
<rule name="pet counter after lightning KD 37">
<conditions>
<condition name="skill_preparable" pet_skill="counter"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="4000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="attack" pet_skill="lightningbolt" down="true" pet_attackable_skill="lightningbolt"/>
</rule>
<rule name="pet def after lightning KD 38">
<conditions>
<condition name="skill_preparable" pet_skill="defence"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="lightningbolt" down="true"/>
</rule>
<rule name="pet counter after fire 39">
<conditions>
<condition name="skill_preparable" pet_skill="counter"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="4000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="attack" pet_skill="firebolt" down="true" pet_attackable_skill="firebolt"/>
</rule>
<rule name="pet def after fire 40">
<conditions>
<condition name="skill_preparable" pet_skill="defence"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="firebolt" down="true"/>
</rule>
<rule name="pet def after ice NKD 41">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="melee_attack" timeout="0"/>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="attack" pet_skill="icebolt" down="false" pet_attackable_skill="icebolt"/>
</rule>
<rule name="pet counter after ice KD 42">
<conditions>
<condition name="skill_preparable" pet_skill="counter"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="4000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="attack" pet_skill="icebolt" down="true" pet_attackable_skill="icebolt"/>
</rule>
<rule name="pet def after ice KD 43">
<conditions>
<condition name="skill_preparable" pet_skill="defence"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="icebolt" down="true"/>
</rule>
<rule name="pet attack after def 44">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="melee_attack" timeout="0"/>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="defence" defence_enable_skill="all"/>
</rule>
<rule name="pet lightning defense if KD 45">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="melee_attack" timeout="0"/>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="attacked" master_skill="lightningbolt" down="true"/>
</rule>
<rule name="pet lightning defense if NKD 46">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="melee_attack" timeout="0"/>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="attacked" master_skill="lightningbolt" down="false"/>
</rule>
<rule name="pet fire defense KD 47">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="melee_attack" timeout="0"/>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="attacked" master_skill="firebolt" down="true"/>
</rule>
<rule name="pet counter if KD 48">
<conditions>
<condition name="skill_preparable" pet_skill="counter"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="4000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="attacked" master_skill="all" down="true"/>
</rule>
<rule name="pet counter if NKD 49">
<conditions>
<condition name="skill_preparable" pet_skill="counter"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="4000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="attacked" master_skill="all" down="false"/>
</rule>
<rule name="pet def if KD 50">
<conditions>
<condition name="skill_preparable" pet_skill="defence"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="attacked" master_skill="all" down="true"/>
</rule>
<rule name="pet def if NKD 51">
<conditions>
<condition name="skill_preparable" pet_skill="defence"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="attacked" master_skill="all" down="false"/>
</rule>
<rule name="prepare firebolt with magnum shot 52">
<conditions>
<condition name="skill_preparable" pet_skill="firebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="firebolt" try_cnt="0" timeout="0"/>
<cmd name="stackmagic_attack" stack_magic="firebolt" charge="1" timeout="0"/>
</sequence>
</pattern>
<event name="master_skill_prepare" event_skill="magnum_shot"/>
</rule>
<rule name="firebolt with magnum shot 53">
<conditions>
<condition name="skill_preparable" pet_skill="firebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="firebolt" charge="1" timeout="0"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="magnum_shot"/>
</rule>
<rule name="Lightning with magnum shot 54">
<conditions>
<condition name="skill_preparable" pet_skill="lightningbolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="lightningbolt" charge="1" timeout="5000"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="magnum_shot"/>
</rule>
<rule name="icebolt with magnum shot 55">
<conditions>
<condition name="skill_preparable" pet_skill="icebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="icebolt" charge="1" timeout="0"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="magnum_shot"/>
</rule>
<rule name="smash with magnum shot 56">
<conditions>
<condition name="skill_preparable" pet_skill="smash"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="smash" try_cnt="1" timeout="0"/>
<cmd name="melee_attack" timeout="0"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="magnum_shot"/>
</rule>
<rule name="lightning with range 57">
<conditions>
<condition name="skill_preparable" pet_skill="lightningbolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="lightningbolt" charge="1" timeout="5000"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="ranged_attack"/>
</rule>
<rule name="ice with range 58">
<conditions>
<condition name="skill_preparable" pet_skill="icebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="icebolt" charge="1" timeout="0"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="ranged_attack"/>
</rule>
<rule name="lightning with support shot 59">
<conditions>
<condition name="skill_preparable" pet_skill="lightningbolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="lightningbolt" charge="1" timeout="5000"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="support_shot"/>
</rule>
<rule name="ice with support shot 60">
<conditions>
<condition name="skill_preparable" pet_skill="icebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="icebolt" charge="1" timeout="0"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="support_shot"/>
</rule>
<rule name="smash with support shot 61">
<conditions>
<condition name="skill_preparable" pet_skill="smash"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="smash" try_cnt="1" timeout="0"/>
<cmd name="melee_attack" timeout="0"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="support_shot"/>
</rule>
<rule name="lightning with mirage missile 62">
<conditions>
<condition name="skill_preparable" pet_skill="lightningbolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="lightningbolt" charge="1" timeout="5000"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="mirage_missile"/>
</rule>
<rule name="ice with mirage missile 63">
<conditions>
<condition name="skill_preparable" pet_skill="icebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="icebolt" charge="1" timeout="0"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="mirage_missile"/>
</rule>
<rule name="prepare ice 64">
<conditions>
<condition name="skill_preparable" pet_skill="icebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="icebolt" try_cnt="0" timeout="0"/>
<cmd name="stack_skill" stack_magic="icebolt" charge="1"/>
</sequence>
</pattern>
<event name="master_skill_prepare" event_skill="icebolt"/>
</rule>
<rule name="prepare lightning with ice 65">
<conditions>
<condition name="skill_preparable" pet_skill="lightningbolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="lightningbolt" try_cnt="0" timeout="5000"/>
<cmd name="stack_skill" stack_magic="lightningbolt" charge="1"/>
</sequence>
</pattern>
<event name="master_skill_prepare" event_skill="icebolt"/>
</rule>
<rule name="prepare fire with ice 66">
<conditions>
<condition name="skill_preparable" pet_skill="firebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="firebolt" try_cnt="0" timeout="0"/>
<cmd name="stack_skill" stack_magic="firebolt" charge="1"/>
</sequence>
</pattern>
<event name="master_skill_prepare" event_skill="icebolt"/>
</rule>
<rule name="ice attack 67">
<conditions>
<condition name="skill_preparable" pet_skill="icebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="icebolt" charge="1" timeout="0"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="icebolt"/>
</rule>
<rule name="lightning with ice 68">
<conditions>
<condition name="skill_preparable" pet_skill="lightningbolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="lightningbolt" charge="1" timeout="5000"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="icebolt"/>
</rule>
<rule name="fire with ice 69">
<conditions>
<condition name="skill_preparable" pet_skill="firebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="firebolt" charge="1" timeout="0"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="icebolt"/>
</rule>
<rule name="prepare Firebolt 70">
<conditions>
<condition name="skill_preparable" pet_skill="firebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="firebolt" try_cnt="0" timeout="0"/>
<cmd name="stack_skill" stack_magic="firebolt" charge="1"/>
</sequence>
</pattern>
<event name="master_skill_prepare" event_skill="firebolt"/>
</rule>
<rule name="prepare lightning with fire 71">
<conditions>
<condition name="skill_preparable" pet_skill="lightningbolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="lightningbolt" try_cnt="0" timeout="5000"/>
<cmd name="stack_skill" stack_magic="lightningbolt" charge="1"/>
</sequence>
</pattern>
<event name="master_skill_prepare" event_skill="firebolt"/>
</rule>
<rule name="prepare ice with fire 72">
<conditions>
<condition name="skill_preparable" pet_skill="icebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="icebolt" try_cnt="0" timeout="0"/>
<cmd name="stack_skill" stack_magic="icebolt" charge="1"/>
</sequence>
</pattern>
<event name="master_skill_prepare" event_skill="firebolt"/>
</rule>
<rule name="fire attack 73">
<conditions>
<condition name="skill_preparable" pet_skill="firebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="firebolt" charge="1" timeout="0"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="firebolt"/>
</rule>
<rule name="lightning with fire 74">
<conditions>
<condition name="skill_preparable" pet_skill="lightningbolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="lightningbolt" charge="1" timeout="5000"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="firebolt"/>
</rule>
<rule name="ice with fire 75">
<conditions>
<condition name="skill_preparable" pet_skill="icebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="icebolt" charge="1" timeout="0"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="firebolt"/>
</rule>
<rule name="smash with fire 76">
<conditions>
<condition name="skill_preparable" pet_skill="smash"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="smash" try_cnt="1" timeout="0"/>
<cmd name="melee_attack" timeout="0"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="firebolt"/>
</rule>
<rule name="prepare lightning with Thunder 77">
<conditions>
<condition name="skill_preparable" pet_skill="thunder"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="thunder" try_cnt="0" timeout="7000"/>
<cmd name="stackmagic_attack" stack_magic="thunder" charge="1" timeout="7000"/>
</sequence>
</pattern>
<event name="master_skill_prepare" event_skill="lightningbolt"/>
</rule>
<rule name="prepare lightningbolt 78">
<conditions>
<condition name="skill_preparable" pet_skill="lightningbolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="lightningbolt" try_cnt="0" timeout="5000"/>
<cmd name="stack_skill" stack_magic="lightningbolt" charge="1"/>
</sequence>
</pattern>
<event name="master_skill_prepare" event_skill="lightningbolt"/>
</rule>
<rule name="prepare ice with lightning 79">
<conditions>
<condition name="skill_preparable" pet_skill="icebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="icebolt" try_cnt="0" timeout="0"/>
<cmd name="stack_skill" stack_magic="icebolt" charge="1"/>
</sequence>
</pattern>
<event name="master_skill_prepare" event_skill="lightningbolt"/>
</rule>
<rule name="prepare fire with lightning 80">
<conditions>
<condition name="skill_preparable" pet_skill="firebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="firebolt" try_cnt="0" timeout="0"/>
<cmd name="stack_skill" stack_magic="firebolt" charge="1"/>
</sequence>
</pattern>
<event name="master_skill_prepare" event_skill="lightningbolt"/>
</rule>
<rule name="lightning aims Thunder 81">
<conditions>
<condition name="skill_preparable" pet_skill="thunder"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="thunder" charge="1" timeout="7000"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="lightningbolt"/>
</rule>
<rule name="lightning attack 82">
<conditions>
<condition name="skill_preparable" pet_skill="lightningbolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="lightningbolt" charge="1" timeout="5000"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="lightningbolt"/>
</rule>
<rule name="ice with lightning 83">
<conditions>
<condition name="skill_preparable" pet_skill="icebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="icebolt" charge="1" timeout="0"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="lightningbolt"/>
</rule>
<rule name="fire with lightning 84">
<conditions>
<condition name="skill_preparable" pet_skill="firebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="firebolt" charge="1" timeout="0"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="lightningbolt"/>
</rule>
<rule name="prepare Thunder 85">
<conditions>
<condition name="skill_preparable" pet_skill="thunder"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="thunder" try_cnt="0" timeout="7000"/>
<cmd name="stack_skill" stack_magic="thunder" charge="1"/>
</sequence>
</pattern>
<event name="master_skill_prepare" event_skill="thunder"/>
</rule>
<rule name="Thunder attack 86">
<conditions>
<condition name="skill_preparable" pet_skill="thunder"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="thunder" charge="1" timeout="7000"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="thunder"/>
</rule>
<rule name="smash with basic attack 87">
<conditions>
<condition name="skill_preparable" pet_skill="smash"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="smash" try_cnt="0" timeout="0"/>
<cmd name="melee_attack" timeout="0"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="basic"/>
</rule>
<rule name="ice with basic attack 88">
<conditions>
<condition name="skill_preparable" pet_skill="icebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="icebolt" charge="1" timeout="0"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="basic"/>
</rule>
<rule name="Lightning with basic attack 89">
<conditions>
<condition name="skill_preparable" pet_skill="lightningbolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="lightningbolt" charge="1" timeout="5000"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="basic"/>
</rule>
<rule name="smash attack 90">
<conditions>
<condition name="skill_preparable" pet_skill="smash"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="smash" try_cnt="0" timeout="0"/>
<cmd name="melee_attack" timeout="0"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="smash"/>
</rule>
<rule name="lightning with smash 91">
<conditions>
<condition name="skill_preparable" pet_skill="lightningbolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="lightningbolt" charge="1" timeout="5000"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="smash"/>
</rule>
<rule name="ice with smash 92">
<conditions>
<condition name="skill_preparable" pet_skill="icebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="icebolt" charge="1" timeout="0"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="smash"/>
</rule>
<rule name="fire with smash 93">
<conditions>
<condition name="skill_preparable" pet_skill="firebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="firebolt" charge="1" timeout="0"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="smash"/>
</rule>
<rule name="smash after windmill 94">
<conditions>
<condition name="skill_preparable" pet_skill="smash"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="smash" try_cnt="1" timeout="0"/>
<cmd name="melee_attack" timeout="0"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="windmill"/>
</rule>
<rule name="basic with all attacks 95">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="cancel_skill"/>
<cmd name="melee_attack" timeout="0"/>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="all"/>
</rule>
<rule name="bodyguard KD 96">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="cancel_skill"/>
<cmd name="melee_attack" timeout="0"/>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="master_attacked" master_skill="all" down="true"/>
</rule>
<rule name="bodyguard NKD 97">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="cancel_skill"/>
<cmd name="melee_attack" timeout="0"/>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="master_attacked" master_skill="all" down="false"/>
</rule>
<rule name="pet attack target foes 98">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="melee_attack" timeout="0"/>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="now_targeting"/>
</rule>
<rule name="pet smash foes for owner 99">
<conditions>
<condition name="target_state" state="stop, walk"/>
<condition name="target_distance" min_distance="100" max_distance="500"/>
<condition name="skill_preparable" pet_skill="smash"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="smash" try_cnt="0" timeout="0"/>
<cmd name="melee_attack" timeout="0"/>
</sequence>
</pattern>
<event name="master_targeted" targeting_type="attack"/>
</rule>
<rule name="pet attack foes for owner 100">
<conditions>
<condition name="target_distance" min_distance="100" max_distance="300"/>
<condition name="target_state" state="run"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="melee_attack" timeout="0"/>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="master_targeted" targeting_type="attack"/>
</rule>
<rule name="pet zaps foes for owner 101">
<conditions>
<condition name="target_distance" min_distance="300" max_distance="1200"/>
<condition name="skill_preparable" pet_skill="lightningbolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="lightningbolt" charge="1" timeout="5000"/>
</sequence>
</pattern>
<event name="master_targeted" targeting_type="attack"/>
</rule>
<rule name="pet ice foes for owner 102">
<conditions>
<condition name="target_distance" min_distance="300" max_distance="1200"/>
<condition name="skill_preparable" pet_skill="icebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="icebolt" charge="1" timeout="0"/>
</sequence>
</pattern>
<event name="master_targeted" targeting_type="attack"/>
</rule>
<rule name="pet fire foes for owner 103">
<conditions>
<condition name="target_distance" min_distance="300" max_distance="1200"/>
<condition name="skill_preparable" pet_skill="firebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="firebolt" charge="1" timeout="0"/>
</sequence>
</pattern>
<event name="master_targeted" targeting_type="attack"/>
</rule>
<rule name="pet smash foes recognizing owner 104">
<conditions>
<condition name="skill_preparable" pet_skill="smash"/>
<condition name="target_state" state="stop, walk"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="smash" try_cnt="1" timeout="0"/>
<cmd name="melee_attack" timeout="0"/>
</sequence>
</pattern>
<event name="master_targeted" targeting_type="alert"/>
</rule>
</rules>[/CODE]
Soaryne's Pet Guardian v2.3
You won't bother using anything else.
[CODE]<rules>
<rule name="bodyguard healer KD 1">
<conditions>
<condition name="master_damaged_life_greater" life="80"/>
<condition name="skill_preparable" pet_skill="healing"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="cancel_skill"/>
<cmd name="melee_attack" timeout="0"/>
<cmd name="prepare_skill" pet_skill="healing" try_cnt="3" timeout="10000"/>
<cmd name="process_skill" target="master" timeout="5000"/>
<cmd name="wait" min="1000" max="1000"/>
<cmd name="process_skill" target="master" timeout="5000"/>
<cmd name="wait" min="1000" max="1000"/>
<cmd name="process_skill" target="master" timeout="5000"/>
<cmd name="wait" min="1000" max="1000"/>
<cmd name="process_skill" target="master" timeout="5000"/>
<cmd name="wait" min="1000" max="1000"/>
<cmd name="process_skill" target="master" timeout="5000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="master_attacked" master_skill="all" down="true"/>
</rule>
<rule name="bodyguard healer NKD 2">
<conditions>
<condition name="master_damaged_life_greater" life="80"/>
<condition name="skill_preparable" pet_skill="healing"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="cancel_skill"/>
<cmd name="melee_attack" timeout="0"/>
<cmd name="prepare_skill" pet_skill="healing" try_cnt="3" timeout="10000"/>
<cmd name="process_skill" target="master" timeout="5000"/>
<cmd name="wait" min="1000" max="1000"/>
<cmd name="process_skill" target="master" timeout="5000"/>
<cmd name="wait" min="1000" max="1000"/>
<cmd name="process_skill" target="master" timeout="5000"/>
<cmd name="wait" min="1000" max="1000"/>
<cmd name="process_skill" target="master" timeout="5000"/>
<cmd name="wait" min="1000" max="1000"/>
<cmd name="process_skill" target="master" timeout="5000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="master_attacked" master_skill="all" down="false"/>
</rule>
<rule name="prepare firemill 3">
<conditions>
<condition name="skill_preparable" pet_skill="firebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="firebolt" try_cnt="0" timeout="0"/>
<cmd name="stack_skill" stack_magic="firebolt" charge="1"/>
</sequence>
</pattern>
<event name="master_skill_prepare" event_skill="windmill"/>
</rule>
<rule name="firemill 4">
<conditions>
<condition name="skill_preparable" pet_skill="firebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="firebolt" charge="1" timeout="0"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="windmill"/>
</rule>
<rule name="windmill healing 5">
<conditions>
<condition name="master_damaged_life_greater" life="80"/>
<condition name="skill_preparable" pet_skill="healing"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="chase" chase_target="master" timeout="5000" run="true"/>
<cmd name="prepare_skill" pet_skill="healing" try_cnt="3" timeout="10000"/>
<cmd name="process_skill" target="master" timeout="5000"/>
<cmd name="wait" min="1000" max="1000"/>
<cmd name="process_skill" target="master" timeout="5000"/>
<cmd name="wait" min="1000" max="1000"/>
<cmd name="process_skill" target="master" timeout="5000"/>
<cmd name="wait" min="1000" max="1000"/>
<cmd name="process_skill" target="master" timeout="5000"/>
<cmd name="wait" min="1000" max="1000"/>
<cmd name="process_skill" target="master" timeout="5000"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="windmill"/>
</rule>
<rule name="pet attack def close range foes 6">
<conditions>
<condition name="target_state" state="stop, walk"/>
<condition name="target_distance" min_distance="100" max_distance="300"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="cancel_skill"/>
<cmd name="melee_attack" timeout="0"/>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="2000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="master_aimed"/>
</rule>
<rule name="pet ice range foes 7">
<conditions>
<condition name="skill_preparable" pet_skill="icebolt"/>
//>
<condition name="target_state" state="stop, walk"/>
<condition name="target_distance" min_distance="300" max_distance="1500"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="cancel_skill"/>
<cmd name="stackmagic_attack" stack_magic="icebolt" charge="1" timeout="0"/>
<cmd name="melee_attack" timeout="0"/>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="aimed"/>
</rule>
<rule name="pet zaps range foes 8">
<conditions>
<condition name="skill_preparable" pet_skill="lightningbolt"/>
<condition name="target_state" state="stop, walk"/>
<condition name="target_distance" min_distance="300" max_distance="1500"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="cancel_skill"/>
<cmd name="stackmagic_attack" stack_magic="lightningbolt" charge="1" timeout="5000"/>
<cmd name="melee_attack" timeout="0"/>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="aimed"/>
</rule>
<rule name="pet rush walking range foes 9">
<conditions>
<condition name="target_state" state="walk"/>
<condition name="target_distance" min_distance="300" max_distance="1500"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="melee_attack" timeout="0"/>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="aimed"/>
</rule>
<rule name="pet run away from range foes 10">
<conditions>
<condition name="target_state" state="stop"/>
<condition name="target_distance" min_distance="300" max_distance="1500"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="cancel_skill"/>
<cmd name="move_against" distance="1400" run="true" timeout="0"/>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="1" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="aimed"/>
</rule>
<rule name="pet ice foe KD by magnum shot 11">
<conditions>
<condition name="skill_preparable" pet_skill="icebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="icebolt" charge="1" timeout="0"/>
<cmd name="melee_attack" timeout="0"/>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="attacked" master_skill="magnum_shot" down="true"/>
</rule>
<rule name="pet ice foes if KD by range 12">
<conditions>
<condition name="skill_preparable" pet_skill="icebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="icebolt" charge="1" timeout="0"/>
<cmd name="melee_attack" timeout="0"/>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="attacked" master_skill="ranged_attack" down="true"/>
</rule>
<rule name="pet ice foes if NKD by range 13">
<conditions>
<condition name="skill_preparable" pet_skill="icebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="icebolt" charge="1" timeout="0"/>
<cmd name="melee_attack" timeout="0"/>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="attacked" master_skill="ranged_attack" down="false"/>
</rule>
<rule name="pet zaps foe if KD by magnum shot 14">
<conditions>
<condition name="skill_preparable" pet_skill="lightningbolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="lightningbolt" charge="1" timeout="5000"/>
<cmd name="melee_attack" timeout="0"/>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="attacked" master_skill="magnum_shot" down="true"/>
</rule>
<rule name="pet zaps foe if KD by range 15">
<conditions>
<condition name="skill_preparable" pet_skill="lightningbolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="lightningbolt" charge="1" timeout="5000"/>
<cmd name="melee_attack" timeout="0"/>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="attacked" master_skill="ranged_attack" down="true"/>
</rule>
<rule name="pet zaps foe if NKD by range 16">
<conditions>
<condition name="skill_preparable" pet_skill="lightningbolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="lightningbolt" charge="1" timeout="5000"/>
<cmd name="melee_attack" timeout="0"/>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="attacked" master_skill="ranged_attack" down="false"/>
</rule>
<rule name="pet KD counter 17">
<conditions>
<condition name="skill_preparable" pet_skill="counter"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="4000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="basic" down="true"/>
</rule>
<rule name="pet rush counter 18">
<conditions>
<condition name="skill_preparable" pet_skill="counter"/>
<condition name="target_state" state="shoved"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="4000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="attacked" master_skill="basic" down="false"/>
</rule>
<rule name="pet counter Alert foes 19">
<conditions>
<condition name="target_distance" min_distance="300" max_distance="1500"/>
<condition name="skill_preparable" pet_skill="counter"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="5000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="targeted" targeting_type="attack"/>
</rule>
<rule name="pet attack Alert foes 20">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="melee_attack" timeout="0"/>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="targeted" targeting_type="attack"/>
</rule>
<rule name="pet rushes stopped magic foes 21">
<conditions>
<condition name="target_state" state="stop"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="cancel_skill"/>
<cmd name="melee_attack" timeout="0"/>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="1" timeout="10000"/>
<cmd name="move_around" clockwise="false" radius="200" run="false" timeout="3000"/>
<cmd name="wait" min="1000" max="7000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="target_magic_prepare"/>
</rule>
<rule name="pet smash magic foes 22">
<conditions>
<condition name="skill_preparable" pet_skill="smash"/>
<condition name="target_state" state="stop, walk"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="cancel_skill"/>
<cmd name="prepare_skill" pet_skill="smash" try_cnt="1" timeout="0"/>
<cmd name="melee_attack" timeout="0"/>
</sequence>
</pattern>
<event name="target_magic_prepare"/>
</rule>
<rule name="pet zaps melee foes 23">
<conditions>
<condition name="target_state" state="stop"/>
<condition name="skill_preparable" pet_skill="lightningbolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="cancel_skill"/>
<cmd name="stackmagic_attack" stack_magic="lightningbolt" charge="1" timeout="5000"/>
</sequence>
</pattern>
<event name="now_targeting"/>
</rule>
<rule name="pet ice melee foes 24">
<conditions>
<condition name="target_state" state="stop"/>
<condition name="skill_preparable" pet_skill="icebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="cancel_skill"/>
<cmd name="stackmagic_attack" stack_magic="icebolt" charge="1" timeout="0"/>
</sequence>
</pattern>
<event name="now_targeting"/>
</rule>
<rule name="pet fire melee foes 25">
<conditions>
<condition name="target_state" state="stop"/>
<condition name="skill_preparable" pet_skill="firebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="cancel_skill"/>
<cmd name="stackmagic_attack" stack_magic="firebolt" charge="1" timeout="0"/>
</sequence>
</pattern>
<event name="now_targeting"/>
</rule>
<rule name="pet smash melee foes 26">
<conditions>
<condition name="target_state" state="stop, 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="1" timeout="0"/>
<cmd name="melee_attack" timeout="0"/>
</sequence>
</pattern>
<event name="now_targeting"/>
</rule>
<rule name="pet smash recognized foes 27">
<conditions>
<condition name="target_state" state="stop, walk"/>
<condition name="skill_preparable" pet_skill="smash"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="smash" try_cnt="1" timeout="0"/>
<cmd name="melee_attack" timeout="0"/>
</sequence>
</pattern>
<event name="targeted" targeting_type="alert"/>
</rule>
<rule name="pet counter after smash 28">
<conditions>
<condition name="skill_preparable" pet_skill="counter"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="attack" pet_skill="smash" down="true" pet_attackable_skill="smash"/>
</rule>
<rule name="pet windmill after counter 29">
<conditions>
<condition name="skill_preparable" pet_skill="windmill"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="windmill" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="1000" max="10000"/>
<cmd name="process_skill" target="enemy" timeout="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="counter" down="true"/>
</rule>
<rule name="pet lightning after counter 30">
<conditions>
<condition name="skill_preparable" pet_skill="lightningbolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="lightningbolt" charge="1" timeout="5000"/>
<cmd name="melee_attack" timeout="10000"/>
<cmd name="prepare_skill" pet_skill="counter" try_cnt="1" timeout="10000"/>
<cmd name="wait" min="4000" max="10000"/>
<cmd name="cancel_skill"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="counter" down="true"/>
</rule>
<rule name="pet icebolt after counter 31">
<conditions>
<condition name="skill_preparable" pet_skill="icebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="icebolt" charge="1" timeout="0"/>
<cmd name="melee_attack" timeout="0"/>
<cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="4000" max="10000"/>
<cmd name="cancel_skill"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="counter" down="true"/>
</rule>
<rule name="pet firebolt after counter 32">
<conditions>
<condition name="skill_preparable" pet_skill="firebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="firebolt" charge="1" timeout="0"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="counter" down="true"/>
</rule>
<rule name="pet def after counter 33">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="attack" pet_skill="counter" down="true" pet_attackable_skill="counter"/>
</rule>
<rule name="pet def after windmill if NKD 34">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="windmill" down="false"/>
</rule>
<rule name="pet defense after windmill if KD 35">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="windmill" down="true"/>
</rule>
<rule name="pet def after lightning NKD 36">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="melee_attack" timeout="0"/>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="lightningbolt" down="false"/>
</rule>
<rule name="pet counter after lightning KD 37">
<conditions>
<condition name="skill_preparable" pet_skill="counter"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="4000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="attack" pet_skill="lightningbolt" down="true" pet_attackable_skill="lightningbolt"/>
</rule>
<rule name="pet def after lightning KD 38">
<conditions>
<condition name="skill_preparable" pet_skill="defence"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="lightningbolt" down="true"/>
</rule>
<rule name="pet counter after fire 39">
<conditions>
<condition name="skill_preparable" pet_skill="counter"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="4000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="attack" pet_skill="firebolt" down="true" pet_attackable_skill="firebolt"/>
</rule>
<rule name="pet def after fire 40">
<conditions>
<condition name="skill_preparable" pet_skill="defence"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="firebolt" down="true"/>
</rule>
<rule name="pet def after ice NKD 41">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="melee_attack" timeout="0"/>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="attack" pet_skill="icebolt" down="false" pet_attackable_skill="icebolt"/>
</rule>
<rule name="pet counter after ice KD 42">
<conditions>
<condition name="skill_preparable" pet_skill="counter"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="4000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="attack" pet_skill="icebolt" down="true" pet_attackable_skill="icebolt"/>
</rule>
<rule name="pet def after ice KD 43">
<conditions>
<condition name="skill_preparable" pet_skill="defence"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="icebolt" down="true"/>
</rule>
<rule name="pet attack after def 44">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="melee_attack" timeout="0"/>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="defence" defence_enable_skill="all"/>
</rule>
<rule name="pet lightning defense if KD 45">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="melee_attack" timeout="0"/>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="attacked" master_skill="lightningbolt" down="true"/>
</rule>
<rule name="pet lightning defense if NKD 46">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="melee_attack" timeout="0"/>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="attacked" master_skill="lightningbolt" down="false"/>
</rule>
<rule name="pet fire defense KD 47">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="melee_attack" timeout="0"/>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="attacked" master_skill="firebolt" down="true"/>
</rule>
<rule name="pet counter if KD 48">
<conditions>
<condition name="skill_preparable" pet_skill="counter"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="4000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="attacked" master_skill="all" down="true"/>
</rule>
<rule name="pet counter if NKD 49">
<conditions>
<condition name="skill_preparable" pet_skill="counter"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="4000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="attacked" master_skill="all" down="false"/>
</rule>
<rule name="pet def if KD 50">
<conditions>
<condition name="skill_preparable" pet_skill="defence"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="attacked" master_skill="all" down="true"/>
</rule>
<rule name="pet def if NKD 51">
<conditions>
<condition name="skill_preparable" pet_skill="defence"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="attacked" master_skill="all" down="false"/>
</rule>
<rule name="prepare firebolt with magnum shot 52">
<conditions>
<condition name="skill_preparable" pet_skill="firebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="firebolt" try_cnt="0" timeout="0"/>
<cmd name="stackmagic_attack" stack_magic="firebolt" charge="1" timeout="0"/>
</sequence>
</pattern>
<event name="master_skill_prepare" event_skill="magnum_shot"/>
</rule>
<rule name="firebolt with magnum shot 53">
<conditions>
<condition name="skill_preparable" pet_skill="firebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="firebolt" charge="1" timeout="0"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="magnum_shot"/>
</rule>
<rule name="Lightning with magnum shot 54">
<conditions>
<condition name="skill_preparable" pet_skill="lightningbolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="lightningbolt" charge="1" timeout="5000"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="magnum_shot"/>
</rule>
<rule name="icebolt with magnum shot 55">
<conditions>
<condition name="skill_preparable" pet_skill="icebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="icebolt" charge="1" timeout="0"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="magnum_shot"/>
</rule>
<rule name="smash with magnum shot 56">
<conditions>
<condition name="skill_preparable" pet_skill="smash"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="smash" try_cnt="1" timeout="0"/>
<cmd name="melee_attack" timeout="0"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="magnum_shot"/>
</rule>
<rule name="lightning with range 57">
<conditions>
<condition name="skill_preparable" pet_skill="lightningbolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="lightningbolt" charge="1" timeout="5000"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="ranged_attack"/>
</rule>
<rule name="ice with range 58">
<conditions>
<condition name="skill_preparable" pet_skill="icebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="icebolt" charge="1" timeout="0"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="ranged_attack"/>
</rule>
<rule name="lightning with support shot 59">
<conditions>
<condition name="skill_preparable" pet_skill="lightningbolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="lightningbolt" charge="1" timeout="5000"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="support_shot"/>
</rule>
<rule name="ice with support shot 60">
<conditions>
<condition name="skill_preparable" pet_skill="icebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="icebolt" charge="1" timeout="0"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="support_shot"/>
</rule>
<rule name="smash with support shot 61">
<conditions>
<condition name="skill_preparable" pet_skill="smash"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="smash" try_cnt="1" timeout="0"/>
<cmd name="melee_attack" timeout="0"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="support_shot"/>
</rule>
<rule name="lightning with mirage missile 62">
<conditions>
<condition name="skill_preparable" pet_skill="lightningbolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="lightningbolt" charge="1" timeout="5000"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="mirage_missile"/>
</rule>
<rule name="ice with mirage missile 63">
<conditions>
<condition name="skill_preparable" pet_skill="icebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="icebolt" charge="1" timeout="0"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="mirage_missile"/>
</rule>
<rule name="prepare ice 64">
<conditions>
<condition name="skill_preparable" pet_skill="icebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="icebolt" try_cnt="0" timeout="0"/>
<cmd name="stack_skill" stack_magic="icebolt" charge="1"/>
</sequence>
</pattern>
<event name="master_skill_prepare" event_skill="icebolt"/>
</rule>
<rule name="prepare lightning with ice 65">
<conditions>
<condition name="skill_preparable" pet_skill="lightningbolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="lightningbolt" try_cnt="0" timeout="5000"/>
<cmd name="stack_skill" stack_magic="lightningbolt" charge="1"/>
</sequence>
</pattern>
<event name="master_skill_prepare" event_skill="icebolt"/>
</rule>
<rule name="prepare fire with ice 66">
<conditions>
<condition name="skill_preparable" pet_skill="firebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="firebolt" try_cnt="0" timeout="0"/>
<cmd name="stack_skill" stack_magic="firebolt" charge="1"/>
</sequence>
</pattern>
<event name="master_skill_prepare" event_skill="icebolt"/>
</rule>
<rule name="ice attack 67">
<conditions>
<condition name="skill_preparable" pet_skill="icebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="icebolt" charge="1" timeout="0"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="icebolt"/>
</rule>
<rule name="lightning with ice 68">
<conditions>
<condition name="skill_preparable" pet_skill="lightningbolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="lightningbolt" charge="1" timeout="5000"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="icebolt"/>
</rule>
<rule name="fire with ice 69">
<conditions>
<condition name="skill_preparable" pet_skill="firebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="firebolt" charge="1" timeout="0"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="icebolt"/>
</rule>
<rule name="prepare Firebolt 70">
<conditions>
<condition name="skill_preparable" pet_skill="firebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="firebolt" try_cnt="0" timeout="0"/>
<cmd name="stack_skill" stack_magic="firebolt" charge="1"/>
</sequence>
</pattern>
<event name="master_skill_prepare" event_skill="firebolt"/>
</rule>
<rule name="prepare lightning with fire 71">
<conditions>
<condition name="skill_preparable" pet_skill="lightningbolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="lightningbolt" try_cnt="0" timeout="5000"/>
<cmd name="stack_skill" stack_magic="lightningbolt" charge="1"/>
</sequence>
</pattern>
<event name="master_skill_prepare" event_skill="firebolt"/>
</rule>
<rule name="prepare ice with fire 72">
<conditions>
<condition name="skill_preparable" pet_skill="icebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="icebolt" try_cnt="0" timeout="0"/>
<cmd name="stack_skill" stack_magic="icebolt" charge="1"/>
</sequence>
</pattern>
<event name="master_skill_prepare" event_skill="firebolt"/>
</rule>
<rule name="fire attack 73">
<conditions>
<condition name="skill_preparable" pet_skill="firebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="firebolt" charge="1" timeout="0"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="firebolt"/>
</rule>
<rule name="lightning with fire 74">
<conditions>
<condition name="skill_preparable" pet_skill="lightningbolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="lightningbolt" charge="1" timeout="5000"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="firebolt"/>
</rule>
<rule name="ice with fire 75">
<conditions>
<condition name="skill_preparable" pet_skill="icebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="icebolt" charge="1" timeout="0"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="firebolt"/>
</rule>
<rule name="smash with fire 76">
<conditions>
<condition name="skill_preparable" pet_skill="smash"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="smash" try_cnt="1" timeout="0"/>
<cmd name="melee_attack" timeout="0"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="firebolt"/>
</rule>
<rule name="prepare lightning with Thunder 77">
<conditions>
<condition name="skill_preparable" pet_skill="thunder"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="thunder" try_cnt="0" timeout="7000"/>
<cmd name="stackmagic_attack" stack_magic="thunder" charge="1" timeout="7000"/>
</sequence>
</pattern>
<event name="master_skill_prepare" event_skill="lightningbolt"/>
</rule>
<rule name="prepare lightningbolt 78">
<conditions>
<condition name="skill_preparable" pet_skill="lightningbolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="lightningbolt" try_cnt="0" timeout="5000"/>
<cmd name="stack_skill" stack_magic="lightningbolt" charge="1"/>
</sequence>
</pattern>
<event name="master_skill_prepare" event_skill="lightningbolt"/>
</rule>
<rule name="prepare ice with lightning 79">
<conditions>
<condition name="skill_preparable" pet_skill="icebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="icebolt" try_cnt="0" timeout="0"/>
<cmd name="stack_skill" stack_magic="icebolt" charge="1"/>
</sequence>
</pattern>
<event name="master_skill_prepare" event_skill="lightningbolt"/>
</rule>
<rule name="prepare fire with lightning 80">
<conditions>
<condition name="skill_preparable" pet_skill="firebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="firebolt" try_cnt="0" timeout="0"/>
<cmd name="stack_skill" stack_magic="firebolt" charge="1"/>
</sequence>
</pattern>
<event name="master_skill_prepare" event_skill="lightningbolt"/>
</rule>
<rule name="lightning aims Thunder 81">
<conditions>
<condition name="skill_preparable" pet_skill="thunder"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="thunder" charge="1" timeout="7000"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="lightningbolt"/>
</rule>
<rule name="lightning attack 82">
<conditions>
<condition name="skill_preparable" pet_skill="lightningbolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="lightningbolt" charge="1" timeout="5000"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="lightningbolt"/>
</rule>
<rule name="ice with lightning 83">
<conditions>
<condition name="skill_preparable" pet_skill="icebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="icebolt" charge="1" timeout="0"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="lightningbolt"/>
</rule>
<rule name="fire with lightning 84">
<conditions>
<condition name="skill_preparable" pet_skill="firebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="firebolt" charge="1" timeout="0"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="lightningbolt"/>
</rule>
<rule name="prepare Thunder 85">
<conditions>
<condition name="skill_preparable" pet_skill="thunder"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="thunder" try_cnt="0" timeout="7000"/>
<cmd name="stack_skill" stack_magic="thunder" charge="1"/>
</sequence>
</pattern>
<event name="master_skill_prepare" event_skill="thunder"/>
</rule>
<rule name="Thunder attack 86">
<conditions>
<condition name="skill_preparable" pet_skill="thunder"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="thunder" charge="1" timeout="7000"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="thunder"/>
</rule>
<rule name="smash with basic attack 87">
<conditions>
<condition name="skill_preparable" pet_skill="smash"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="smash" try_cnt="0" timeout="0"/>
<cmd name="melee_attack" timeout="0"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="basic"/>
</rule>
<rule name="ice with basic attack 88">
<conditions>
<condition name="skill_preparable" pet_skill="icebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="icebolt" charge="1" timeout="0"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="basic"/>
</rule>
<rule name="Lightning with basic attack 89">
<conditions>
<condition name="skill_preparable" pet_skill="lightningbolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="lightningbolt" charge="1" timeout="5000"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="basic"/>
</rule>
<rule name="smash attack 90">
<conditions>
<condition name="skill_preparable" pet_skill="smash"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="smash" try_cnt="0" timeout="0"/>
<cmd name="melee_attack" timeout="0"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="smash"/>
</rule>
<rule name="lightning with smash 91">
<conditions>
<condition name="skill_preparable" pet_skill="lightningbolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="lightningbolt" charge="1" timeout="5000"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="smash"/>
</rule>
<rule name="ice with smash 92">
<conditions>
<condition name="skill_preparable" pet_skill="icebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="icebolt" charge="1" timeout="0"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="smash"/>
</rule>
<rule name="fire with smash 93">
<conditions>
<condition name="skill_preparable" pet_skill="firebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="firebolt" charge="1" timeout="0"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="smash"/>
</rule>
<rule name="smash after windmill 94">
<conditions>
<condition name="skill_preparable" pet_skill="smash"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="smash" try_cnt="1" timeout="0"/>
<cmd name="melee_attack" timeout="0"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="windmill"/>
</rule>
<rule name="basic with all attacks 95">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="cancel_skill"/>
<cmd name="melee_attack" timeout="0"/>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
<cmd name="chase" chase_target="master" timeout="3000" run="true"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="all"/>
</rule>
<rule name="bodyguard KD 96">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="cancel_skill"/>
<cmd name="melee_attack" timeout="0"/>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="master_attacked" master_skill="all" down="true"/>
</rule>
<rule name="bodyguard NKD 97">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="cancel_skill"/>
<cmd name="melee_attack" timeout="0"/>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="master_attacked" master_skill="all" down="false"/>
</rule>
<rule name="pet attack target foes 98">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="melee_attack" timeout="0"/>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="now_targeting"/>
</rule>
<rule name="pet smash foes for owner 99">
<conditions>
<condition name="target_state" state="stop, walk"/>
<condition name="target_distance" min_distance="100" max_distance="500"/>
<condition name="skill_preparable" pet_skill="smash"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="smash" try_cnt="0" timeout="0"/>
<cmd name="melee_attack" timeout="0"/>
</sequence>
</pattern>
<event name="master_targeted" targeting_type="attack"/>
</rule>
<rule name="pet attack foes for owner 100">
<conditions>
<condition name="target_distance" min_distance="100" max_distance="300"/>
<condition name="target_state" state="run"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="melee_attack" timeout="0"/>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="10000"/>
<cmd name="wait" min="3000" max="10000"/>
<cmd name="cancel_skill"/>
</sequence>
</pattern>
<event name="master_targeted" targeting_type="attack"/>
</rule>
<rule name="pet zaps foes for owner 101">
<conditions>
<condition name="target_distance" min_distance="300" max_distance="1200"/>
<condition name="skill_preparable" pet_skill="lightningbolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="lightningbolt" charge="1" timeout="5000"/>
</sequence>
</pattern>
<event name="master_targeted" targeting_type="attack"/>
</rule>
<rule name="pet ice foes for owner 102">
<conditions>
<condition name="target_distance" min_distance="300" max_distance="1200"/>
<condition name="skill_preparable" pet_skill="icebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="icebolt" charge="1" timeout="0"/>
</sequence>
</pattern>
<event name="master_targeted" targeting_type="attack"/>
</rule>
<rule name="pet fire foes for owner 103">
<conditions>
<condition name="target_distance" min_distance="300" max_distance="1200"/>
<condition name="skill_preparable" pet_skill="firebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="firebolt" charge="1" timeout="0"/>
</sequence>
</pattern>
<event name="master_targeted" targeting_type="attack"/>
</rule>
<rule name="pet smash foes recognizing owner 104">
<conditions>
<condition name="skill_preparable" pet_skill="smash"/>
<condition name="target_state" state="stop, walk"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="smash" try_cnt="1" timeout="0"/>
<cmd name="melee_attack" timeout="0"/>
</sequence>
</pattern>
<event name="master_targeted" targeting_type="alert"/>
</rule>
</rules>[/CODE]