Ashitacast Not Triggering StatusCure Set On Erase

言語: JP EN DE FR
2010-06-21
New Items
users online
フォーラム » FFXI » Jobs » White Mage » Ashitacast not triggering StatusCure set on Erase
Ashitacast not triggering StatusCure set on Erase
 Asura.Finbar
Offline
サーバ: Asura
Game: FFXI
user: Finbar
Posts: 86
By Asura.Finbar 2018-09-03 21:18:37  
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
サーバ: Sylph
Game: FFXI
user: dmregm
Posts: 396
By Sylph.Reain 2018-09-03 22:00:56  
Erase is enhancing magic.
 Asura.Finbar
Offline
サーバ: Asura
Game: FFXI
user: Finbar
Posts: 86
By Asura.Finbar 2018-09-03 23:04:06  
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
サーバ: Asura
Game: FFXI
user: Jezper
Posts: 14
By Asura.Jezper 2018-09-04 00:32:30  
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
サーバ: Leviathan
Game: FFXI
user: kingkitt
Posts: 517
By Leviathan.Kingkitt 2018-09-04 00:42:33  
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
サーバ: Leviathan
Game: FFXI
user: Rairin
Posts: 6052
By Leviathan.Comeatmebro 2018-09-04 06:21:32  
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
サーバ: Leviathan
Game: FFXI
user: Rairin
Posts: 6052
By Leviathan.Comeatmebro 2018-09-04 06:22:49  
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: 1592
By Felgarr 2018-09-04 06:57:00  
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
サーバ: Asura
Game: FFXI
user: Jezper
Posts: 14
By Asura.Jezper 2018-09-04 08:18:01  
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
サーバ: Asura
Game: FFXI
user: Finbar
Posts: 86
By Asura.Finbar 2018-09-04 17:30:08  
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
サーバ: Ramuh
Game: FFXI
user: Austar
Posts: 10457
By Ramuh.Austar 2018-09-04 18:19:02  
you can probably just make from scratch faster than trying to fix.
 Asura.Finbar
Offline
サーバ: Asura
Game: FFXI
user: Finbar
Posts: 86
By Asura.Finbar 2018-09-04 19:28:31  
Agreed. That's the plan.
 Asura.Finbar
Offline
サーバ: Asura
Game: FFXI
user: Finbar
Posts: 86
By Asura.Finbar 2018-09-06 19:46:40  
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.