<rules>
<rule name="暴走防止">
<conditions/>
<pattern>
<param_decl/>
<sequence/>
</pattern>
<event name="attack" pet_attackable_skill="all" down="true"/>
</rule>
<rule name="近接→反射">
<conditions>
<condition name="skill_preparable" pet_skill="counter"/>
<condition name="target_state" state="blowaway"/>
<condition name="target_state" state="shoved"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="0"/>
<cmd name="wait" min="1000" max="1000"/>
</sequence>
</pattern>
<event name="now_targeting"/>
</rule>
<rule name="反射→防御">
<conditions>
<condition name="skill_preparable" pet_skill="firstaid"/>
<condition name="target_state" state="blowaway"/>
<condition name="target_state" state="shoved"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="500"/>
<cmd name="move_against" distance="700" run="true" timeout="2000"/>
</sequence>
</pattern>
<event name="now_targeting"/>
</rule>
<rule name="反射→魔法1">
<conditions>
<condition name="skill_preparable" pet_skill="icebolt"/>
<condition name="target_state" state="blowaway"/>
<condition name="target_state" state="shoved"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stack_skill" stack_magic="icebolt" charge="1"/>
<cmd name="stackmagic_attack" stack_magic="icebolt" charge="1" timeout="0"/>
<cmd name="move_around" clockwise="true" radius="100" run="false" timeout="0"/>
</sequence>
</pattern>
<event name="now_targeting"/>
</rule>
<rule name="反射→魔法2">
<conditions>
<condition name="skill_preparable" pet_skill="lightningbolt"/>
<condition name="target_state" state="blowaway"/>
<condition name="target_state" state="shoved"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stack_skill" stack_magic="lightningbolt" charge="1"/>
<cmd name="stackmagic_attack" stack_magic="lightningbolt" charge="1" timeout="0"/>
<cmd name="move_around" clockwise="true" radius="100" run="false" timeout="0"/>
</sequence>
</pattern>
<event name="now_targeting"/>
</rule>
<rule name="反射→魔法3">
<conditions>
<condition name="skill_preparable" pet_skill="firebolt"/>
<condition name="target_state" state="blowaway"/>
<condition name="target_state" state="shoved"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="stack_skill" stack_magic="firebolt" charge="1"/>
<cmd name="stackmagic_attack" stack_magic="firebolt" charge="1" timeout="0"/>
<cmd name="move_around" clockwise="true" radius="100" run="false" timeout="0"/>
</sequence>
</pattern>
<event name="now_targeting"/>
</rule>
<rule name="反射→防御(mp不足or魔法沒有)">
<conditions>
<condition name="skill_preparable" pet_skill="defence"/>
<condition name="target_state" state="blowaway"/>
<condition name="target_state" state="shoved"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="500"/>
<cmd name="move_against" distance="700" run="true" timeout="2000"/>
</sequence>
</pattern>
<event name="now_targeting"/>
</rule>
<rule name="防禦1">
<conditions>
<condition name="skill_preparable" pet_skill="defence"/>
</conditions>
<pattern>
<param_decl/>
<sequence/>
</pattern>
<event name="now_targeting"/>
</rule>
<rule name="硬直近接">
<conditions>
<condition name="target_state" state="hit"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="cancel_skill"/>
<cmd name="melee_attack" timeout="0"/>
</sequence>
</pattern>
<event name="now_targeting"/>
</rule>
<rule name="魔法1反射">
<conditions>
<condition name="target_state" state="hit"/>
<condition name="target_state" state="shoved"/>
<condition name="target_state" state="blowaway"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="0"/>
<cmd name="wait" min="3000" max="3000"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="icebolt" down="false"/>
</rule>
<rule name="魔法2反射">
<conditions>
<condition name="target_state" state="hit"/>
<condition name="target_state" state="shoved"/>
<condition name="target_state" state="blowaway"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="0"/>
<cmd name="wait" min="3000" max="3000"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="lightningbolt" down="false"/>
</rule>
<rule name="魔法1防御順番入替">
<conditions>
<condition name="target_state" state="hit"/>
<condition name="target_state" state="shoved"/>
<condition name="target_state" state="blowaway"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="500"/>
<cmd name="move_against" distance="700" run="true" timeout="3000"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="icebolt" down="false"/>
</rule>
<rule name="魔法2防御順番入替">
<conditions>
<condition name="target_state" state="hit"/>
<condition name="target_state" state="shoved"/>
<condition name="target_state" state="blowaway"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="500"/>
<cmd name="move_against" distance="700" run="true" timeout="3000"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="lightningbolt" down="false"/>
</rule>
<rule name="魔法1近接失敗">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="melee_attack" timeout="0"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="icebolt" down="false"/>
</rule>
<rule name="魔法2近接失敗">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="melee_attack" timeout="0"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="lightningbolt" down="false"/>
</rule>
<rule name="反射對策暴走防止">
<conditions>
<condition name="skill_preparable" pet_skill="defence"/>
<condition name="target_state" state="stop"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="melee_attack" timeout="0"/>
</sequence>
</pattern>
<event name="target_skill_prepare"/>
</rule>
<rule name="反射對策1">
<conditions>
<condition name="skill_preparable" pet_skill="icebolt"/>
<condition name="target_state" state="stop"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="cancel_skill"/>
<cmd name="cancel_skill"/>
<cmd name="move_against" distance="700" run="true" timeout="500"/>
<cmd name="stack_skill" stack_magic="icebolt" charge="1"/>
<cmd name="stackmagic_attack" stack_magic="icebolt" charge="1" timeout="0"/>
</sequence>
</pattern>
<event name="target_skill_prepare"/>
</rule>
<rule name="反射對策2">
<conditions>
<condition name="skill_preparable" pet_skill="lightningbolt"/>
<condition name="target_state" state="stop"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="cancel_skill"/>
<cmd name="cancel_skill"/>
<cmd name="move_against" distance="700" run="true" timeout="500"/>
<cmd name="stack_skill" stack_magic="lightningbolt" charge="1"/>
<cmd name="stackmagic_attack" stack_magic="lightningbolt" charge="1" timeout="0"/>
</sequence>
</pattern>
<event name="target_skill_prepare"/>
</rule>
<rule name="反射對策2">
<conditions>
<condition name="skill_preparable" pet_skill="firebolt"/>
<condition name="target_state" state="stop"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="cancel_skill"/>
<cmd name="cancel_skill"/>
<cmd name="move_against" distance="700" run="true" timeout="500"/>
<cmd name="stack_skill" stack_magic="firebolt" charge="1"/>
<cmd name="stackmagic_attack" stack_magic="firebolt" charge="1" timeout="0"/>
</sequence>
</pattern>
<event name="target_skill_prepare"/>
</rule>
<rule name="skull1">
<conditions>
<condition name="target_state" state="run"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="melee_attack" timeout="0"/>
</sequence>
</pattern>
<event name="target_skill_prepare"/>
</rule>
<rule name="防御崩壞">
<conditions>
<condition name="target_state" state="walk"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="cancel_skill"/>
<cmd name="prepare_skill" pet_skill="smash" try_cnt="0" timeout="0"/>
<cmd name="melee_attack" timeout="0"/>
</sequence>
</pattern>
<event name="target_skill_prepare"/>
</rule>
<rule name="遠攻近接">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="cancel_skill"/>
<cmd name="melee_attack" timeout="0"/>
</sequence>
</pattern>
<event name="aimed"/>
</rule>
<rule name="魔攻近接">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="cancel_skill"/>
<cmd name="melee_attack" timeout="0"/>
</sequence>
</pattern>
<event name="target_magic_prepare"/>
</rule>
<rule name="防御近接">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="melee_attack" timeout="0"/>
</sequence>
</pattern>
<event name="defence" defence_enable_skill="all"/>
</rule>
<rule name="攻1近接">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="cancel_skill"/>
<cmd name="melee_attack" timeout="0"/>
</sequence>
</pattern>
<event name="attacked" master_skill="all" down="false"/>
</rule>
<rule name="攻擊反射">
<conditions>
<condition name="skill_preparable" pet_skill="counter"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="cancel_skill"/>
<cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="0"/>
<cmd name="wait" min="3000" max="3000"/>
</sequence>
</pattern>
<event name="attacked" master_skill="all" down="true"/>
</rule>
<rule name="風車">
<conditions>
<condition name="skill_preparable" pet_skill="windmill"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="cancel_skill"/>
<cmd name="prepare_skill" pet_skill="windmill" try_cnt="0" timeout="0"/>
<cmd name="process_skill" target="my_pos" timeout="0"/>
</sequence>
</pattern>
<event name="attacked" master_skill="all" down="true"/>
</rule>
<rule name="攻擊1防御">
<conditions>
<condition name="skill_preparable" pet_skill="defence"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="cancel_skill"/>
<cmd name="prepare_skill" pet_skill="defence" try_cnt="0" timeout="500"/>
<cmd name="move_against" distance="700" run="true" timeout="2000"/>
</sequence>
</pattern>
<event name="attacked" master_skill="all" down="true"/>
</rule>
<rule name="主人休憩">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="skill_relax" on="true"/>
<cmd name="wait" min="10000" max="10000"/>
</sequence>
</pattern>
<event name="master_skill_prepare" event_skill="firstaid"/>
</rule>
<rule name="主人HP-40">
<conditions>
<condition name="skill_preparable" pet_skill="defence"/>
<condition name="master_damaged_life_greater" life="40"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="healing" try_cnt="0" timeout="0"/>
<cmd name="process_skill" target="master" timeout="2000"/>
<cmd name="wait" min="1000" max="1000"/>
<cmd name="process_skill" target="master" timeout="1000"/>
<cmd name="wait" min="1000" max="1000"/>
<cmd name="process_skill" target="master" timeout="1000"/>
<cmd name="wait" min="1000" max="1000"/>
<cmd name="process_skill" target="master" timeout="1000"/>
<cmd name="wait" min="1000" max="1000"/>
<cmd name="process_skill" target="master" timeout="1000"/>
<cmd name="wait" min="1000" max="1000"/>
<cmd name="process_skill" target="master" timeout="1000"/>
<cmd name="process_skill" target="master" timeout="1000"/>
</sequence>
</pattern>
<event name="master_skill_prepare" event_skill="healing"/>
</rule>
<rule name="認識近接">
<conditions>
<condition name="skill_preparable" pet_skill="defence"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="melee_attack" timeout="0"/>
</sequence>
</pattern>
<event name="targeted" targeting_type="alert"/>
</rule>
<rule name="警戒近接">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="cancel_skill"/>
<cmd name="melee_attack" timeout="0"/>
</sequence>
</pattern>
<event name="targeted" targeting_type="attack"/>
</rule>
<rule name="暴走防止2">
<conditions/>
<pattern>
<param_decl/>
<sequence/>
</pattern>
<event name="now_targeting"/>
</rule>
</rules>

創作者介紹
創作者 bladepig 的頭像
bladepig

Games Places

bladepig 發表在 痞客邦 留言(0) 人氣()