BLM Spellcast: Forcing Different Latents

Eorzea Time
 
 
 
Language: JP EN FR DE
users online
Forum » FFXI » Jobs » Black Mage » BLM Spellcast: Forcing different latents
BLM Spellcast: Forcing different latents
 Sylph.Hitetsu
Offline
Server: Sylph
Game: FFXI
user: Hitetsu
Posts: 2617
By Sylph.Hitetsu 2010-06-26 16:30:21
Link | Quote | Reply
 
I'm looking to tweak my spellcast to force the latent on both my U Pendant and Sorc Ring.

Atm my spellcast will force U pendant (or Sorc Ring if I choose for it to), but not both.


The way it's set up atm will:

Force U Pendant
Wait 5sec
Switch to nuking gear (without Sorc Ring latent)


Alternatively, I can make it:

Force Sorc ring
Switch to nuking gear

but I'm looking for a way to make it do both ; ;

Anyone have any suggestions?
Force latents section of my spellcast
 Ramuh.Dasva
Offline
Server: Ramuh
Game: FFXI
user: dasva
Posts: 40469
By Ramuh.Dasva 2010-06-26 16:32:35
Link | Quote | Reply
 
Out of curiousity why do you want to litterally piss away 50% of your mp doing nothing?
 Sylph.Hitetsu
Offline
Server: Sylph
Game: FFXI
user: Hitetsu
Posts: 2617
By Sylph.Hitetsu 2010-06-26 16:34:39
Link | Quote | Reply
 
In my case it's more a case of ~100MP XD After I cast I'm left just shy of 50% (normally around 47%) if I can lose that 100MP ish at the start.
 Ramuh.Dasva
Offline
Server: Ramuh
Game: FFXI
user: dasva
Posts: 40469
By Ramuh.Dasva 2010-06-26 16:37:50
Link | Quote | Reply
 
Damn wtf is up with your mp?

Half the time soloing puddings if I start at full mp I won't hit ugg pendant before I kill them unless I get resist or don't aspir
 Sylph.Hitetsu
Offline
Server: Sylph
Game: FFXI
user: Hitetsu
Posts: 2617
By Sylph.Hitetsu 2010-06-26 16:39:22
Link | Quote | Reply
 
XD

I have 739MP in my max damage gear, need to drop it to 663 or less to force U Pendant after an AM2. I know they aren't the most MP efficient nukes, but they work well for what I'm playing around with atm.
 Lakshmi.Greggles
Offline
Server: Lakshmi
Game: FFXI
user: Greggles
Posts: 728
By Lakshmi.Greggles 2010-06-26 17:00:03
Link | Quote | Reply
 
You could do two dummy commands. Say Chivalry and Feint.

Your Chivalry macro could be your sorc latent and your Feint macro could be your Ugga force macro. In which cases, it would look like this

<if Spell="Chivalry">
<if MPPGT="50">
<equip when="precast" set="ForceUgga" />
<cancelspell />
<return />
</equip>
</if>
<elseif Spell="Feint">
<if HPGT="WhateverNumberYouNeedForSorcLatent">
<equip when="precast" set="ForceSorc" />
<cancelspell />
<return />
</if>
</elseif>

As far as I know, you can't really do them both in precast or something will end up going wonky, but if someone has a better way to go about it, go for it^^
You could also specify an exact MP value for the Force Ugga set if you really wanted, just change MPPLT to MPGT.

**edit** sorry, spacing went all crazy -.- hope it's readable.
 Sylph.Hitetsu
Offline
Server: Sylph
Game: FFXI
user: Hitetsu
Posts: 2617
By Sylph.Hitetsu 2010-06-26 17:05:04
Link | Quote | Reply
 
I'm only trying to force 1 of them Precast though. U Pendant pre, Sorc Ring mid then tag on my Max Damage gear just before the nuke fires off (another midcast change).

The problem is, it seems to be missing my Sorc Ring change and going straight from U Pendant > Nuking gear.

Looks like I'll just have to make a Sorc Ring / U Pendant gear macro and have it run through that before my nuking gear kicks in. XD

 Ramuh.Dasva
Offline
Server: Ramuh
Game: FFXI
user: dasva
Posts: 40469
By Ramuh.Dasva 2010-06-26 17:07:39
Link | Quote | Reply
 
Maybe get rid of the advanced stuff and always do the precast gear change see if that works? Or kill that if part of the equipping ugg pendant since the entire point of your set is to make it always active
 Carbuncle.Virtuosus
Offline
Server: Carbuncle
Game: FFXI
user: Virtuosus
Posts: 683
By Carbuncle.Virtuosus 2010-06-26 17:09:14
Link | Quote | Reply
 
Variables:
Quote:
<variables>
<!-- Sleep timers, announces to chat when sleep is wearing off. Set to 0 to not use. -->
<!-- (note: this is sort of very obvious usage of 3rd party programs, so turn off when around people you dont trust -->
<var name="SleepTimers">0</var>
<!-- use BLM AF2 pants or not? Set to 0 if you do not have it -->
<var name="BLMAF2Pants">0</var>
<!-- use Sorc ring or not? set to 0 if you do not have it or dangerous location -->
<var name="Ring">1</var>
<!-- use Ugg Pendant or not? set to 0 if you do not have it. -->
<var name="UggPendant">1</var>
<!-- Set HP Variables for what the maximum amount of HP you can have to trigger sorc ring is for each subjob -->
<var name="RDMRingHP">758</var>
<var name="WHMRingHP">735</var>

Sets:
Quote:
<set name="MinusHP">
</set>

Rules:
Quote:
<if Skill="*Magic">
<!-- if this is elemental magic (nukes/dot's, then do special handling -->
<if Skill="ElementalMagic">
<precastdelay delay="0.5"/>
<if Spell="Frost|Drown|Rasp|Burn|Shock|Choke">
<!-- equip elemental/INT gear for DoT's -->
<equip when="precast|midcast" Set="INT" />
</if>
<else>
<!-- this is an actual nuke. Check target to be a known high resist mob (and that ES is not active) -->
<if SpellTargetName="Tiamat|Genbu|Suzaku|Seiryu|Byakko|Kirin|Jormungand|Vrtra|Cerberus|Khimaira|Tyger|Jailer of Love|Sarameya|Ouryu" NotBuffActive="Elemental Seal">
<equip when="precast|midcast" Set="HighResist" />
</if>
<else>
<!-- if mob is not high resist, is it a mid resist mob? -->
<if SpellTargetName="Fafnir|Nidhogg|Aspidochelone|King Behemoth|Tinnin" NotBuffActive="Elemental Seal">
<equip when="precast|midcast" Set="MidResist" />
</if>
<else>
<!-- Normal mob, go full damage gear. -->
<if mode="or" Area="Dynamis *|Hazhalm*" SpellTargetName="Lambton Worm|Sandworm|Guivre|King Arthro|Serket">
<if NotBuffActive="Elemental Seal">
<equip when="precast|midcast" Set="LightResist" />
</if>
<else>
<equip when="precast|midcast" Set="FullDamage" />
</else>
</if>
<else>
<equip when="precast|midcast" Set="FullDamage" />
</else>
<!-- only equip pendant in situations you would equip full damage gear -->
<if MPPAfterCastLT="50" Advanced="$UggPendant==1">
<equip when="midcast">
<neck lock="yes">Uggalepih Pendant</neck>
</equip>
</if>
</else>
<!-- check for Sorc Ring if mid or low resist mob. HP values to compare to are in variables above. -->
<if advanced='$Ring == 1'>
<!-- make sure we have an HP variable set for current subjob -->
<!--if Advanced='"$%SubJobRingHP" !="\$%SubJobRingHP"'-->
<if Advanced='%HP > $%SubJobRingHP'>
<!-- if you have too much HP at the time of casting, equip minus hp -->
<equip set="MinusHP" />
</if>
<!--/if-->
<!--else>
<!-- if no HP amount is specified for the current subjob, just always equip minushp as precast -->
<!--equip set="MinusHP" />
<!--/else-->
<equip when="midcast">
<lring>Sorcerer's Ring</lring>
</equip>
</if>
</else>
</else>
</if>

Works perfectly fine for me, working off Aikar's XML. Those are the bits with ugga/sorc involved. Although, my XML has alot of custom ***added in, and it's nothing near the same to what Aikar's is as I've edited it in so many diff. ways over time, but feel free to go to the templates on the windower site and use his, it works great.
 Lakshmi.Greggles
Offline
Server: Lakshmi
Game: FFXI
user: Greggles
Posts: 728
By Lakshmi.Greggles 2010-06-26 17:11:52
Link | Quote | Reply
 
Er...O.o...

Best way I think you could handle that is with a script...
<if Skill="ElementalMagic">
<equip when="precast" set="UggaForce" />
<equip when="midcast" set="SorcForce" />
<command when="midcast">wait 2; exec BLMNuke.txt</command>
</if>

The wait command can be as long as you need it; I'm fairly sure 2 is enough to get the nuke set equipped during midcast but, you probably would have to play around with it
 Sylph.Hitetsu
Offline
Server: Sylph
Game: FFXI
user: Hitetsu
Posts: 2617
By Sylph.Hitetsu 2010-06-26 17:14:58
Link | Quote | Reply
 
I'm using Aikar's myself and I've changed a lot of bits myself (nothing major, mostly a bit of /SCH handling and some ToM gearswaps). What I'm aiming to do though is 2 midcast swaps.


That didn't work either Dasva ><

EDIT: That's what I was just thinking Greg; going to give it a shot now~
 Ramuh.Dasva
Offline
Server: Ramuh
Game: FFXI
user: dasva
Posts: 40469
By Ramuh.Dasva 2010-06-26 17:17:37
Link | Quote | Reply
 
That's weird. I mean what I suggested was pretty much like a normal spellcast set except instead of the normal fast cast stuff on precast instead it's just some convert gear...

Oh I see maybe. Is it actually doing all the equip changes but the mp and hp aren't where they should be at the end?
 Sylph.Hitetsu
Offline
Server: Sylph
Game: FFXI
user: Hitetsu
Posts: 2617
By Sylph.Hitetsu 2010-06-26 17:19:59
Link | Quote | Reply
 
It's doing all the U Pendant changes, so my MP lands on 647 (to force me into latent for aftercast), but it isn't switching my Sorc Gear in after it's done my U pendant gear. This means I'm ending up with ~970 HP instead of ~780 ><

Then just 1sec before my nuke's due to go off, it puts all my nuking gear on.
 Lakshmi.Greggles
Offline
Server: Lakshmi
Game: FFXI
user: Greggles
Posts: 728
By Lakshmi.Greggles 2010-06-26 17:22:59
Link | Quote | Reply
 
O.o really? Okay, put a midcast delay in there. Your problem probably is that it switches from precast to midcast gear too fast or something.

Try:
<if Skill="ElementalMagic">
<midcastdelay delay="2" />
<equip when="precast" set="UggaForce" />
<equip when="midcast" set="SorcForce" />
<command when="midcast">wait 2;Exec BLMNuke.txt</command>
</if>

Make sure to substitute set names etc or it won't work
 Ramuh.Dasva
Offline
Server: Ramuh
Game: FFXI
user: dasva
Posts: 40469
By Ramuh.Dasva 2010-06-26 17:27:57
Link | Quote | Reply
 
Yeah switching from one convert to another too quickly does weird stuff even with normal maccros
 Sylph.Hitetsu
Offline
Server: Sylph
Game: FFXI
user: Hitetsu
Posts: 2617
By Sylph.Hitetsu 2010-06-26 17:33:36
Link | Quote | Reply
 
Mmk, making it use an external script file to force my Nuking gear after my Sorc Ring latent gear works, which is fine and dandy for me! XD


I'll keep playing around with it after I'm done making sure it works properly XD


Thanks everyone for your help and suggestions! <3
 Lakshmi.Greggles
Offline
Server: Lakshmi
Game: FFXI
user: Greggles
Posts: 728
By Lakshmi.Greggles 2010-06-26 17:45:46
Link | Quote | Reply
 
So, it's working and what not?
 Quetzalcoatl.Sectumsempra
Offline
Server: Quetzalcoatl
Game: FFXI
user: Sect
Posts: 3987
By Quetzalcoatl.Sectumsempra 2010-06-26 17:52:25
Link | Quote | Reply
 
Lakshmi.Greggles said:
Er...O.o...

Best way I think you could handle that is with a script...
<if Skill="ElementalMagic">
<equip when="precast" set="UggaForce" />
<equip when="midcast" set="SorcForce" />
<command when="midcast">wait 2; exec BLMNuke.txt</command>
</if>

The wait command can be as long as you need it; I'm fairly sure 2 is enough to get the nuke set equipped during midcast but, you probably would have to play around with it
What's the point of using spellcast if you're going to make sloppy code or do stupid things like include windower files? -_-
 Sylph.Hitetsu
Offline
Server: Sylph
Game: FFXI
user: Hitetsu
Posts: 2617
By Sylph.Hitetsu 2010-06-26 17:52:25
Link | Quote | Reply
 
From the looks of it yeah.

New spellcast section for anyone interested XD

nuke.txt just has my standard nuking gear in (with the exception of my Neck piece)
 Lakshmi.Greggles
Offline
Server: Lakshmi
Game: FFXI
user: Greggles
Posts: 728
By Lakshmi.Greggles 2010-06-26 18:03:51
Link | Quote | Reply
 
It was just a suggestion, I don't actually do any of those things...lol. Why do you care if it's sloppy if it does its job?

How would you go about it?
 Ramuh.Dasva
Offline
Server: Ramuh
Game: FFXI
user: dasva
Posts: 40469
By Ramuh.Dasva 2010-06-26 18:07:57
Link | Quote | Reply
 
I still don't like it. Just further compounds AM2s ineffiecncy.

If you didn't do that you could litterally cast 2 T4 nukes and still have another 40 or more mp lol.

Or to put it another way that 8 MAB will only add around what 60-70 dmg (unless weather/day staff better than HQ or dmg mods) to your AM2 by killing 100mp.

With that mp you could almost cast a T3 for say about 750 given same circumstances and bring you into ugg pendant range.
 Lakshmi.Greggles
Offline
Server: Lakshmi
Game: FFXI
user: Greggles
Posts: 728
By Lakshmi.Greggles 2010-06-26 18:17:25
Link | Quote | Reply
 
So, you're going to bash me on my code and not suggest how to make it better? :/
 Sylph.Hitetsu
Offline
Server: Sylph
Game: FFXI
user: Hitetsu
Posts: 2617
By Sylph.Hitetsu 2010-06-26 18:18:27
Link | Quote | Reply
 
I completely agree Das. I'm only playing around with it to see if I can one-shot the Demon's Elemental's near Castle Zvahl. (T4 leaves them just short of dying, so I'm forced to use AM2 to ensure I don't die >_>;)
 Ramuh.Dasva
Offline
Server: Ramuh
Game: FFXI
user: dasva
Posts: 40469
By Ramuh.Dasva 2010-06-26 18:20:14
Link | Quote | Reply
 
Ah I see. Still haven't tried them out. Been busy doing trials. Got my thunder dmg one finished but wont turn it in since blm is still 75. It's still more dmg right now as is though.
 Garuda.Antipika
Offline
Server: Garuda
Game: FFXI
user: Antipika
Posts: 1339
By Garuda.Antipika 2010-06-26 19:00:31
Link | Quote | Reply
 
Quetzalcoatl.Sectumsempra said:
The wait command can be as long as you need it; I'm fairly sure 2 is enough to get the nuke set equipped during midcast but, you probably would have to play around with it
What's the point of using spellcast if you're going to make sloppy code or do stupid things like include windower files? -_-

You are still forced to use Windower script if you want to control the order of gear change. That cannot be done through spellcast natively.

As for your issue I don't really get it.

Have S.ring set on your nuke set natively. Only use a single -if- for uggy pendant when required.

And then if you do not want to use S.ring while nuking on certain monsters, have a separate if rule based on target name.