<rules>
<rule name="主動用火焰攻擊">
<conditions>
<condition name="skill_preparable" pet_skill="firebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="move_against" distance="600" run="true" timeout="2000"/>
<cmd name="stackmagic_attack" stack_magic="firebolt" charge="1" timeout="5000"/>
</sequence>
</pattern>
<event name="seek_target"/>
</rule>
<rule name="寵物被發現,火焰">
<conditions>
<condition name="target_distance" min_distance="100" max_distance="1500"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="firebolt" charge="1" timeout="5000"/>
</sequence>
</pattern>
<event name="targeted" targeting_type="alert"/>
</rule>
<rule name="寵物被打飛,反擊">
<conditions>
<condition name="target_distance" min_distance="100" max_distance="1500"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="counter" try_cnt="4" timeout="10000"/>
<cmd name="wait" min="8000" max="10000"/>
</sequence>
</pattern>
<event name="attacked" master_skill="all" down="true"/>
</rule>
<rule name="寵物被警戒.反擊">
<conditions>
<condition name="target_distance" min_distance="100" max_distance="1500"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="counter" try_cnt="4" timeout="10000"/>
<cmd name="wait" min="8000" max="10000"/>
</sequence>
</pattern>
<event name="targeted" targeting_type="attack"/>
</rule>
<rule name="寵物發現敵人,火箭">
<conditions>
<condition name="target_distance" min_distance="100" max_distance="1500"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stackmagic_attack" stack_magic="firebolt" charge="1" timeout="7000"/>
</sequence>
</pattern>
<event name="seek_target"/>
</rule>
<rule name="寵物被打退,反擊">
<conditions>
<condition name="target_distance" min_distance="100" max_distance="1500"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="counter" try_cnt="4" timeout="10000"/>
<cmd name="wait" min="8000" max="10000"/>
</sequence>
</pattern>
<event name="attacked" master_skill="all" down="false"/>
</rule>
<rule name="火焰打中後,反擊">
<conditions>
<condition name="skill_preparable" pet_skill="firebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="counter" try_cnt="4" timeout="10000"/>
<cmd name="wait" min="8000" max="10000"/>
</sequence>
</pattern>
<event name="now_targeting"/>
</rule>
<rule name="反擊後,火焰">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="firebolt" try_cnt="1" timeout="0"/>
<cmd name="stackmagic_attack" stack_magic="firebolt" charge="1" timeout="5000"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="counter" down="true"/>
</rule>
</rules> |
|