* *

News

Nexon has updated NGS a while back, crippling all memory patchers for the time being. Unfortunately, there will not be any way to edit memory directly unless a full NGS bypass becomes available. Most data folder mods are not affected by this, but require a data folder packer to take effect in-game.

Keep in mind that you must register an account, and be logged in to view any content on this site.

Mabinogi Status

Erinn Timer

Time
Erinn Time 14:58
Local 01:34
Server 01:34
Moongate Prior G16 [ + / - ]
11:11 Tir Chonaill
12:22 Dunbarton
13:33 Emain Macha
14:44 Bangor
14:44 Emain Macha
16:66 Emain Macha

Ceo in days.

Price [ + / - ]
01:12 Emain Macha - Island in South Pathway
01:48 Sen Mag 5th house from West
Rua [ + / - ]
01:39 Resting
02:15 Resting

Themes





Author Topic: Pet smash Co-Op AI  (Read 767 times)

0 Members and 1 Guest are viewing this topic.

Offline shakey2

Pet smash Co-Op AI
« on: February 02, 2010, 05:37:15 PM »
The AI was created by this guy:


I couldn't find it on the forums using the search function so I thought I'd post it. If it has already been posted let me know and I will take this down or mods can take it down.
Code: [Select]
<rules>
<rule name="prepare smash">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="prepare_skill" pet_skill="smash" try_cnt="1" timeout="2000"/>
<cmd name="chase" chase_target="enemy" run="true" timeout="500"/>
<cmd name="move_against" distance="200" run="true" timeout="500"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="smash"/>
</rule>
<rule name="smash, prepare ice">
<conditions>
<condition name="skill_preparable" pet_skill="icebolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="move_against" distance="300" run="true" timeout="500"/>
<cmd name="stackmagic_attack" stack_magic="icebolt" charge="1" timeout="0"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="smash" down="true"/>
</rule>
<rule name="ice unavailable=>smash, prepare lightning">
<conditions>
<condition name="skill_preparable" pet_skill="lightningbolt"/>
</conditions>
<pattern>
<param_decl/>
<sequence>
<cmd name="move_against" distance="300" run="true" timeout="500"/>
<cmd name="stackmagic_attack" stack_magic="lightningbolt" charge="1" timeout="0"/>
</sequence>
</pattern>
<event name="attack" pet_attackable_skill="smash" down="true"/>
</rule>
<rule name="release ice">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="process_skill" target="enemy" timeout="0"/>
<cmd name="move_against" distance="200" run="true" timeout="500"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="icebolt"/>
</rule>
<rule name="release lightning">
<conditions/>
<pattern>
<param_decl/>
<sequence>
<cmd name="process_skill" target="enemy" timeout="0"/>
<cmd name="move_against" distance="200" run="true" timeout="500"/>
</sequence>
</pattern>
<event name="master_attack" master_skill="smash"/>
</rule>
</rules>

This little small piece of code is ingenious and I use it all the time with my pandas.
shakey2 has a signature!

Offline firefast67

Re: Pet smash Co-Op AI
« Reply #1 on: February 14, 2010, 12:49:12 AM »
Mmmm, thanks! I've been looking for this. Ahaha.