BLM Staff Spellcast Help

Eorzea Time
 
 
 
言語: JP EN FR DE
日本語版のFFXIVPRO利用したい場合は、上記の"JP"を設定して、又はjp.ffxivpro.comを直接に利用してもいいです
users online
フォーラム » Windower » Spellcast Scripting » Black Mage » BLM Staff Spellcast Help
BLM Staff Spellcast Help
Bug Hunter
Offline
Posts: 31382
By somebodyloved 2013-07-18 20:19:37  
Hey all,

For some reason, my spellcast isn't allowing to change staves. I tried to cast Stone V but my Thunder Staff stays the same...

Is there a patch or something I can do to fix this?
 Bahamut.Bekisa
Offline
サーバ: Bahamut
Game: FFXI
Posts: 596
By Bahamut.Bekisa 2013-07-18 20:29:42  
best to paste a copy of your spellcast xml here so we can see where the mistake is. It could honestly be hundreds of places and without seeing it we'd be just taking shots in the dark at finding it :)
 Asura.Kingnobody
Bug Hunter
Offline
サーバ: Asura
Game: FFXI
Posts: 31308
By Asura.Kingnobody 2013-07-19 08:54:46  
Code
<?xml version="1.0" encoding="UTF-8"?>

<spellcast>

<config RequireVersion="2.45" ShowGearSwaps="false" Debug="false" ShowSpellInfo="false"/>
<variables>
<!-- Elemental Staffs, input what staff to use for each element here -->
<var name="IceStaff">Vourukasha I</var>
<var name="DarkStaff">Pluto's Staff</var>
<var name="ThunderStaff">Apamajas I</var>
<var name="WindStaff">Auster's Staff</var>
<var name="FireStaff">Atar I</var>
<var name="EarthStaff">Terra's Staff</var>
<var name="LightStaff">Surya's Staff +2</var>
<var name="WaterStaff">Neptune's Staff</var>
<!-- Elemental Obi's, set to 1 for the ones you have. -->
<var name="DarkObi">1</var>
<var name="LightObi">1</var>
<var name="ThunderObi">1</var>
<var name="IceObi">1</var>
<var name="FireObi">1</var>
<var name="WindObi">1</var>
<var name="WaterObi">1</var>
<var name="EarthObi">1</var>
<!-- Elemental Grips, set to 1 for each you have -->
<var name="LightGrip">0</var>
<var name="DarkGrip">0</var>
<var name="ThunderGrip">0</var>
<var name="IceGrip">0</var>
<var name="FireGrip">0</var>
<var name="WindGrip">0</var>
<var name="WaterGrip">0</var>
<var name="EarthGrip">0</var>
<!-- use Ugg Pendant or not? set to 0 if you do not have it. -->
<var name="UggPendant">1</var>
<!-- use Sorc ring or not? set to 0 if you do not have it -->
<var name="Ring">0</var>
<!-- use Twilight Cape or not? set to 0 if you do not have it -->
<var name="Twilight Cape">1</var>
<!-- use BLM AF2 pants or not? Set to 0 if you do not have it -->
<var name="BLMAF2Pants">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">765</var>
<var name="SCHRingHP">842</var>
<var name="WHMRingHP">729</var>
<var name="NINRingHP">765</var>
</variables>
<sets>
<group default="Moldtech" name="BLM">
<set name="Idle">
<sub>Wise Strap</sub>
<ammo>Witchstone</ammo>
<head>Wivre Hairpin</head>
<neck>Stoicheion Medal</neck>
<lear>Moonshade Earring</lear>
<rear>Novio Earring</rear>
<body>Goetia Coat +2</body>
<hands>Serpentes Cuffs</hands>
<lring>Icesoul Ring</lring>
<rring>Strendu Ring</rring>
<back>Searing Cape</back>
<waist>Cognition Belt</waist>
<legs>Stearc Subligar</legs>
<feet>Serpentes Sabots</feet>
</set>

<set name="Resting" BaseSet="Idle">
<main>$DarkStaff</main>
<sub>Ariesian Grip</sub>
<ammo>Clarus Stone</ammo>
<head>Oracle's Cap</head>
<neck>Eidolon Pendant</neck>
<lear>Relaxing Earring</lear>
<rear>Antivenom Earring</rear>
<body>Wizard's Coat +1</body>
<hands>Oracle's Gloves</hands>
<lring>Star Ring</lring>
<rring>Star Ring</rring>
<back>Felicitas Cape</back>
<waist>Austerity Belt</waist>
<legs>Stearc Subligar</legs>
<feet>Oracle's Pigaches</feet>
</set>

<set name="FastCast">
<lear>Loquacious Earring</lear>
<neck>Orunmila's Torque</neck>
<feet>Rostrum Pumps</feet>
</set>

<set name="MinusHP">
<head>Zenith Crown</head>
<hands>Zenith Mitts</hands>
<legs>Zenith Slacks</legs>
<feet>Zenith Pumps</feet>
<lring>Bifrost Ring</lring>
<rring>Serket Ring</rring>
</set>

<set name="FullDamage" BaseSet="Idle">
<main lock="true">$%SpellElementStaff</main>
<sub>Wise Strap</sub>
<ammo>Witchstone</ammo>
<head>Goetia Petasos +2</head>
<neck>Stoicheion Medal</neck>
<lear>Hecate's Earring</lear>
<rear>Novio Earring</rear>
<hands>Goetia Gloves +2</hands>
<lring>Icesoul Ring</lring>
<rring>Strendu Ring</rring>
<back>Searing Cape</back>
<waist>Cognition Belt</waist>
<legs>Goet. Chausses +2</legs>
<feet>Goetia Sabots +1</feet>
</set>
<set name="Resist" BaseSet="FullDamage">
<main lock="true">$%SpellElementStaff</main>
<neck>Aesir Torque</neck>
<body>Anhur Robe</body>
</set>
<set name="Meteor" BaseSet="FullDamage">
<main lock="true">Pluto's Staff</main>
<sub>Wise Strap</sub>
<ammo>Witchstone</ammo>
<head>Goetia Petasos +2</head>
<neck>Aesir Torque</neck>
<lear>Hecate's Earring</lear>
<rear>Novio Earring</rear>
<body>Anhur Robe</body>
<hands>Wizard's Gloves</hands>
<lring>Icesoul Ring</lring>
<rring>Strendu Ring</rring>
<back>Romanus Cape</back>
<waist>Othila Sash</waist>
<legs>Goet. Chausses +2</legs>
<feet>Goetia Sabots +1</feet>
</set>
<set name="Impact" BaseSet="FullDamage">
<main lock="true">$%SpellElementStaff</main>
<sub>Wise Strap</sub>
<ammo>Erlene's Notebook</ammo>
<head lock="true">None</head>
<neck>Stoicheion Medal</neck>
<lear>Hecate's Earring</lear>
<rear>Strophadic Earring</rear>
<body lock="true">Twilight Cloak</body>
<hands>Goetia Gloves +2</hands>
<lring>Omega Ring</lring>
<rring>Strendu Ring</rring>
<back>Romanus Cape</back>
<waist>Othila Sash</waist>
<legs>Goetia Chausses +2</legs>
<feet>Goetia Sabots +2</feet>
</set>
<set name="Dark">
<main>$%SpellElementStaff</main>
<sub>Caecus Grip</sub>
<ammo>Erlene's Notebook</ammo>
<head>Appetence Crown</head>
<neck>Aesir Torque</neck>
<lear>Hecate's Earring</lear>
<rear>Strophadic Earring</rear>
<body>Goetia Coat +2</body>
<hands>Sorcerer's Gloves</hands>
<lring>Omega Ring</lring>
<rring>Strendu Ring</rring>
<back>Romanus Cape</back>
<waist>Othila Sash</waist>
<legs>Wizard's Tonban</legs>
<feet>Goetia Sabots +1</feet>
</set>
<set name="DrainAspir" BaseSet="Dark">
<main>Bounty Sickle</main>
<rear>Hirudinea Earring</rear>
</set>

<set name="Enfeebling" BaseSet="Idle">
<main lock="true">$%SpellElementStaff</main>
<sub>Macero Grip</sub>
<head>Igqira Tiara</head>
<neck>Stoicheion Medal</neck>
<lear>Magnetic Earring</lear>
<lring>Omega Ring</lring>
<body>Wizard's Coat +1</body>
<hands>Oracle's Gloves</hands>
<rring>Strendu Ring</rring>
<legs>Igqira Lappas</legs>
<feet>Goetia Sabots +1</feet>
</set>
<set name="EnfINT" BaseSet="Enfeebling">
<back>Romanus Cape</back>
</set>
<set name="EnfMND" BaseSet="Enfeebling">
</set>

<set name="Enhancing" BaseSet="Healing"/>

<set name="Healing" BaseSet="Idle"/>	

<set name="Divine" BaseSet="Idle"/>

<!-- GearCollector Sets: This Section Of Sets Is For Force Collecting With GearCollector ONLY -->
<set name="GearCollector">
<main>Arka IV</main>
<main>Pluto's Staff</main>
<main>Neptune's Staff</main>
<main>Terra's Staff</main>
<main>Apamajas I</main>
<main>Vourukasha I</main>
<main>Atar I</main>
<main>Auster's Staff</main>
<waist>Anrin Obi</waist>
<waist>Rairin Obi</waist>
<waist>Hyorin Obi</waist>
<waist>Karin Obi</waist>
<waist>Furin Obi</waist>
<waist>Dorin Obi</waist>
<waist>Suirin Obi</waist>
<waist>Korin Obi</waist>
<rring>Sorcerer's Ring</rring>
<back>Twilight Cape</back>
<legs>Sorcerer's Tonban</legs>
</set>

</group>
</sets>
<rules>
<command>input /macro book 1</command>
<action type="equip" when="Idle|aftercast" set="Idle" />
<action type="equip" when="Resting" set="Resting" />
<!-- Self Buff Retargeting Rule -->
<if SpellTargetType="MONSTER" NotValidTarget="*Enemy*" ValidTarget="*Self*">
<action type="changetarget" target="<me>" />
</if>	
<if SpellTargetType="NONE" ValidTarget="*Self*">
<action type="changetarget" target="<me>" />
</if>	
<!-- Elemental Grip to Spell Check -->	
<if mode="OR" NotSkill="ElementalMagic|EnhancingMagic|HealingMagic" Spell="Frost|Drown|Rasp|Burn|Shock|Choke" SpellTargetName="Tiamat|Genbu|Suzaku|Seiryu|Byakko|Kirin|Jormungand|Ouryu|Vrtra|Cerberus|Khimaira|Fafnir|Nidhogg|Aspidochelone|King Behemoth|Tinnin|Sarameya|Tyger|Jailer of Love">
<if Advanced='"$%SpellElementGrip" == "1"'>
<action type="equip" when="midcast">
<sub lock="true">%SpellElement Grip</sub>
</action>
</if>
</if>
<!-- Special Rules for Stun/Drain/Aspir and Non-Stat Required Spells -->	

<if Spell="Escape|Warp|Warp II|Retrace|Teleport-*|Reraise|Tractor|Recall*"><action type="return" /></if>

<!-- Spell Filtering for Gear Swaps -->
<if Skill="*Magic">
<if notspell="Impact|Drain|Aspir*|Stun|Meteor">
<action type="equip" when="precast" set="FastCast" />
<if Skill="EnfeeblingMagic">
<action type="midcastdelay" delay="1" />
<if type="BlackMagic">
<action type="equip" when="midcast" set="EnfINT"/>
</if>
<elseif type="WhiteMagic">
<action type="equip" when="midcast" set="EnfMND"/>
</elseif>
</if>
<elseif Skill="ElementalMagic">
<action type="midcastdelay" delay="1" />
<!-- DOT Set -->
<if Spell="Frost|Drown|Rasp|Burn|Shock|Choke">
<action type="equip" when="precast|midcast" Set="Resist" />	
</if>

<else>
<!-- Selective Target Nuking Set (Elemental Seal NOT Active Resistance Set) -->
<if SpellTargetName="Tiamat|Genbu|Suzaku|Seiryu|Byakko|Kirin|Jormungand|Vrtra|Cerberus|Khimaira|Tyger|Jailer of Love|Sarameya|Fafnir|Nidhogg|Aspidochelone|King Behemoth|Tinnin|Ouryu|Lambton Worm|Sandworm|Guivre|King Arthro|Serket" NotBuffActive="Elemental Seal">
<action type="equip" when="precast|midcast" Set="Resist" >
<neck lock="true">Aesir Torque</neck>
<lring lock="true">Omega Ring</lring>
</action>	
</if>
<!-- Normal mob, go full damage gear. -->
<else>
<action type="equip" when="precast|midcast" Set="FullDamage" />	
</else>
<!-- Uggalepih Pendant Rule -->
<if MPLT="570" Advanced="$UggPendant==1">
<action type="equip" when="midcast">
<neck lock="yes">Uggalepih Pendant</neck>
</action>
</if>
</else>
<!-- Sorcerer's Ring Rule (Support Job Variables Pre-Set) -->
<if advanced='$Ring == 1'>
<!-- Sorcerer's Ring HP Latent Check and Activation -->
<if Advanced='"$%SubJobRingHP" !="\$%SubJobRingHP"'>
<if Advanced='%HP > $%SubJobRingHP'>
<action type="equip" when="precast" set="MinusHP" />
</if>
</if>
<else>
<action type="equip" when="precast" set="MinusHP" />
</else>
<action type="equip" when="midcast">
<lring>Sorcerer's Ring</lring>
</action>
</if>
</elseif>	
<elseif Skill="DarkMagic">
<if notspell="Drain|Aspir*|Impact|Stun">
<action type="midcastdelay" delay="1" />
<action type="equip" when="midcast" set="Dark"/>
</if>
</elseif>
<elseif Skill="HealingMagic">
<return/>
</elseif>
<elseif Skill="EnhancingMagic">
<return/>
</elseif>
<elseif Skill="DivineMagic">
<return/>
</elseif>
</if>
<elseif spell="Impact" notspell="Meteor|Drain|Aspir*|Stun">
<action type="midcastdelay" delay="1" />
<action type="equip" when="precast|midcast" set="Impact"/>
<!-- Sorcerer's Ring Rule (Support Job Variables Pre-Set) -->
<if advanced='$Ring == 1'>
<!-- Sorcerer's Ring HP Latent Check and Activation -->
<if Advanced='"$%SubJobRingHP" !="\$%SubJobRingHP"'>
<if Advanced='%HP > $%SubJobRingHP'>
<action type="equip" when="precast" set="MinusHP" />
</if>
</if>
<else>
<action type="equip" when="precast" set="MinusHP" />
</else>
<action type="equip" when="midcast">
<lring>Sorcerer's Ring</lring>
</action>
</if>
</elseif>
<elseif Spell="Stun" notspell="Impact|Drain|Aspir*|Impact">
<action type="midcastdelay" delay="1" />
<action type="equip" when="precast|midcast" set="Dark"/>
</elseif>
<elseif Spell="Drain|Aspir*" notspell="Impact|Meteor|Stun">
<action type="midcastdelay" delay="1" />
<action type="equip" when="precast|midcast" Set="DrainAspir" />
<!-- Sorcerer's Ring Rule (Support Job Variables Pre-Set) -->
<if advanced='$Ring == 1'>
<!-- Sorcerer's Ring HP Latent Check and Activation -->
<if Advanced='"$%SubJobRingHP" !="\$%SubJobRingHP"'>
<if Advanced='%HP > $%SubJobRingHP'>
<action type="equip" when="precast" set="MinusHP" />
</if>
</if>
<else>
<action type="equip" when="precast" set="MinusHP" />
</else>
<action type="equip" when="midcast">
<lring>Sorcerer's Ring</lring>
</action>
</if>
</elseif>
<elseif Spell="Meteor" notspell="Impact|Drain|Aspir*|Stun">
<action type="midcastdelay" delay="1" />
<action type="equip" when="precast|midcast" Set="Meteor" />
<!-- Sorcerer's Ring Rule (Support Job Variables Pre-Set) -->
<if advanced='$Ring == 1'>
<!-- Sorcerer's Ring HP Latent Check and Activation -->
<if Advanced='"$%SubJobRingHP" !="\$%SubJobRingHP"'>
<if Advanced='%HP > $%SubJobRingHP'>
<action type="equip" when="precast" set="MinusHP" />
</if>
</if>
<else>
<action type="equip" when="precast" set="MinusHP" />
</else>
<action type="equip" when="midcast">
<lring>Sorcerer's Ring</lring>
</action>
</if>
</elseif>	
</if>
<action type="equip" when="midcast">
				<main>$%SpellElementStaff</main>
</action>
<!-- Handle Elemental Obi's -->
<if Advanced='("%SpellElement" = "%WeatherElement" OR "%SpellElement" = "%DayElement") AND "$%SpellElementObi" = "1"' notspell="Meteor">
<action type="equip" when="midcast"><back lock="yes">Twilight Cape</back></action>
<if Element="Dark"><action type="equip" when="midcast"><waist lock="yes">Anrin Obi</waist></action></if>
<elseif Element="Light"><action type="equip" when="midcast"><waist lock="yes">Korin Obi</waist></action></elseif>
<elseif Element="Thunder"><action type="equip" when="midcast"><waist lock="yes">Rairin Obi</waist></action></elseif>
<elseif Element="Ice"><action type="equip" when="midcast"><waist lock="yes">Hyorin Obi</waist></action></elseif>
<elseif Element="Fire"><action type="equip" when="midcast"><waist lock="yes">Karin Obi</waist></action></elseif>
<elseif Element="Wind"><action type="equip" when="midcast"><waist lock="yes">Furin Obi</waist></action></elseif>
<elseif Element="Water"><action type="equip" when="midcast"><waist lock="yes">Suirin Obi</waist></action></elseif>
<elseif Element="Earth"><action type="equip" when="midcast"><waist lock="yes">Dorin Obi</waist></action></elseif>
</if>
<!-- Handle AFv2 Pants & Twilight Cape, but do not equip pants if we already have Weather x2 and day bonuses from obi alone as obi alone hits the 35% damage cap. -->
<if Advanced='(!((bool)strmatch("* x2","%Weather") AND "%WeatherElement" = "%SpellElement" AND "$%SpellElementObi" = "1") OR !("%WeatherElement" = "%SpellElement")) AND ("%SpellElement" = "%DayElement" AND "$BLMAF2Pants" = "1") AND ("%skill"="ElementalMagic")' notspell="Meteor">
<action type="midcastdelay" delay=".8" />
<action type="equip" when="midcast">
<legs lock="yes">Sorcerer's Tonban</legs>
<back lock="yes">Twilight Cape</back>
</action>
</if>
</rules>
</spellcast>
 Carbuncle.Valflux
Offline
サーバ: Carbuncle
Game: FFXI
user: Valflux
Posts: 36
By Carbuncle.Valflux 2013-07-19 09:00:50  
Or you could just put your staves in macros and be done with it, instead of being lazy.
 Asura.Kingnobody
Bug Hunter
Offline
サーバ: Asura
Game: FFXI
Posts: 31308
By Asura.Kingnobody 2013-07-19 09:04:12  
20 macros but how many different elemental spells?

I would like my Terra's Staff to equip when I cast Stone III, not just Stone V
 Asura.Kingnobody
Bug Hunter
Offline
サーバ: Asura
Game: FFXI
Posts: 31308
By Asura.Kingnobody 2013-07-19 16:42:01  
shameless bump
 Ragnarok.Deathshift
Offline
サーバ: Ragnarok
Game: FFXI
Posts: 90
By Ragnarok.Deathshift 2013-07-19 16:59:09  
I'm not really noticing anything that wouldn't cause it to not change. Is it equipping your thunder staff instead of your earth staff?
Does it work for other spells?
If anything, the only thing I really notice that could be messing it up is having the staff locked. I've never needed to use that for my spellcast.
 Asura.Kingnobody
Bug Hunter
Offline
サーバ: Asura
Game: FFXI
Posts: 31308
By Asura.Kingnobody 2013-07-19 21:44:42  
It wouldn't change staffs at all. I would be nuking in whatever staff I had on last, so...yeah.

I'll get rid of the staff lock. Lets see how that works.