Thread: AMAZING Pet AI
View Single Post
Thead Left Old 08-22-2008, 10:18 PM   #31 (permalink) Thead Left
Nightgaunt
Forest of Souls Resident
 
Nightgaunt's Avatar
 
Join Date: Aug 2008
Posts: 3
My Mood:
Gold: -783
Nightgaunt is still learning the ropes
Default HaX

I've been running a few tests trying to see what I can do with the AI, including using skills not normally a part of the main set. I couldn't get a "non-AI" skill to work yet (tried event=Rest) but I could get an Animal Only AI variable to work (in this case Firstaid). Normally you can not make the animal ACT when you use AI, but if you change the code manually you can...

Still looking for more goodness.

Code:
<rules>
	<rule name="Test_Skill1">
		<conditions/>
		<pattern>
			<param_decl/>
			<sequence>
				<cmd name="prepare_skill" pet_skill="healing" try_cnt="0" timeout="5000"/>
				<cmd name="process_skill" target="me" timeout="10000"/>
			</sequence>
		</pattern>
		<event name="master_skill_prepare" event_skill="firstaid"/>
	</rule>
</rules>
Nightgaunt is offline   Reply With Quote