Ashitacast Not Triggering StatusCure Set On Erase

Language: JP EN DE FR
2010-09-08
New Items
users online
Forum » FFXI » Jobs » White Mage » Ashitacast not triggering StatusCure set on Erase
Ashitacast not triggering StatusCure set on Erase
 Asura.Finbar
Offline
Server: Asura
Game: FFXI
user: Finbar
Posts: 65
By Asura.Finbar 2018-09-03 21:18:37
Link | Quote | Reply
 
This is a cross post, but FFXIAH gets a hell of a lot more traffic than the Ashita forums, so I figured someone around here is more likely to notice.

As the title says, I can't get my xml to trigger my StatusCure set when I cast Erase, though it works fine with both Cursna and *na spells.

The code in question:
<elseif ad_name="*na|Erase">
<if ad_name="Cursna">
<equip set="Cursna"/>
</if>
<else>
<equip set="StatusCure"/>
</else>
</elseif>

The pastebin of the xml where the code in question resides:
https://pastebin.com/aU6D0QEQ

And before anyone comments that I don't have the new Erase neck piece: I know (and am waiting for the price to settle).

Thanks for the help (and I'll move this if there was a better place to post it).
 Sylph.Reain
Offline
Server: Sylph
Game: FFXI
user: dmregm
Posts: 238
By Sylph.Reain 2018-09-03 22:00:56
Link | Quote | Reply
 
Erase is enhancing magic.
 Asura.Finbar
Offline
Server: Asura
Game: FFXI
user: Finbar
Posts: 65
By Asura.Finbar 2018-09-03 23:04:06
Link | Quote | Reply
 
Tried putting this before the rest of the rules and still no go:

<if ad_type="enhancingmagic">
<if ad_name="Erase">
<equip set="StatusCure" />
</if>
</if>
 Asura.Jezper
Offline
Server: Asura
Game: FFXI
user: Jezper
Posts: 5
By Asura.Jezper 2018-09-04 00:32:30
Link | Quote | Reply
 
Asura.Finbar said: »
Tried putting this before the rest of the rules and still no go:

<if ad_type="enhancingmagic">
<if ad_name="Erase">
<equip set="StatusCure" />
</if>
</if>

I don't think all that text is needed. You want a set on when casting erase? Then
<if ad_name="Erase"><equip set="StatusCure" /></if>

The / after statuscure is short for </if> that's why you don't have to write </if> twice.
 Leviathan.Kingkitt
Offline
Server: Leviathan
Game: FFXI
user: kingkitt
Posts: 327
By Leviathan.Kingkitt 2018-09-04 00:42:33
Link | Quote | Reply
 
That XML is all over the place with midmagic for death/indi/geo spells, etc. However if you slap this code into your midmagic section of your xml everything thing should work out as far as enhancing sets go assuming you have all of the said sets in xml.

<if ad_skill="EnhancingMagic"><equip set="Enhancing" />
<if ad_name="Refresh"><equip set="Refresh" /></if>
<elseif ad_name="Erase"><equip set="StatusCure" /></elseif>
<elseif ad_name="Regen*"><equip set="Regen" /></elseif>
<elseif ad_name="Bar*"><equip set="Barspell" /></elseif>
<elseif ad_name="Stoneskin"><equip set="Stoneskin" /></elseif>
<elseif ad_name="Gain*|Boost*|En*|Phalanx"><equip set="Enhancing" /></elseif>
 Leviathan.Comeatmebro
Offline
Server: Leviathan
Game: FFXI
user: Rairin
Posts: 5651
By Leviathan.Comeatmebro 2018-09-04 06:21:32
Link | Quote | Reply
 
Sylph.Reain said: »
Erase is enhancing magic.
This is correct.

Asura.Finbar said: »
Tried putting this before the rest of the rules and still no go:

<if ad_type="enhancingmagic">
<if ad_name="Erase">
<equip set="StatusCure" />
</if>
</if>
Because you still have an enhancing section at the end overwriting it with duration or stoneskin.

You also have a whole mess of weird *** ***like geo spells, do you run whm/geo or something?
 Leviathan.Comeatmebro
Offline
Server: Leviathan
Game: FFXI
user: Rairin
Posts: 5651
By Leviathan.Comeatmebro 2018-09-04 06:22:49
Link | Quote | Reply
 
Asura.Jezper said: »
Asura.Finbar said: »
Tried putting this before the rest of the rules and still no go:

<if ad_type="enhancingmagic">
<if ad_name="Erase">
<equip set="StatusCure" />
</if>
</if>

I don't think all that text is needed. You want a set on when casting erase? Then
<if ad_name="Erase"><equip set="StatusCure" /></if>

The / after statuscure is short for </if> that's why you don't have to write </if> twice.
No, the /> means the tag itself is self closing so you dont need </equip>. The code in isolation is fine, his xml is just a trainwreck.
Offline
Posts: 431
By Felgarr 2018-09-04 06:57:00
Link | Quote | Reply
 
It's probably best to re-iterate that each XML block in ashitacast: idle, premagic, midmagic etc. will produce one final set of armor (16 slots) once the block is processed. You want that resultant set of armor to correspond to your actions, so you should make sure there aren't later pieces of XML in that block modifying your set, unintentionally.
 Asura.Jezper
Offline
Server: Asura
Game: FFXI
user: Jezper
Posts: 5
By Asura.Jezper 2018-09-04 08:18:01
Link | Quote | Reply
 
Leviathan.Comeatmebro said: »
Asura.Jezper said: »
Asura.Finbar said: »
Tried putting this before the rest of the rules and still no go:

<if ad_type="enhancingmagic">
<if ad_name="Erase">
<equip set="StatusCure" />
</if>
</if>

I don't think all that text is needed. You want a set on when casting erase? Then
<if ad_name="Erase"><equip set="StatusCure" /></if>

The / after statuscure is short for </if> that's why you don't have to write </if> twice.
No, the /> means the tag itself is self closing so you dont need </equip>. The code in isolation is fine, his xml is just a trainwreck.

This is true, my mistake. :)
 Asura.Finbar
Offline
Server: Asura
Game: FFXI
user: Finbar
Posts: 65
By Asura.Finbar 2018-09-04 17:30:08
Link | Quote | Reply
 
I borrowed this xml from the only person I found posting sets, since I didn't feel like starting from scratch. Yeah, there's a lot of dumb ***in there and I had to make a lot of modifications to it myself. Haven't culled out all of the extraneous stuff yet because I haven't checked what's tied to what. (Yeah, I should have just created one from scratch.)

I appreciate the help.
 Ramuh.Austar
Offline
Server: Ramuh
Game: FFXI
user: Austar
Posts: 9237
By Ramuh.Austar 2018-09-04 18:19:02
Link | Quote | Reply
 
you can probably just make from scratch faster than trying to fix.
 Asura.Finbar
Offline
Server: Asura
Game: FFXI
user: Finbar
Posts: 65
By Asura.Finbar 2018-09-04 19:28:31
Link | Quote | Reply
 
Agreed. That's the plan.
 Asura.Finbar
Offline
Server: Asura
Game: FFXI
user: Finbar
Posts: 65
By Asura.Finbar 2018-09-06 19:46:40
Link | Quote | Reply
 
Since I know you've all been spamming F5 for two days, an update.

I remade the xml with a lot less worthless crap and stupid "son!" comments in it, but it turns out it was just a series of <if>'s in the enhancing section of healing magic that should have been <elseif>'s.
Log in to post.