Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <spellcast xmlns:xi="http://www.w3.org/2001/XInclude">
- <config
- RequireVersion="2.16"
- Debug="true"
- HideErrors="false"
- ShowGearSwaps="false"
- />
- <variables>
- <!--Variable for locking TP-->
- <var nooverwrite="true" Name="LockTP">15</var>
- <!--Have Vars-->
- <var name="HaveArtemis Medal">1</var>
- <var name="BLMAF2Pants">1</var>
- <var name="HaveSorcRing">0</var>
- <var name="HaveDarkObi">0</var>
- <var name="HaveLightObi">0</var>
- <var name="HaveEarthObi">0</var>
- <var name="HaveWaterObi">0</var>
- <var name="HaveWindObi">1</var>
- <var name="HaveFireObi">0</var>
- <var name="HaveIceObi">1</var>
- <var name="HaveThunderObi">1</var>
- <var name="HaveNovio">0</var>
- <var name="HaveWaterRing">0</var>
- <var name="HaveIceRing">0</var>
- <var name="TwilightCape">0</var>
- <!-- Ugg Pendant settings for various gearsets. -->
- <var name="RDMUggPendantMP">402</var>
- <var name="WHMUggPendantMP">351</var>
- <var name="SCHUggPendantMP">346</var>
- <var name="NINUggPendantMP">311</var>
- <var name="RDMHighResistMP">353</var>
- <var name="WHMHighResistMP">363</var>
- <var name="SCHHighResistMP">358</var>
- <var name="NINHighResistMP">323</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">793</var>
- <var name="WHMRingHP">706</var>
- <var name="NINRingHP">720</var>
- <var name="SCHRingHP">706</var>
- <!--Renaming Vars-->
- <var name="UggPendant">1</var>
- <var Name="LightStaff">Apollo's Staff</var>
- <var Name="DarkStaff">Pluto's Staff</var>
- <var Name="FireStaff">Vulcan's Staff</var>
- <var Name="IceStaff">Aquilo's Staff</var>
- <var Name="WindStaff">Auster's Staff</var>
- <var Name="EarthStaff">Terra's Staff</var>
- <var Name="ThunderStaff">Indra's Staff</var>
- <var Name="WaterStaff">Neptune's Staff</var>
- <var name="DarkObi">Anrin Obi</var>
- <var name="LightObi">Korin Obi</var>
- <var name="WindObi">Furin Obi</var>
- <var name="IceObi">Hyorin Obi</var>
- <var name="FireObi">Karin Obi</var>
- <var name="WaterObi">Suirin Obi</var>
- <var name="ThunderObi">Rairin Obi</var>
- <var name="EarthObi">Dorin Obi</var>
- <!--Do Not Change These Vars-->
- <var name="sublimation-counter">0</var>
- <var name="sublimation-complete">0</var>
- </variables>
- <sets>
- <group name="Main" default="yes">
- <!--Standard Sets-->
- <set name="Standard">
- <main>$IceStaff</main>
- <sub>Elementa Grip</sub>
- <ammo>Witchstone</ammo>
- <head>Teal Chapeau</head>
- <neck>Feud Pendant</neck>
- <lear>Moldavite Earring</lear>
- <rear>Graiai Earring</rear>
- <body>Teal Saio</body>
- <hands>Zenith Mitts</hands>
- <lring>Snow Ring</lring>
- <rring>Snow Ring</rring>
- <back>Ixion Cape</back>
- <waist>Witch Sash</waist>
- <legs>Teal Slops</legs>
- <feet>Cobra Crackows</feet>
- </set>
- <set name="MP" BaseSet="Standard">
- <head>Sorcerer's Petas.</head>
- <neck>Aesir Torque</neck>
- <rear>Antivenom Earring</rear>
- <body>Goliard Saio</body>
- <back>Rainbow Cape</back>
- <waist>Hierarch Belt</waist>
- <legs>Yigit Seraweels</legs>
- </set>
- <set name="Resting">
- <body>Errant Hpl.</body>
- <sub>Ariesian Grip</sub>
- <main>$DarkStaff</main>
- <ammo>Clarus Stone</ammo>
- <head>Selenian Cap</head>
- <waist>Qiqirn Sash +1</waist>
- <feet>Goliard Clogs</feet>
- <neck>Beak Necklace +1</neck>
- <lear>Boroka Earring</lear>
- <rear>Antivenom Earring</rear>
- <legs>Baron's Slops</legs>
- <back>Invigorating Cape</back>
- </set>
- <set name="FastCast">
- <neck>Rostrum Pumps</neck>
- </set>
- <set name="Haste|Ninjutsu" BaseSet="FastCast">
- <body>Goliard Saio</body>
- </set>
- <set name="ConserveMP" BaseSet="Haste">
- </set>
- <set name="Aftercast|Idle" BaseSet="Standard">
- <main>$EarthStaff</main>
- <lring>Jelly Ring</lring>
- <rring>Dark Ring</rring>
- <legs>Tatsumaki Sitagoromo</legs>
- </set>
- <set name="Sleep" BaseSet="Aftercast">
- <main>Hardwood Katana</main>
- </set>
- <!--Magic Sets-->
- <set name="EnfeeblingMagic" BaseSet="FullDamage">
- <body>Wizard's Coat</body>
- <sub>Macero Grip</sub>
- <head>Igqira Tiara</head>
- <neck>Spider Torque</neck>
- <legs>Igqira Lappa</legs>
- </set>
- <set name="HealingMagic">
- <main>$LightStaff</main>
- <legs>Mahatma Slops</legs>
- <feet>Teal Pigaches</feet>
- <lring>Solemn Ring</lring>
- </set>
- <set name="DarkMagic" BaseSet="Haste">
- <legs>Wizard's Tonban</legs>
- <main>$DarkStaff</main>
- <sub>Caecus Grip</sub>
- <neck>Dark Torque</neck>
- <body>Nashira Manteel</body>
- <feet>Igqira Huaraches</feet>
- <hands>Sorcerer's Gloves</hands>
- </set>
- <set name="EnhancingMagic" BaseSet="HealingMagic">
- <main lock="yes">$WaterStaff</main>
- <feet>Teal Pigaches</feet>
- <legs>Mahatma Slops</legs>
- <body>Errant Houppelande</body>
- </set>
- <!--Nuking Sets-->
- <set name="MinusHP" BaseSet="FastCast">
- </set>
- <set name="FullDamage" BaseSet="Standard">
- </set>
- <set name="LightResist" BaseSet="FullDamage">
- <head>Sorcerer's Petas.</head>
- </set>
- <set name="MidResist" BaseSet="LightResist">
- <head>Sorcerer's Petas.</head>
- <hands>Wizard's Gloves</hands>
- </set>
- <set name="HighResist|ElementalMagic" BaseSet="MidResist">
- <head>Sorcerer's Petas.</head>
- <hands>Wizard's Gloves</hands>
- <neck>Elemental Torque</neck>
- <legs>Druid's Slops</legs>
- </set>
- <!--Individual Spell-->
- <set name="Stoneskin" BaseSet="Standard">
- <main>$WaterStaff</main>
- <lring>Solemn Ring</lring>
- <neck>Stone Gorget</neck>
- <body>Errant Hpl.</body>
- <legs>Mahatma Slops</legs>
- <feet>Teal Pigaches</feet>
- </set>
- </group>
- </sets>
- <rules>/
- <!--Automatic Rules-->
- <if spell="Meteor">
- <if status="resting" NotBuffActive="Weakness" advanced='%MP<$%SubJobMaxMP'>
- <equip when="resting" set="MP" />
- </if>
- <cancelspell/>
- <return/>
- </if>
- <elseif spell="Poison V">
- <if BuffActive="*sleep*">
- <equip when="precast" Set="Sleep" />
- </if>
- <cancelspell/>
- <return/>
- </elseif>
- <!--Rules to stop parsing if you can't perform an action-->
- <if BuffActive="Sleep|Petrification|Stun|Terror|Charm">
- <return/>
- </if>
- <elseif Type="*Magic|BardSong|Ninjutsu" BuffActive="Silence">
- <return/>
- </elseif>
- <elseif Type="Weaponskill|JobAbility|PetCommand" BuffActive="Amnesia">
- <cancelspell/>
- <return/>
- </elseif>
- <elseif type="Weaponskill">
- <if mode="OR" TPLT="100" advanced='%SpellTargetDistance>4' notstatus="engaged">
- <cancelspell/>
- <return/>
- </if>
- </elseif>
- <!--Automatic targetting of yourself when casting a spell that can target you, but you have no target selected-->
- <if ValidTarget="Self|Self, Party|Self, Party, Ally, NPC|Self, Party, Ally, NPC, Enemy" SpellTargetType="None">
- <defaulttarget Target="%Playername" />
- </if>
- <elseif ValidTarget="Self|Self, Party|Self, Party, Ally, NPC" SpellTargetType="None|Monster">
- <defaulttarget Target="%Playername" />
- </elseif>
- <elseif ValidTarget="Self|Self, Party" SpellTargetType="None|Monster|NPC">
- <defaulttarget Target="%Playername" />
- </elseif>
- <!--Added sleep timers and warnings to the chatlog-->
- <if spell="Sleep|Sleepga">
- <command when="aftercast">spellcast var inc sleepid;wait 30;input /echo [$sleepid:%spell] <%SpellTargetName> Wearing off in 30s</command>
- <command when="aftercast">wait 45;input /echo [$sleepid:%spell] <%SpellTargetName>Wearing off in 15s</command>
- <command when="aftercast">wait 55;input /echo [$sleepid:%spell] <%SpellTargetName>Wearing off in 5s;spellcast var dec sleepid;</command>
- </if>
- <elseif spell="Sleep II|Sleepga II">
- <command when="aftercast">spellcast var inc sleepid;wait 45;input /echo [$sleepid:%spell] <%SpellTargetName> Wearing off in 45s</command>
- <command when="aftercast">wait 75;input /echo [$sleepid:%spell] <%SpellTargetName>Wearing off in 15s</command>
- <command when="aftercast">wait 85;input /echo [$sleepid:%spell] <%SpellTargetName>Wearing off in 5s;spellcast var dec sleepid;</command>
- </elseif>
- <!--Cancel Buff Rules-->
- <if spell="Sneak" SpellTarget="%Playername">
- <midcastdelay delay="1.5" />
- <command when="midcast">cancel 71</command>
- </if>
- <elseif Spell="Monomi*">
- <midcastdelay delay="2.5" />
- <command when="midcast">cancel 71</command>
- </elseif>
- <elseif spell="Utsusemi: Ichi">
- <midcastdelay delay="2" />
- <command when="midcast">cancel 66</command>
- </elseif>
- <elseif Spell="Stoneskin">
- <midcastdelay delay="2.8" />
- <command when="midcast">cancel 37</command>
- </elseif>
- <elseif spell="Reraise*">
- <if BuffActive="Reraise">
- <midcastdelay delay="5" />
- <command when="midcast">cancel 113</command>
- </if>
- </elseif>
- <!--Job Ability Rules-->
- <if spell="Penury|Parsimony">
- <if BuffActive="Light Arts|Addendum: White">
- <Changespell Spell="Penury" />
- </if>
- <elseif BuffActive="Dark Arts|Addendum: Black">
- <Changespell Spell="Parsimony" />
- </elseif>
- <return/>
- </if>
- <elseif spell="Celerity|Alacrity">
- <if BuffActive="Light Arts|Addendum: White">
- <Changespell Spell="Celerity" />
- </if>
- <elseif BuffActive="Dark Arts|Addendum: Black">
- <Changespell Spell="Alacrity" />
- </elseif>
- <return/>
- </elseif>
- <elseif spell="Addendum*">
- <if BuffActive="Light Arts">
- <Changespell Spell="Addendum: White" />
- </if>
- <elseif BuffActive="Dark Arts">
- <Changespell Spell="Addendum: Black" />
- </elseif>
- <return/>
- </elseif>
- <!--Gearlocks Start Here-->
- <if EquipHead="Reraise Hairpin" notbuffactive="Reraise">
- <equip when="precast|midcast|aftercast|engaged|idle|resting">
- <head lock="t" />
- </equip>
- <addtochat Color="369" when="precast">. . . . . . . . . . . . . . - - Reraise Earring Locked - - . . . . . . . . . . . . . .</addtochat>
- </if>
- <elseif EquipREar="Reraise Earring" Notbuffactive="Reraise">
- <equip when="precast|midcast|aftercast|engaged|idle|resting">
- <rear lock="t" />
- </equip>
- <addtochat Color="369" when="precast">. . . . . . . . . . . . . . - - Reraise Earring Locked - - . . . . . . . . . . . . . .</addtochat>
- </elseif>
- <elseif EquipLEar="Reraise Earring" Notbuffactive="Reraise">
- <equip when="precast|midcast|aftercast|engaged|idle|resting">
- <lear lock="t" />
- </equip>
- <addtochat Color="369" when="precast">. . . . . . . . . . . . . . - - Reraise Earring Locked - - . . . . . . . . . . . . . .</addtochat>
- </elseif>
- <if EquipRRing="Emperor Band|Empress Band|Anniversary Ring|Kupofried's Ring" notbuffactive="Dedication">
- <equip when="precast|midcast|aftercast|engaged|idle|resting">
- <rring lock="t" />
- </equip>
- <addtochat Color="369" when="precast">. . . . . . . . . . . . . . - - EXP Ring Locked - - . . . . . . . . . . . . . .</addtochat>
- </if>
- <elseif EquipLRing="Emperor Band|Empress Band|Anniversary Ring|Kupofried's Ring" notbuffactive="Dedication">
- <equip when="precast|midcast|aftercast|engaged|idle|resting">
- <lring lock="t" />
- </equip>
- <addtochat Color="369" when="precast">. . . . . . . . . . . . . . - - EXP Ring Locked - - . . . . . . . . . . . . . .</addtochat>
- </elseif>
- <if Mode="OR" Status="Engaged" TPGT="$LockTP">
- <equip when="precast|midcast|aftercast|engaged|idle|resting">
- <main lock="t" /><sub lock="t" /><range lock="t" /><ammo lock="t" />
- </equip>
- </if>
- <!--autoset rules-->
- <if spell="autoset">
- <equip when="resting|idle" set="%Status" />
- <return/>
- </if>
- <!--Changespells For sneak/invis when subbing NIN-->
- <if Subjob="NIN">
- <if Spell="Invisible">
- <if SubJobLvlLT="34">
- <Changespell Spell="Tonko: Ichi" />
- </if>
- <else>
- <Changespell Spell="Tonko: Ni" />
- </else>
- </if>
- <elseif Spell="Sneak">
- <Changespell Spell="Monomi: Ichi" />
- </elseif>
- </if>
- <!--Change Cure Spells based on MP-->
- <if Spell="Cure III">
- <if BuffActive="Light Arts|Addendum: White" MPLT="42">
- <Changespell Spell="Cure II" />
- </if>
- <elseif Buffactive="Dark Arts|Addendum: Black" MPLT="56">
- <Changespell Spell="Cure II" />
- </elseif>
- <elseif notbuffactive="*Arts|Addend*" MPLT="46">
- <Changespell Spell="Cure II" />
- </elseif>
- </if>
- <elseif Spell="Cure II">
- <if BuffActive="Light Arts|Addendum: White" MPLT="22">
- <Changespell Spell="Cure" />
- </if>
- <elseif Buffactive="Dark Arts|Addendum: Black" MPLT="29">
- <Changespell Spell="Cure" />
- </elseif>
- <elseif notbuffactive="*Arts|Addend*" MPLT="24">
- <Changespell Spell="Cure" />
- </elseif>
- </elseif>
- <elseif Spell="Curaga II">
- <if BuffActive="Light Arts|Addendum: White" MPLT="108">
- <Changespell Spell="Curaga" />
- </if>
- <elseif Buffactive="Dark Arts|Addendum: Black" MPLT="144">
- <Changespell Spell="Curaga" />
- </elseif>
- <elseif notbuffactive="*Arts|Addend*" MPLT="120">
- <Changespell Spell="Curaga" />
- </elseif>
- </elseif>
- <elseif Spell="Thunder IV">
- <if MLvlLT="46">
- <Changespell Spell="Thunder" />
- </if>
- <elseif MLvlLT="66">
- <Changespell Spell="Thunder II" />
- </elseif>
- <elseif MLvlLT="75">
- <Changespell Spell="Thunder III" />
- </elseif>
- </elseif>
- <elseif Spell="Blizzard IV">
- <if MLvlLT="42">
- <Changespell Spell="Blizzard" />
- </if>
- <elseif MLvlLT="64">
- <Changespell Spell="Blizzard II" />
- </elseif>
- <elseif MLvlLT="74">
- <Changespell Spell="Blizzard III" />
- </elseif>
- </elseif>
- <elseif Spell="Fire IV">
- <if MLvlLT="38">
- <Changespell Spell="Fire" />
- </if>
- <elseif MLvlLT="62">
- <Changespell Spell="Fire II" />
- </elseif>
- <elseif MLvlLT="73">
- <Changespell Spell="Fire III" />
- </elseif>
- </elseif>
- <elseif Spell="Aero IV">
- <if MLvlLT="34">
- <Changespell Spell="Aero" />
- </if>
- <elseif MLvlLT="59">
- <Changespell Spell="Aero II" />
- </elseif>
- <elseif MLvlLT="72">
- <Changespell Spell="Aero III" />
- </elseif>
- </elseif>
- <elseif Spell="Water IV">
- <if MLvlLT="30">
- <Changespell Spell="Water" />
- </if>
- <elseif MLvlLT="55">
- <Changespell Spell="Water II" />
- </elseif>
- <elseif MLvlLT="70">
- <Changespell Spell="Water III" />
- </elseif>
- </elseif>
- <elseif Spell="Stone IV">
- <if MLvlLT="26">
- <Changespell Spell="Stone" />
- </if>
- <elseif MLvlLT="51">
- <Changespell Spell="Stone II" />
- </elseif>
- <elseif MLvlLT="68">
- <Changespell Spell="Stone III" />
- </elseif>
- </elseif>
- <elseif spell="Thundaga III">
- <if MLvlLT="61">
- <Changespell spell="Thundaga" />
- </if>
- <elseif MLvlLT="73">
- <Changespell Spell="Thundaga II" />
- </elseif>
- </elseif>
- <elseif spell="Blizzaga III">
- <if MLvlLT="57">
- <Changespell spell="Blizzaga" />
- </if>
- <elseif MLvlLT="71">
- <Changespell Spell="Blizzaga II" />
- </elseif>
- </elseif>
- <elseif spell="Firaga III">
- <if MLvlLT="53">
- <Changespell spell="Firaga" />
- </if>
- <elseif MLvlLT="69">
- <Changespell Spell="Firaga II" />
- </elseif>
- </elseif>
- <elseif spell="Aeroga III">
- <if MLvlLT="48">
- <Changespell spell="Aeroga" />
- </if>
- <elseif MLvlLT="67">
- <Changespell Spell="Aeroga II" />
- </elseif>
- </elseif>
- <elseif spell="Waterga III">
- <if MLvlLT="44">
- <Changespell spell="Waterga" />
- </if>
- <elseif MLvlLT="65">
- <Changespell Spell="Waterga II" />
- </elseif>
- </elseif>
- <elseif spell="Stonega III">
- <if MLvlLT="40">
- <Changespell spell="Stonega" />
- </if>
- <elseif MLvlLT="63">
- <Changespell Spell="Stonega II" />
- </elseif>
- </elseif>
- <elseif spell="Bio II">
- <if MLvlLT="35">
- <Changespell Spell="Bio" />
- </if>
- </elseif>
- <elseif spell="Poison II">
- <if MLvlLT="43">
- <Changespell Spell="Poison" />
- </if>
- </elseif>
- <!--Equip staves, Fast Cast, and Aftercast gear-->
- <if Type="*Magic|BardSong|Ninjutsu">
- <if notType="Ninjutsu">
- <equip when="midcast"><main>$%SpellElementStaff</main></equip>
- </if>
- <equip when="aftercast" set="Aftercast" />
- </if>
- <!--Situational Gear-->
- <if MPPLT="86" day="Watersday" CommandPrefix="/magic" MLvlGT="64" NotSkill="ElementalMagic" advanced='"$HaveWaterRing"="1"'>
- <equip when="midcast"><rring lock="t">Water Ring</rring></equip>
- <addtochat Color="369" when="midcast">. . . . . . . . . . . . . . - - Equipped Water Ring - - . . . . . . . . . . . . . .</addtochat>
- </if>
- <elseif MPPLT="86" day="Iceday" Skill="ElementalMagic" MLvlGT="64" advanced='"$HaveWaterRing"="1"'>
- <if Mode="OR" Spell="Rasp|Drown|Choke|Burn|Frost|Shock" SpellTargetName="Genbu|Suzaku|Seiryu|Byakko|Kirin|Cerberus|Khimaira|Tyger|Jailer of Love|Sarameya">
- <equip when="midcast"><rring lock="t">Ice Ring</rring></equip>
- <addtochat Color="369" when="midcast">. . . . . . . . . . . . . . - - Equipped Ice Ring - - . . . . . . . . . . . . . .</addtochat>
- </if>
- </elseif>
- <if CommandPrefix="/magic" MLvlGT="70" NotSpell="Dia*|*na|Erase|*Raise*" NotSkill="SummoningMagic|EnhancingMagic" Advanced='("%SpellElement"="%WeatherElement" OR "%SpellElement"="%DayElement") AND "$Have%SpellElementObi"="1"'>
- <equip when="midcast">
- <waist lock="t">$%SpellElementObi</waist>
- </equip>
- <addtochat Color="369" when="midcast">. . . . . . . . . . . . . . - - Equipped $%SpellElementObi - - . . . . . . . . . . . . . .</addtochat>
- </if>
- <!--Specific Spells-->
- <if spell="Aquaveil*|Blink|Deodorize|Dia*|Erase|Escape|Invisible|*na|Pro*|Raise*|Re*|Shell*|Sneak|Tele*|Tractor|Warp*">
- <equip when="midcast" set="ConserveMP" />
- <return/>
- </if>
- <if spell="Stoneskin">
- <equip when="midcast" set="%Spell" />
- <return/>
- </if>
- <!--Elemental Magic Rules-->
- <if Skill="ElementalMagic">
- <!--Elemental Debuffs, not affected by Magic Attack Bonus, subbed in INT gear-->
- <if Spell="Frost|Drown|Rasp|Burn|Shock|Choke">
- <equip when="midcast" Set="HighResist" />
- <equip when="midcast"><head>Goetia Petasos +2</head><body>Errant Hpl.</body></equip>
- </if>
- <!--All Nukes-->
- <else>
- <midcastdelay Delay="2" />
- <!--High resist mobs when NOT using Elemental Seal-->
- <if SpellTargetName="Genbu|Suzaku|Seiryu|Byakko|Kirin|Cerberus|Khimaira|Tyger|Jailer of Love|Sarameya|Andhrimnir|Ariri Samariri" NotBuffActive="Elemental Seal">
- <equip when="midcast" Set="HighResist" />
- <addtochat Color="369" when="midcast">. . . . . . . . . . . . . . - - HighResist Equipped - - . . . . . . . . . . . . . .</addtochat>
- </if>
- <else>
- <!--Mid resist mobs NOT using Elemental Seal-->
- <if SpellTargetName="Proto*|Fafnir|Tinnin|Jailer*|Odin|Freke|Gorgimera|Vampyr Jarl|Balrahn" NotBuffActive="Elemental Seal">
- <equip when="midcast" Set="MidResist" />
- <addtochat Color="369" when="midcast">. . . . . . . . . . . . . . - - MidResist Equipped - - . . . . . . . . . . . . . .</addtochat>
- </if>
- <else>
- <!--Light Resisting Mobs or Dynamis/Einherjar/Salvage-->
- <if mode="or" Area="Dynamis *|Hazhalm*|*Remnants*" SpellTargetName="Dea|Lambton Worm|Sandworm|Guivre|King Arthro|Serket">
- <if NotBuffActive="Elemental Seal">
- <equip when="midcast" Set="LightResist" />
- <addtochat Color="369" when="midcast">. . . . . . . . . . . . . . - - LightResist Equipped - - . . . . . . . . . . . . . .</addtochat>
- </if>
- <else>
- <equip when="midcast" Set="FullDamage" />
- </else>
- </if>
- <!--All other Mobs or using Elemental Seal-->
- <else>
- <equip when="midcast" Set="FullDamage" />
- </else>
- </else>
- </else>
- <!--Uggalepih Pendant rules based on exact MP numbers to activate with given gear and mobs-->
- <if MLvlGT="69">
- <!--When not using Elemental Seal-->
- <if NotBuffactive="Elemental Seal" SpellTargetName="Genbu|Suzaku|Seiryu|Byakko|Kirin|Cerberus|Khimaira|Tyger|Jailer of Love|Sarameya|Andhrimnir|Ariri Samariri" MPAftercastLT="$%SubjobHighResistMP">
- <equip when="midcast"><neck lock="t">Uggalepih Pendant</neck></equip>
- <addtochat Color="369" when="midcast">. . . . . . . . . . . . . . - - Uggalepih Pendant Equipped - - . . . . . . . . . . . . . .</addtochat>
- </if>
- <!--Using Elemental Seal-->
- <elseif MPAftercastLT="$%SubjobUggPendantMP">
- <equip when="midcast"><neck lock="t">Uggalepih Pendant</neck></equip>
- <addtochat Color="369" when="midcast">. . . . . . . . . . . . . . - - Uggalepih Pendant Equipped - - . . . . . . . . . . . . . .</addtochat>
- </elseif>
- </if>
- <!--Rules for when borrowing Novio Earring-->
- <if advanced='$HaveNovio == 1'>
- <equip when="midcast"><rear>Novio Earring</rear></equip>
- </if>
- <!--Sorc Ring rules using exact HP amounts to trigger-->
- <if MLvlGT="49" advanced='$HaveSorcRing == 1'>
- <if HPLT="$%SubJobRingHP">
- <equip when="midcast">
- <lring lock="t">Sorcerer's Ring</lring>
- </equip>
- <command when="precast">cancel 42</command>
- <addtochat Color="369" when="midcast">. . . . . . . . . . . . . . - - Sorcerer's Ring Equipped - - . . . . . . . . . . . . . .</addtochat>
- </if>
- </if>
- <!--Sorcerer's Tonban Rules. Equips af2 when spell element matches day element, but only if not already at 35% cap from obi for matching day and double weather-->
- <if Advanced='(!((bool)strmatch("* x2","%Weather") AND "%WeatherElement" = "%SpellElement" AND "$%SpellElementObi" = "1") OR !("%WeatherElement" = "%SpellElement")) AND ("%SpellElement" = "%DayElement" AND "$BLMAF2Pants" = "1") AND ("%skill"="ElementalMagic")'>
- <equip when="midcast">
- <legs lock="t">Sorcerer's Tonban</legs>
- </equip>
- <addtochat Color="369" when="midcast">. . . . . . . . . . . . . . - - Sorcerer's Tonban Equipped - - . . . . . . . . . . . . . .</addtochat>
- <if advanced='"$TwilightCape" == "1"'>
- <equip when="midcast"><back lock="yes">Twilight Cape</back>
- </equip>
- <addtochat Color="369" when="midcast">. . . . . . . . . . . . . . - - Twilight Cape Equipped - - . . . . . . . . . . . . . .</addtochat>
- </if>
- </if>
- <if advanced="%MoonPCT >35">
- <equip when="midcast">
- <neck lock="yes">Artemis' Medal</neck>
- </equip>
- </if>
- <if MPPAfterCastLT="50">
- <if advanced="%MoonPCT >80">
- <equip when="midcast">
- <neck lock="yes">Artemis' Medal</neck>
- </equip>
- </if>
- <elseif advanced="$UggPendant==1">
- <equip when="midcast">
- <neck lock="yes">Uggalepih Pendant</neck>
- </equip>
- </elseif>
- </if>
- </else>
- <return/>
- </if>
- <!--All other magic spells-->
- <if Skill="*Magic|Ninjutsu|Singing">
- <equip when="midcast" set="%Skill" />
- <return/>
- </if>
- </rules>
- </spellcast>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement