WHM.xml Ashitacast

Having an issue with Ashita? Need some help setting things up? Ask for support here.
Locked
noobhaxor
Posts: 3
Joined: Thu May 19, 2016 9:00 pm

WHM.xml Ashitacast

Post by noobhaxor » Sat May 21, 2016 10:07 pm

Here is my WHM xml. Works well, but I'd love to automate my Afflatus Solace. How would I toss Afflatus Solace on wait 1.25 seconds and then cast my cure. I was looking at registerbuff in Ashitacast, but don't understand how it works. I think its either bugged or it does something complete different than what I think it does.

Code: Select all

<ashitacast>
	<settings> <!--Contains settings specific to this xml, must be set to true/false to override default-->
		<buffupdate>true</buffupdate> <!--Determines if your idlegear will be parsed when you gain/lose a buff. Default: TRUE -->
		<statusupdate>true</statusupdate> <!--Determines if your idlegear will be parsed when you change status(stand/rest/engage/etc).  Default: TRUE -->
		<hpupdate>false</hpupdate> <!--Determines if your idlegear will be parsed when your HP % changes.  Default: TRUE -->
		<autoupdate>true</autoupdate> <!--Determines if your idlegear will be parsed on outgoing status updates(roughly every 350ms).  Default: TRUE-->
	</settings>
	<sets>
		<set name="Normal">
			<main priority="1" lock="true">Tamaxchi</main>
			<sub>Sors shield</sub>
			<ammo>Incantor Stone</ammo>
			<head>Theo. Cap +1</head>
			<neck>Nuna Gorget</neck>
			<lear>Orison Earring</lear>
			<rear>Moonshade Earring</rear>
			<body>Ebers Bliaud</body>
			<hands>Theo. Mitts +1</hands>
			<rring>Sirona's Ring</rring>
			<lring>Prolix Ring</lring>
			<back>Pahtli Cape</back>
			<waist>Witful Belt</waist>
			<legs>Ebers Pantaloons</legs>
			<feet>Theo. Duckbills +1</feet>
		</set>
		<set name="Healing" baseset="Normal">
			<lear>Orison Earring</lear>
			<rear>Roundel Earring</rear>
			<lring>Ephedra Ring</lring>
			
		</set>
		<set name="FastCast" baseset="Normal">
			<ammo>Incantor Stone</ammo>
			<head>Haruspex Hat</head>
			<hands>Gendewitha Gages</hands>
			<lear>Loquac. Earring</lear>
			<lring>Prolix Ring</lring>
			<back>Swith Cape</back>
			<waist>Witful Belt</waist>
		</set>
		<include>
			<!-- Example: <item>Tinhaspa</item> -->
		</include>
	</sets>

	<variables>
		<var name="SetMacro">1</var>
	</variables>
		
	<inputcommands>
		<!-- Example: <cmd input="/trigger2">
						<gearlock delay="5" />
						<equip set="PDT" />
					  </cmd> -->
	</inputcommands>

	<idlegear>
		<!-- First Load Only -->
		<if advanced="$SetMacro=1">
			<command>/macro book 1</command>
			<command>/macro set 1</command>
			<setvar name="SetMacro" value="0" />
		</if>
		<!-- Main Loop -->
		<equip set="Normal" />
	</idlegear>
	<premagic>
		<if ad_skill="HealingMagic">
			<if buffactive="!Afflatus Solace&!Afflatus Misery">
				<addtochat color="159">No Afflatus Solace on Please Cast</addtochat>
			</if>
		</if>
		<else><equip set="FastCast" /></else>
	</premagic>
	<midmagic>
		<!--Name Specific Calls-->
		<if ad_name="Stoneskin"><command>/cancel 37</command></if>
		<elseif ad_name="Blink"><command>/cancel 36</command></elseif>
		<elseif ad_name="Sneak"><command>/cancel 71</command></elseif>
		<!--General Skill Magic-->
		<if ad_skill="HealingMagic"><equip set="Healing" /></if>
		<else><equip set="Normal" /></else>
	</midmagic>
	<jobability>
		
	</jobability>

	<weaponskill>
		
	</weaponskill>
</ashitacast>
noobhaxor
Posts: 3
Joined: Thu May 19, 2016 9:00 pm

Re: WHM.xml Ashitacast

Post by noobhaxor » Sat May 21, 2016 10:40 pm

temporary solution is just to fire it off anytime when not in a city. This is ugly, but hey it works...

Code: Select all

<if e_area="!Mog Garden&!*Adoulin*&!*Windurst*&!*Bastok*&!*Jeuno*&!*San d'Oria*&!*Mhaura*&!*Selbina*&!*Rabao*&!*Norg*&!*Al Zahbi*&!*Nashmau*&!Tavnazian Safehold&!Aht Urhgan Whitegate"><command>/ja "Afflatus Solace" <me></command></if>
Locked