Powered by Invision Power Board


  Reply to this topicStart new topicStart Poll

> Ice Counter Pet AI
ChiisaiRamen
Posted: August 23, 2008 02:02 am
Quote Post


Vampiric Guild Leader Lulu!
*******

Group: Admin
Posts: 8388607
Member No.: 1
Joined: June 12, 2006



CODE
<rules>
<rule name="Counter when enemy stops">
 <conditions>
  <condition name="target_state" state="stop"/>
 </conditions>
 <pattern>
  <param_decl/>
  <sequence>
   <cmd name="prepare_skill" pet_skill="counter" try_cnt="1" timeout="0"/>
  </sequence>
 </pattern>
 <event name="now_targeting"/>
</rule>
<rule name="Counter after Smashing">
 <conditions/>
 <pattern>
  <param_decl/>
  <sequence>
   <cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="0"/>
  </sequence>
 </pattern>
 <event name="attack" pet_attackable_skill="smash" down="true"/>
</rule>
<rule name="Counter after attacking 1">
 <conditions>
  <condition name="target_state" state="shoved"/>
 </conditions>
 <pattern>
  <param_decl/>
  <sequence>
   <cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="0"/>
  </sequence>
 </pattern>
 <event name="attack" pet_attackable_skill="basic" down="false"/>
</rule>
<rule name="Counter after attacking 2">
 <conditions/>
 <pattern>
  <param_decl/>
  <sequence>
   <cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="0"/>
  </sequence>
 </pattern>
 <event name="attack" pet_attackable_skill="basic" down="true"/>
</rule>
<rule name="IB after Countering">
 <conditions/>
 <pattern>
  <param_decl/>
  <sequence>
   <cmd name="stackmagic_attack" stack_magic="icebolt" charge="1" timeout="5000"/>
  </sequence>
 </pattern>
 <event name="attack" pet_attackable_skill="counter" down="true"/>
</rule>
<rule name="Counter after IBing">
 <conditions/>
 <pattern>
  <param_decl/>
  <sequence>
   <cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="5000"/>
  </sequence>
 </pattern>
 <event name="attack" pet_attackable_skill="icebolt" down="false"/>
</rule>
<rule name="Rush if Enemy RAs">
 <conditions/>
 <pattern>
  <param_decl/>
  <sequence>
   <cmd name="cancel_skill"/>
   <cmd name="melee_attack" timeout="0"/>
  </sequence>
 </pattern>
 <event name="aimed"/>
</rule>
<rule name="Rush if Enemy Casts">
 <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="Counter after Getting Meleed">
 <conditions/>
 <pattern>
  <param_decl/>
  <sequence>
   <cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="0"/>
  </sequence>
 </pattern>
 <event name="attacked" master_skill="basic" down="false"/>
</rule>
<rule name="Rush after Getting RAed">
 <conditions/>
 <pattern>
  <param_decl/>
  <sequence>
   <cmd name="cancel_skill"/>
   <cmd name="melee_attack" timeout="0"/>
  </sequence>
 </pattern>
 <event name="attacked" master_skill="ranged_attack" down="false"/>
</rule>
<rule name="Rush after Getting Magnumed">
 <conditions/>
 <pattern>
  <param_decl/>
  <sequence>
   <cmd name="cancel_skill"/>
   <cmd name="melee_attack" timeout="0"/>
  </sequence>
 </pattern>
 <event name="attacked" master_skill="magnum_shot" down="true"/>
</rule>
<rule name="Counter when Possible">
 <conditions>
  <condition name="skill_preparable" pet_skill="counter"/>
 </conditions>
 <pattern>
  <param_decl/>
  <sequence>
   <cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="0"/>
  </sequence>
 </pattern>
 <event name="now_targeting"/>
</rule>
<rule name="Counter when Alerted">
 <conditions/>
 <pattern>
  <param_decl/>
  <sequence>
   <cmd name="prepare_skill" pet_skill="counter" try_cnt="0" timeout="0"/>
  </sequence>
 </pattern>
 <event name="targeted" targeting_type="attack"/>
</rule>
<rule name="Free Act Stopper Rule">
 <conditions/>
 <pattern>
  <param_decl/>
  <sequence/>
 </pattern>
 <event name="now_targeting"/>
</rule>
</rules>


--------------------
this sig isnt complete yet. Not all my fav fighting game charas are in it yet...
user posted image
PMEmail PosterUsers WebsiteAOLMSN
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll