SC For HP Latent

Language: JP EN DE FR
2010-09-08
New Items
users online
Forum » FFXI » Jobs » Ninja » SC for HP Latent
SC for HP Latent
 Phoenix.Dayloz
Offline
Server: Phoenix
Game: FFXI
user: Dayloz
Posts: 9
By Phoenix.Dayloz 2012-05-13 11:05:36
Link | Quote | Reply
 
Hi, does anybody know how to do a SC XML for HP Latent?

I want to be able to automatically swap in Koga Hakama +2 legs + Shinobi when i'm below 75% HP, but if i go above to swap it back to Iga Hakama +2 + Rajas.

If anyone could shed some light on this that would be great thanks.
 Fenrir.Krazyrs
Offline
Server: Fenrir
Game: FFXI
user: krazyrs
Posts: 716
By Fenrir.Krazyrs 2012-05-13 11:15:06
Link | Quote | Reply
 
Code
<if HPPLT="75">
<action type="equip" when="done">
<lring lock="yes">Shinobi Ring</lring>
<legs lock="yes">Koga Hakama +2</legs>
</action>
</if>
 Ragnarok.Sekundes
Offline
Server: Ragnarok
Game: FFXI
user: Sekundes
Posts: 4189
By Ragnarok.Sekundes 2012-05-13 11:23:23
Link | Quote | Reply
 
The code for this particular part would be something like this:
Code
<if hpplt="75">
<equip when="aftercast"><legs Lock="True">Koga Hakama +2</legs></equip>
<equip when="aftercast"><legs Lock="True">Shinobi Ring</legs></equip>
</if>
<else>
<equip when="aftercast"><legs Lock="True">Iga Hakama +2</legs></equip>
<equip when="aftercast"><legs Lock="True">Rajas Ring</legs></equip>
</else>


I don't know how your xml is set up or how other parts would affect this but it'd probably be better to use a variable and have the variable set based on your hp level using autoexec.
 Phoenix.Dayloz
Offline
Server: Phoenix
Game: FFXI
user: Dayloz
Posts: 9
By Phoenix.Dayloz 2012-05-13 11:49:04
Link | Quote | Reply
 
Ok thanks, will give that a try and see how it goes.
 Shiva.Galbir
Offline
Server: Shiva
Game: FFXI
user: galbir
Posts: 1290
By Shiva.Galbir 2012-05-13 12:00:33
Link | Quote | Reply
 
First off you'll need an AutoExec file to do this properly:
Code
<?xml version="1.0" ?> 
<autoexec>
	<register event="hpplt76|hppgt75" silent="true">Stone V</register>
</autoexec>

This triggers Stone V to be cast if hp drops below 76 or rises above 75. Once Stone V is told to cast that's when Spellcast takes over:
[+]
 Phoenix.Kirana
Offline
Server: Phoenix
Game: FFXI
Posts: 2025
By Phoenix.Kirana 2012-05-13 13:29:44
Link | Quote | Reply
 
Phoenix.Dayloz said: »
Hi, does anybody know how to do a SC XML for HP Latent?

I want to be able to automatically swap in Koga Hakama +2 legs + Shinobi when i'm below 75% HP, but if i go above to swap it back to Iga Hakama +2 + Rajas.

If anyone could shed some light on this that would be great thanks.
FYI, koga+2 and rajas is still better than iga+2 and rajas (yes, even though your haste is not capped) so you only need to worry about swapping in the shinobi ring.
 Phoenix.Dayloz
Offline
Server: Phoenix
Game: FFXI
user: Dayloz
Posts: 9
By Phoenix.Dayloz 2012-05-14 02:26:15
Link | Quote | Reply
 
@Kirana Didn't know that... Thanks for the heads up :)

XML worked by the way so thanks for the reply.
 Phoenix.Dayloz
Offline
Server: Phoenix
Game: FFXI
user: Dayloz
Posts: 9
By Phoenix.Dayloz 2012-05-14 03:25:15
Link | Quote | Reply
 
Found a small problem, how do i XML this latent so that it only swaps my rings over when i'm engaged, as i would like to keep my set grp idle gears on. Would it be easier if i posted my XML? could do with cleaning up to be honest... i copied someones XML that was posted and have been editing it for a long time.
 Shiva.Galbir
Offline
Server: Shiva
Game: FFXI
user: galbir
Posts: 1290
By Shiva.Galbir 2012-05-14 03:26:41
Link | Quote | Reply
 
It would help a lot if you posted your Xml.
 Sylph.Hitetsu
Offline
Server: Sylph
Game: FFXI
user: Hitetsu
Posts: 2617
By Sylph.Hitetsu 2012-05-14 04:40:53
Link | Quote | Reply
 
Code xml
<if mode="and" hpplt="75" status="engaged">
<equip when="aftercast"><legs Lock="True">Koga Hakama +2</legs></equip>
<equip when="aftercast"><legs Lock="True">Shinobi Ring</legs></equip>
</if>
<else>
<equip when="aftercast"><legs Lock="True">Iga Hakama +2</legs></equip>
<equip when="aftercast"><legs Lock="True">Rajas Ring</legs></equip>
</else>


Using the code Sek posted, change the first line to what I changed it to and you should be fine.
 Shiva.Galbir
Offline
Server: Shiva
Game: FFXI
user: galbir
Posts: 1290
By Shiva.Galbir 2012-05-14 04:42:53
Link | Quote | Reply
 
Only problem with that is that it only checks your hp once per fight.
 Lakshmi.Byrth
VIP
Offline
Server: Lakshmi
Game: FFXI
user: Byrthnoth
Posts: 6137
By Lakshmi.Byrth 2012-05-14 04:49:43
Link | Quote | Reply
 
Spellcast processes every time you use a spell, job ability, ws, etc. even if it's a fake one (like Dancing Chains).

Set up Autoexec so it uses Dancing Chains when your HP drops below 75%.
 Shiva.Galbir
Offline
Server: Shiva
Game: FFXI
user: galbir
Posts: 1290
By Shiva.Galbir 2012-05-14 04:54:21
Link | Quote | Reply
 
^that

Also here's a link to the autoexec plugin. Just save another xml with the code that I posted earlier in this thread. Then load auto exec and it. You can also add it to your init to auto load.
 Phoenix.Dayloz
Offline
Server: Phoenix
Game: FFXI
user: Dayloz
Posts: 9
By Phoenix.Dayloz 2012-05-14 05:10:09
Link | Quote | Reply
 
Here is my XML kinda long but it works.
 Sylph.Hitetsu
Offline
Server: Sylph
Game: FFXI
user: Hitetsu
Posts: 2617
By Sylph.Hitetsu 2012-05-14 12:19:16
Link | Quote | Reply
 
Shiva.Galbir said: »
Only problem with that is that it only checks your hp once per fight.

It would check after every action, but would only work if you were engaged with < 75% hp. If you were Idle, or have > 75% HP, it would skip the section and go to the <else>, which would equip regular gear.
 Phoenix.Dayloz
Offline
Server: Phoenix
Game: FFXI
user: Dayloz
Posts: 9
By Phoenix.Dayloz 2012-05-15 05:09:50
Link | Quote | Reply
 
Sylph.Hitetsu said: »
Code xml
<if mode="and" hpplt="75" status="engaged">
<equip when="aftercast"><legs Lock="True">Koga Hakama +2</legs></equip>
<equip when="aftercast"><legs Lock="True">Shinobi Ring</legs></equip>
</if>
<else>
<equip when="aftercast"><legs Lock="True">Iga Hakama +2</legs></equip>
<equip when="aftercast"><legs Lock="True">Rajas Ring</legs></equip>
</else>


Using the code Sek posted, change the first line to what I changed it to and you should be fine.

How do you change that coding so that it would swap the Rajas in only when engaged? so therefor if i was below or above 75% HP it would still put me back into my Idle set if i was idle. And not the Shinobi or Rajas.

Reference my XML i posted.
 Sylph.Hitetsu
Offline
Server: Sylph
Game: FFXI
user: Hitetsu
Posts: 2617
By Sylph.Hitetsu 2012-05-15 05:53:08
Link | Quote | Reply
 
Find:
Code xml
<equip when="idle" set="$DawnOrDusk$GrpIdle" />         <!-- Which set to equip when Idle -->
<equip when="engaged" set="$DayOrNight$GrpEngaged" />   <!-- Which set to equip when Engaged -->


And add this between it and <if Ninjutsu>:
Code xml
<if status="engaged">
	<if mode="and" hpplt="75">
		<equip when="engaged|aftercast"><legs Lock="True">Koga Hakama +2</legs></equip>
		<equip when="engaged|aftercast"><lring Lock="True">Shinobi Ring</lring></equip>
	</if>
	<else>
		<equip when="engaged|aftercast"><legs Lock="True">Iga Hakama +2</legs></equip>
		<equip when="engaged|aftercast"><lring Lock="True">Rajas Ring</lring></equip>
	</else>
</if>


That way, it'll check to make sure you're Engaged when you perform an action, then it'll check your HP. When you engage it should check your HP and swap out if needed, when you cast it should do the same (you'll have to change the gear names if you're not using Iga+2 any more btw)
Log in to post.