Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Yea I was kinda half asleep when I wrote that. Here's the parts I greatly enjoy:
- [spoiler][code]<?xml Version="1.0" ?>
- <spellcast>
- <config RequireVersion="2.21"/>
- <variables Clear="True">
- <!--Do not change these-->
- <var Name="ChangeAddendum">0</var>
- <var Name="ChangeArt">0</var>
- <var Name="StratagemPrep">0</var>
- <var Name="StratagemConserveMP">0</var>
- <var Name="StratagemFastCast">0</var>
- <var Name="StratagemAreaEffect">0</var>
- <var Name="StratagemPotency">0</var>
- <!--Set these to 1 if you want Spellcast to automatically change your Arts and Addendum to match the spell you're using, otherwise set to 0-->
- <var Name="AutomaticArts">0</var>
- <var Name="AutomaticAddendum">1</var>
- <!--Set this to 1 if you want Stratagems to be queued and automatically used before a spell, otherwise set to 0 (Recommended if using Automatic Arts/Addendums)-->
- <var Name="QueueStratagems">1</var>
- </variables>
- <rules>
- <!--Queues up Stratagems for use before spells if enabled-->
- <if Spell="Accession|Alacrity|Celerity|Ebullience|Manifestation|Parsimony|Penury|Rapture">
- <if Advanced="$QueueStratagems=1 AND $StratagemPrep=0">
- <if Spell="Parsimony|Penury">
- <if Advanced="$StratagemConserveMP=0">
- <action Type="Var" cmd="set StratagemConserveMP 1"/>
- <action Type="AddtoChat" Color="121">[Penury/Parsimony: Enabled] Reduces the MP cost of your next spell by 50%.</action>
- </if>
- <else>
- <action Type="Var" cmd="set StratagemConserveMP 0"/>
- <action Type="AddtoChat" Color="121">[Penury/Parsimony: Disabled]</action>
- </else>
- </if>
- <if Spell="Alacrity|Celerity">
- <if Advanced="$StratagemFastCast=0">
- <action Type="Var" cmd="set StratagemFastCast 1"/>
- <action Type="AddtoChat" Color="121">[Celerity/Alacrity: Enabled] Reduces the casting time and recast time of your next spell by 50%.</action>
- </if>
- <else>
- <action Type="Var" cmd="set StratagemFastCast 0"/>
- <action Type="AddtoChat" Color="121">[Celerity/Alacrity: Disabled]</action>
- </else>
- </if>
- <if Spell="Accession|Manifestation">
- <if Advanced="$StratagemAreaEffect=0">
- <action Type="Var" cmd="set StratagemAreaEffect 1"/>
- <action Type="AddtoChat" Color="121">[Accession/Manifestation: Enabled] Extends the effect of your next spell to targets within range. MP cost and recast time are doubled.</action>
- </if>
- <else>
- <action Type="Var" cmd="set StratagemAreaEffect 0"/>
- <action Type="AddtoChat" Color="121">[Accession/Manifestation: Disabled]</action>
- </else>
- </if>
- <if Spell="Ebullience|Rapture">
- <if Advanced="$StratagemPotency=0">
- <action Type="Var" cmd="set StratagemPotency 1"/>
- <action Type="AddtoChat" Color="121">[Rapture/Ebullience: Enabled] Enhances potency of your next spell.</action>
- </if>
- <else>
- <action Type="Var" cmd="set StratagemPotency 0"/>
- <action Type="AddtoChat" Color="121">[Rapture/Eullience: Disabled]</action>
- </else>
- </if>
- <if Spell="Immanence|Perpetuance">
- <if Advanced="$Stratagem87=0">
- <action Type="Var" cmd="set Stratagem87 1"/>
- <if Buffactive="Light Arts|Addendum: White">
- <action Type="AddtoChat" Color="121">[Perpetuance/Immanence: Enabled] Extends the duration of next White Magic spell.</action>
- </if>
- <elseif Buffactive="Dark Arts|Addendum: Black">
- <action Type="AddtoChat" Color="121">[Perpetuance/Immanence: Enabled] Allows the next Black Magic spell to be used in a Skillchain.</action>
- </elseif>
- <else>
- <action Type="AddtoChat" Color="121">[Perpetuance/Immanence: Enabled]</action>
- </else>
- </if>
- <else>
- <action Type="Var" cmd="set Stratagem87 0"/>
- <action Type="AddtoChat" Color="121">[Perpetuance/Immanence: Disabled]</action>
- </else>
- </if>
- <action Type="CancelSpell"/>
- </if>
- </if>
- <if Type="BlackMagic|WhiteMagic">
- <if Type="BlackMagic">
- <!--Uses Dark Arts if casting a Black Magic spell-->
- <if NotBuffActive="Dark Arts|Addendum: Black" Advanced="$AutomaticArts=1 AND $ChangeArt=0">
- <action Type="Var" cmd="set ChangeArt 1"/>
- <action Type="Command">wait 1.5;%Spell %SpellTargetRaw;</action>
- <action Type="Command">Dark Arts</action>
- <action Type="CancelSpell"/>
- <action Type="Return"/>
- </if>
- <!--Uses Addendum: Black if required to cast spell-->
- <if Spell="Sleep*|Dispel|*IV|*V|Break" NotBuffActive="Addendum: Black|Enlightenment" Advanced='$AutomaticAddendum=1 AND $ChangeAddendum=0
- AND("%Spell"="Aero IV" OR "%Spell"="Blizzard IV" OR "%Spell"="Fire IV" OR "%Spell"="Stone IV" OR "%Spell"="Thunder IV" OR "%Spell"="Water IV"
- OR "%Spell"="Aero V" OR "%Spell"="Blizzard V" OR "%Spell"="Fire V" OR "%Spell"="Stone V" OR "%Spell"="Thunder V" OR "%Spell"="Water V"
- OR "%Spell"="Break"
- OR (("%Spell"="Dispel" AND ("%SubJob"!="RDM" OR ("%SubJob"="RDM" AND %SubJobLVL<32)))
- OR ("%Spell"="Sleep" AND (("%SubJob"!="BLM" AND "%SubJob"!="DRK" AND "%SubJob"!="RDM")
- OR (("%SubJob"="BLM" AND %SubJobLVL<20)
- OR ("%SubJob"="DRK" AND %SubJobLVL<30)
- OR ("%SubJob"="RDM" AND %SubJobLVL<25))))
- OR ("%Spell"="Sleep II" AND (("%SubJob"!="BLM" AND "%SubJob"!="RDM")
- OR (("%SubJob"="BLM" AND %SubJobLVL<41)
- OR ("%SubJob"="RDM" AND %SubJobLVL<46))))))'>
- <if NotBuffActive="Dark Arts" Advanced="$ChangeArt=0">
- <action Type="Var" cmd="set ChangeArt 1"/>
- <action Type="Command">wait 1.5;%Spell %SpellTargetRaw;</action>
- <action Type="Command">Dark Arts</action>
- <action Type="CancelSpell"/>
- <action Type="Return"/>
- </if>
- <action Type="Var" cmd="set ChangeAddendum 1"/>
- <action Type="Command">wait 1.5;%Spell %SpellTargetRaw;</action>
- <action Type="Command">Addendum: Black</action>
- <action Type="CancelSpell"/>
- <action Type="Return"/>
- </if>
- <!--Uses Stratagems if they have been added to the queue-->
- <if Advanced="$QueueStratagems=1">
- <action Type="Var" cmd="set StratagemPrep 1"/>
- <if Advanced="$StratagemConserveMP=1">
- <if NotBuffActive="Dark Arts|Addendum: Black" Advanced="$ChangeArt=0">
- <action Type="Var" cmd="set ChangeArt 1"/>
- <action Type="Command">wait 1.5;%Spell %SpellTargetRaw;</action>
- <action Type="Command">Dark Arts</action>
- <action Type="CancelSpell"/>
- <action Type="Return"/>
- </if>
- <action Type="Var" cmd="set StratagemConserveMP 0"/>
- <action Type="Command">wait 1.5;%Spell %SpellTargetRaw;</action>
- <action Type="Command">Parsimony</action>
- <action Type="CancelSpell"/>
- <action Type="Return"/>
- </if>
- <if Advanced="$StratagemFastCast=1">
- <if NotBuffActive="Dark Arts|Addendum: Black" Advanced="$ChangeArt=0">
- <action Type="Var" cmd="set ChangeArt 1"/>
- <action Type="Command">wait 1.5;%Spell %SpellTargetRaw;</action>
- <action Type="Command">Dark Arts</action>
- <action Type="CancelSpell"/>
- <action Type="Return"/>
- </if>
- <action Type="Var" cmd="set StratagemFastCast 0"/>
- <action Type="Command">wait 1.5;%Spell %SpellTargetRaw;</action>
- <action Type="Command">Alacrity</action>
- <action Type="CancelSpell"/>
- <action Type="Return"/>
- </if>
- <if Advanced="$StratagemAreaEffect=1" Spell="Absorb*|Aspir|Bind|Bio*|Blind|Dispel|Drain|Gravity|Klimaform|Poison|Sleep*|Stun|Kaustra">
- <if NotBuffActive="Dark Arts|Addendum: Black" Advanced="$ChangeArt=0">
- <action Type="Var" cmd="set ChangeArt 1"/>
- <action Type="Command">wait 1.5;%Spell %SpellTargetRaw;</action>
- <action Type="Command">Dark Arts</action>
- <action Type="CancelSpell"/>
- <action Type="Return"/>
- </if>
- <action Type="Var" cmd="set StratagemAreaEffect 0"/>
- <action Type="Command">wait 1.5;%Spell %SpellTargetRaw;</action>
- <action Type="Command">Manifestation</action>
- <action Type="CancelSpell"/>
- <action Type="Return"/>
- </if>
- <if Advanced="$StratagemPotency=1" Spell="Aero*|Aspir|Bio*|Blizzard*|Drain|Fire*|Stone*|Thunder*|Water*|*helix|Kaustra">
- <if NotBuffActive="Dark Arts|Addendum: Black" Advanced="$ChangeArt=0">
- <action Type="Var" cmd="set ChangeArt 1"/>
- <action Type="Command">wait 1.5;%Spell</action>
- <action Type="Command">Dark Arts</action>
- <action Type="CancelSpell"/>
- <action Type="Return"/>
- </if>
- <action Type="Var" cmd="set StratagemPotency 0"/>
- <action Type="Command">wait 1.5;%Spell</action>
- <action Type="Command">Ebullience</action>
- <action Type="CancelSpell"/>
- <action Type="Return"/>
- </if>
- <if Advanced="$Stratagem87=1">
- <if NotBuffActive="Dark Arts|Addendum: Black" Advanced="$ChangeArt=0">
- <action Type="Var" cmd="set ChangeArt 1"/>
- <action Type="Command">wait 1.5;%Spell %SpellTargetRaw;</action>
- <action Type="Command">Dark Arts</action>
- <action Type="CancelSpell"/>
- <action Type="Return"/>
- </if>
- <action Type="Var" cmd="set Stratagem87 0"/>
- <action Type="Command">wait 1.5;%Spell %SpellTargetRaw;</action>
- <action Type="Command">Immanence</action>
- <action Type="CancelSpell"/>
- <action Type="Return"/>
- </if>
- <action Type="Var" cmd="set StratagemPrep 0"/>
- </if>
- </if>
- <if Type="WhiteMagic">
- <!--Uses to Light Arts if casting a White Magic spell-->
- <if NotBuffActive="Light Arts|Addendum: White" Advanced="$AutomaticArts=1 AND $ChangeArt=0">
- <action Type="Var" cmd="set ChangeArt 1"/>
- <action Type="Command">wait 1.5;%Spell %SpellTargetRaw;</action>
- <action Type="Command">Light Arts</action>
- <action Type="CancelSpell"/>
- <action Type="Return"/>
- </if>
- <!--Uses Addendum: White if required to cast spell-->
- <if Spell="Erase|Raise II*|Reraise*|*na" NotBuffActive="Addendum: White|Enlightenment" Advanced='$AutomaticAddendum=1 AND $ChangeAddendum=0
- AND ("%Spell"="Raise II" OR "%Spell"="Raise III" OR "%Spell"="Reraise II" OR "%Spell"="Reraise III" OR "%Spell"="Stona" OR ("%SubJob"!="WHM" OR ("%SubJob"="WHM"
- AND (("%Spell"="Blindna" AND %SubJobLVL<14)
- OR ("%Spell"="Cursna" AND %SubJobLVL<29)
- OR ("%Spell"="Erase" AND %SubJobLVL<32)
- OR ("%Spell"="Paralyna" AND %SubJobLVL<9)
- OR ("%Spell"="Poisona" AND %SubJobLVL<6)
- OR ("%Spell"="Reraise" AND %SubJobLVL<33)
- OR ("%Spell"="Silena" AND %SubJobLVL<19)
- OR ("%Spell"="Viruna" AND %SubJobLVL<34)))))'>
- <if NotBuffActive="Light Arts" Advanced="$ChangeArt=0">
- <action Type="Var" cmd="set ChangeArt 1"/>
- <action Type="Command">wait 1.5;%Spell %SpellTargetRaw;</action>
- <action Type="Command">Light Arts</action>
- <action Type="CancelSpell"/>
- <action Type="Return"/>
- </if>
- <action Type="Var" cmd="set ChangeAddendum 1"/>
- <action Type="Command">wait 1.5;%Spell %SpellTargetRaw;</action>
- <action Type="Command">Addendum: White</action>
- <action Type="CancelSpell"/>
- <action Type="Return"/>
- </if>
- <!--Uses Stratagems if they have been added to the queue-->
- <if Advanced="$QueueStratagems=1">
- <action Type="Var" cmd="set StratagemPrep 1"/>
- <if Advanced="$StratagemConserveMP=1">
- <if NotBuffActive="Light Arts|Addendum: White" Advanced="$ChangeArt=0">
- <action Type="Var" cmd="set ChangeArt 1"/>
- <action Type="Command">wait 1.5;%Spell %SpellTargetRaw;</action>
- <action Type="Command">Light Arts</action>
- <action Type="CancelSpell"/>
- <action Type="Return"/>
- </if>
- <action Type="Var" cmd="set StratagemConserveMP 0"/>
- <action Type="Command">wait 1.5;%Spell %SpellTargetRaw;</action>
- <action Type="Command">Penury</action>
- <action Type="CancelSpell"/>
- <action Type="Return"/>
- </if>
- <if Advanced="$StratagemFastCast=1">
- <if NotBuffActive="Light Arts|Addendum: White" Advanced="$ChangeArt=0">
- <action Type="Var" cmd="set ChangeArt 1"/>
- <action Type="Command">wait 1.5;%Spell %SpellTargetRaw;</action>
- <action Type="Command">Light Arts</action>
- <action Type="CancelSpell"/>
- <action Type="Return"/>
- </if>
- <action Type="Var" cmd="set StratagemFastCast 0"/>
- <action Type="Command">wait 1.5;%Spell %SpellTargetRaw;</action>
- <action Type="Command">Celerity</action>
- <action Type="CancelSpell"/>
- <action Type="Return"/>
- </if>
- <if Advanced="$StratagemAreaEffect=1" Spell="Aquaveil|Bar*|Blink|Cure*|Deodorize|En*|Erase|Invisible|Phalanx|Protect*|Regen*|Shell*|Sneak|Stoneskin|*na|*storm|Animus*|Embrava|Adloquium" NotSpell="*ra">
- <if NotBuffActive="Light Arts|Addendum: White" Advanced="$ChangeArt=0">
- <action Type="Var" cmd="set ChangeArt 1"/>
- <action Type="Command">wait 1.5;%Spell %SpellTargetRaw;</action>
- <action Type="Command">Light Arts</action>
- <action Type="CancelSpell"/>
- <action Type="Return"/>
- </if>
- <action Type="Var" cmd="set StratagemAreaEffect 0"/>
- <action Type="Command">wait 1.5;%Spell %SpellTargetRaw;</action>
- <action Type="Command">Accession</action>
- <action Type="CancelSpell"/>
- <action Type="Return"/>
- </if>
- <if Advanced="$StratagemPotency=1" Spell="Banish*|Cure*|Dia*">
- <if NotBuffActive="Light Arts|Addendum: White" Advanced="$ChangeArt=0">
- <action Type="Var" cmd="set ChangeArt 1"/>
- <action Type="Command">wait 1.5;%Spell %SpellTargetRaw;</action>
- <action Type="Command">Light Arts</action>
- <action Type="CancelSpell"/>
- <action Type="Return"/>
- </if>
- <action Type="Var" cmd="set StratagemPotency 0"/>
- <action Type="Command">wait 1.5;%Spell %SpellTargetRaw;</action>
- <action Type="Command">Rapture</action>
- <action Type="CancelSpell"/>
- <action Type="Return"/>
- </if>
- <if Advanced="$Stratagem87=1">
- <if NotBuffActive="Light Arts|Addendum: White" Advanced="$ChangeArt=0">
- <action Type="Var" cmd="set ChangeArt 1"/>
- <action Type="Command">wait 1.5;%Spell %SpellTargetRaw;</action>
- <action Type="Command">Light Arts</action>
- <action Type="CancelSpell"/>
- <action Type="Return"/>
- </if>
- <action Type="Var" cmd="set Stratagem87 0"/>
- <action Type="Command">wait 1.5;%Spell %SpellTargetRaw;</action>
- <action Type="Command">Perpetuance</action>
- <action Type="CancelSpell"/>
- <action Type="Return"/>
- </if>
- <action Type="Var" cmd="set StratagemPrep 0"/>
- </if>
- </if>
- <action Type="Var" cmd="set ChangeArt 0"/>
- <action Type="Var" cmd="set ChangeAddendum 0"/>
- </if>
- </rules>
- </spellcast>[/code][/spoiler]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement