This is my variation of Whitewing's Smn Xml Version 3.1
The most important change is that it now splits up Physical and Magical BPs to allow different gear sets for each. Also allows for Garuda specific BPs for Karura Hachigane.
A HUGE thanks to Whitewing for all the initial work on this XML. The Elemental Siphon work is amazing.
<?xml version="1.0" ?>
<spellcast>
<config
Debug = "True"
HideErrors = "False"
ShowGearSwaps = "False"
quickcommands = "True"
showspellinfo = "False"/>
<sets>
<group default = "yes" name = "SMN">
<!--Light Based Gear-->
<set name = "Light" BaseSet = "Avatar">
<main>Bahamut's Staff</main>
<feet>Herald's Gaiters</feet>
</set>
<set name = "Carbuncle" BaseSet = "Light">
<hands>Carbuncle Mitts</hands>
<feet>Herald's Gaiters</feet>
<legs>Smn. Spats +1</legs>
</set>
<set name = "LightDay" BaseSet = "Light">
<Body>Summoner's Dblt.</Body>
</set>
<set name = "LightWeather" BaseSet = "Light">
<head>Smn. Horn +1</head>
</set>
<set name = "LightFull" BaseSet = "Light">
<head>Smn. Horn +1</head>
<body>Summoner's Dblt.</body>
</set>
<!--Dark Based Gear-->
<set name = "Dark" BaseSet = "Avatar">
<main>Bahamut's Staff</main>
</set>
<set name = "DarkDay" BaseSet = "Dark">
<body>Summoner's Dblt.</body>
</set>
<set name = "DarkWeather" BaseSet = "Dark">
<head>Smn. Horn +1</head>
</set>
<set name = "DarkFull" BaseSet = "Dark">
<head>Smn. Horn +1</head>
<body>Summoner's Dblt.</body>
</set>
<!--Fire Based Gear-->
<set name = "Fire" BaseSet = "Avatar">
<main>Bahamut's Staff</main>
</set>
<set name = "FireDay" BaseSet = "Fire">
<body>Summoner's Dblt.</body>
</set>
<set name = "FireWeather" BaseSet = "Fire">
<head>Smn. Horn +1</head>
</set>
<set name = "FireFull" BaseSet = "Fire">
<head>Smn. Horn +1</head>
<body>Summoner's Dblt.</body>
</set>
<!--Earth Based Gear-->
<set name = "Earth" BaseSet = "Avatar">
<main>Bahamut's Staff</main>
</set>
<set name = "EarthDay" BaseSet = "Earth">
<body>Summoner's Dblt.</body>
</set>
<set name = "EarthWeather" BaseSet = "Earth">
<head>Smn. Horn +1</head>
</set>
<set name = "EarthFull" BaseSet = "Earth">
<head>Smn. Horn +1</head>
<body>Summoner's Dblt.</body>
</set>
<!--Water Based Gear-->
<set name = "Water" BaseSet = "Avatar">
<main>Bahamut's Staff</main>
</set>
<set name = "WaterDay" BaseSet = "Water">
<body>Summoner's Dblt.</body>
</set>
<set name = "WaterWeather" BaseSet = "Water">
<head>Smn. Horn +1</head>
</set>
<set name = "WaterFull" BaseSet = "Water">
<head>Smn. Horn +1</head>
<body>Summoner's Dblt.</body>
</set>
<!--Wind Based Gear-->
<set name = "Wind" BaseSet = "Avatar">
<main>Bahamut's Staff</main>
<head>Karura Hachigane</head>
</set>
<set name = "WindDay" BaseSet = "Wind">
<body>Summoner's Dblt.</body>
<head>Karura Hachigane</head>
</set>
<set name = "WindWeather" BaseSet = "Wind">
<head>Smn. Horn +1</head>
</set>
<set name = "WindFull" BaseSet = "Wind">
<head>Smn. Horn +1</head>
<body>Summoner's Dblt.</body>
</set>
<!--Ice Based Gear-->
<set name = "Ice" BaseSet = "Avatar">
<main>Bahamut's Staff</main>
</set>
<set name = "IceDay" BaseSet = "Ice">
<body>Summoner's Dblt.</body>
</set>
<set name = "IceWeather" BaseSet = "Ice">
<head>Smn. Horn +1</head>
</set>
<set name = "IceFull" BaseSet = "Ice">
<head>Smn. Horn +1</head>
<body>Summoner's Dblt.</body>
</set>
<!--Thunder Based Gear-->
<set name = "Thunder" BaseSet = "Avatar">
<main>Bahamut's Staff</main>
</set>
<set name = "ThunderDay" BaseSet = "Thunder">
<body>Summoner's Dblt.</body>
</set>
<set name = "ThunderWeather" BaseSet = "Thunder">
<head>Smn. Horn +1</head>
</set>
<set name = "ThunderFull" BaseSet = "Thunder">
<head>Smn. Horn +1</head>
<body>Summoner's Dblt.</body>
</set>
<!--BloodPact Based Gear-->
<!--Gear to reduce Bloodpact delay-->
<set name = "BPTime">
<head>Smn. Horn +1</head>
<body>Yinyang Robe</body>
<hands>Smn. Bracers +1</hands>
<legs>Smn. Spats +1</legs>
<feet>Smn. Pigaches +1</feet>
</set>
<!--Gear to increase Smn Skill -->
<set name = "BPSkill">
<head>Evk. Horn +1</head>
<neck>Smn. Torque</neck>
<hands>Smn. Bracers +1</hands>
<back>Astute Cape</back>
<legs>Marduk's Shalwar</legs>
</set>
<!--Gear for Physical Blood Pacts -->
<set name = "BPPhysical">
<head>Selenian cap</head>
<neck>Sacrifice Torque</neck>
<hands>Smn. Bracers +1</hands>
<body>Summoner's Dblt.</body>
<back>Astute Cape</back>
<legs>Marduk's Shalwar</legs>
<feet>Smn. Pigaches +1</feet>
</set>
<!--Gear for Magical Blood Pacts -->
<set name = "BPMagical">
<head>Evk. Horn +1</head>
<neck>Smn. Torque</neck>
<hands>Smn. Bracers +1</hands>
<body>Royal Redingote</body>
<back>Astute Cape</back>
<legs>Marduk's Shalwar</legs>
<feet>Smn. Pigaches +1</feet>
</set>
<!--Gear for Physical Blood Pacts with Garuda-->
<set name = "BPPhysicalGaruda">
<head>Selenian cap</head>
<neck>Sacrifice Torque</neck>
<hands>Smn. Bracers +1</hands>
<body>Summoner's Dblt.</body>
<back>Astute Cape</back>
<legs>Marduk's Shalwar</legs>
<feet>Smn. Pigaches +1</feet>
</set>
<!--Misc. Gear-->
<!--Base gear that all sets are built from anything that will be used for all sets put in here-->
<set name = "Basic">
<main>Bahamut's Staff</main>
<sub>Staff Strap</sub>
<ammo>Hedgehog Bomb</ammo>
<head>Walahra turban</head>
<neck>Morgana's Choker</neck>
<lear>Loquac. Earring</lear>
<rear>Antivenom Earring</rear>
<body>Yinyang Robe</body>
<hands>Smn. Bracers +1</hands>
<lring>Evoker's Ring</lring>
<rring>$Ring</rring>
<back>Summoner's Cape</back>
<waist>Hierarch Belt</waist>
<legs>Marduk's shalwar</legs>
<feet>Herald's Gaiters</feet>
</set>
<!--Gear that has HMP+ stats and MP+ -->
<set name = "Resting" BaseSet = "Basic">
<main>Dark Staff</main>
<neck>Grandiose Chain</neck>
<rear>Antivenom Earring</rear>
<lear>Relaxing Earring</lear>
<body>Errant Hpl.</body>
<feet>Numerist Pumps</feet>
</set>
<!--MP+, Fastcast and Dmg-% gear for when no Avatar/Spirit is Preseant-->
<set name = "Standard" BaseSet = "Basic">
<feet>Herald's Gaiters</feet>
</set>
<!--Avatar Perp - gear that isnt used for other sets -->
<set name = "Avatar" Baseset = "Basic">
<!--feet>Smn. Pigaches +1</feet-->
<hands>Nashira gages</hands>
<feet>Evk. Pigaches +1</feet>
</set>
<!--Gear for Curing/Removing debuffs for party members (Cure Potency and MND+ gear)-->
<set name = "Healing" Baseset = "Basic">
<body>Goliard Saio</body>
<main>Light Staff</main>
<feet>Rostrum Pumps</feet>
<head>Selenian Cap</head>
<back>Aslan Cape</back>
</set>
<!--Sneak and Inivable gear for maximising buff time-->
<set name = "SneakInvis">
<feet>Dream Boots +1</feet>
</set>
<!--Stoneskin gear-->
<set name = "Stoneskin">
<body>Errant Hpl.</body>
<main>Kirin's Pole</main>
<feet>Rostrum Pumps</feet>
<head>Evk. Horn +1</head>
<back>Aslan Cape</back>
</set>
</group>
</sets>
<variables clear = "yes">
<!--Set this to True before casting a spirit will check for best Spirit to Elemental Siphon-->
<var name = "ES">1</var>
<!--This is the current avatar gear set and what gear you will revert back to after magic's or BP's that change gear -->
<var name = "Avatar">Standard</var>
<!--Variables for Elemental Spirit Names used for changespells for Elemental Siphon-->
<var name = "Light">Light</var>
<var name = "Dark">Dark</var>
<var name = "Fire">Fire</var>
<var name = "Earth">Earth</var>
<var name = "Wind">Air</var>
<var name = "Water">Water</var>
<var name = "Ice">Ice</var>
<var name = "Thunder">Thunder</var>
<var name = "Ring">Serket Ring</var>
<!--Set this to the percentage of TP you want to start locking weapons at-->
<var Name = "LockTP">25</var>
<var name = "BPMOON">0</var>
<var name = "ShowBPStat">1</var>
</variables>
<rules>
<if status = "Dead">
<action Type = "cancelspell"/>
<action Type = "return"/>
</if>
<action type = "aftercastdelay" Delay = "3"/>
<else>
<action
type = "equip"
when = "idle|aftercast"
Set = "$Avatar"/>
</else>
<action
type = "equip"
when = "resting"
Set = "Resting"/>
<!--Disables equipment switching that would cause loss of TP. Lock does not work because of changes with $ElementalStaff-->
<if TPGT = "$LockTP">
<action Type = "Disable" Slot = "Main|Sub|Range"/>
</if>
<else>
<action Type = "Enable" Slot = "Main|Sub|Range"/>
</else>
<!--Avatar/Spirit Related Rules-->
<if type = "SummonerPact">
<action type = "AddToChat" Color = "204">Day = %Day (%DayElement) Weather = %Weather (%WeatherElement)</action>
<!--Create Alias for BloodPacts-->
<if Spell = "Carbuncle">
<action type = "Command">alias 75Nuke /;</action>
<action type = "Command">alias 65Nuke /;</action>
<action type = "Command">alias atkPact /;</action>
<action type = "Command">alias bufPact input /pet "Healing Ruby II" <me></action>
<action type = "Command">alias abfPact input /pet "Shining Ruby" <me>;</action>
<action type = "Command">alias debPact input /pet "Poison Nails" <t>;</action>
<action type = "Command">alias a70Pact input /pet "Meteorite" <t>;</action>
</if>
<elseif Spell = "Diabolos">
<action type = "Command">alias 75Nuke input /pet "Camisado" <t></action>
<action type = "Command">alias 65Nuke input /pet "Ultimate Terror" <t></action>
<action type = "Command">alias atkPact input /pet "Somnolence" <t></action>
<action type = "Command">alias bufPact input /pet "Noctoshield" <me></action>
<action type = "Command">alias abfPact input /pet "Dream Shroud" <me></action>
<action type = "Command">alias debPact input /pet "Nightmare" <t></action>
<action type = "Command">alias a70Pact input /pet "Nether Blast" <t></action>
</elseif>
<elseif Spell = "Fenrir">
<action type = "Command">alias 75Nuke /;</action>
<action type = "Command">alias 65Nuke /;</action>
<action type = "Command">alias atkPact input /pet "Lunar Roar" <t></action>
<action type = "Command">alias bufPact input /pet "Ecliptic Growl" <me></action>
<action type = "Command">alias abfPact input /pet "Ecliptic Howl" <me></action>
<action type = "Command">alias debPact input /pet "Lunar Cry" <t></action>
<action type = "Command">alias a70Pact input /pet "Eclipse Bite" <t></action>
</elseif>
<elseif Spell = "Garuda">
<action type = "Command">alias 75Nuke input /pet "Wind Blade" <t>;</action>
<action type = "Command">alias 65Nuke input /pet "Aero IV" <t>;</action>
<action type = "Command">alias atkPact /;</action>
<action type = "Command">alias bufPact input /pet "Aerial Armor" <me>;</action>
<action type = "Command">alias abfPact input /pet "Hastega" <me>;</action>
<action type = "Command">alias debPact input /pet "Whispering Wind" <me>;</action>
<action type = "Command">alias a70Pact input /pet "Predator Claws" <t>;</action>
</elseif>
<elseif Spell = "Ifrit">
<action type = "Command">alias 75Nuke input /pet "Meteor Strike" <t>;</action>
<action type = "Command">alias 65Nuke input /pet "Fire IV" <t>;</action>
<action type = "Command">alias atkPact input /pet "Double Punch" <t>;</action>
<action type = "Command">alias bufPact input /pet "Burning Strike" <t>;</action>
<action type = "Command">alias abfPact input /pet "Crimson Howl" <me>;</action>
<action type = "Command">alias debPact /;</action>
<action type = "Command">alias a70Pact input /pet "Flaming Crush" <t>;</action>
</elseif>
<elseif Spell = "Leviathan">
<action type = "Command">alias 75Nuke input /pet "Grand Fall" <t>;</action>
<action type = "Command">alias 65Nuke input /pet "Water IV" <t>;</action>
<action type = "Command">alias atkPact input /pet "Tail Whip" <t>;</action>
<action type = "Command">alias bufPact input /pet "Spring Water" <me>;</action>
<action type = "Command">alias abfPact /;</action>
<action type = "Command">alias debPact input /pet "Slowga" <t>;</action>
<action type = "Command">alias a70Pact input /pet "Spinning Dive" <t>;</action>
</elseif>
<elseif Spell = "Ramuh">
<action type = "Command">alias 65Nuke input /pet "Thunder IV" <t>;</action>
<action type = "Command">alias 75Nuke input /pet "Thunderstorm" <t>;</action>
<action type = "Command">alias atkPact input /pet "Thunderspark" <t>;</action>
<action type = "Command">alias bufPact input /pet "Lightning Armor" <me>;</action>
<action type = "Command">alias abfPact input /pet "Rolling Thunder" <me>;</action>
<action type = "Command">alias debPact /;</action>
<action type = "Command">alias a70Pact input /pet "Chaotic Strike" <t>;</action>
</elseif>
<elseif Spell = "Shiva">
<action type = "Command">alias 75Nuke input /pet "Heavenly Strike" <t>;</action>
<action type = "Command">alias 65Nuke input /pet "Blizzard IV" <t>;</action>
<action type = "Command">alias atkPact input /pet "Double Slap" <t>;</action>
<action type = "Command">alias bufPact input /pet "Frost Armor" <me>;</action>
<action type = "Command">alias abfPact /;</action>
<action type = "Command">alias debPact input /pet "Sleepga" <t>;</action>
<action type = "Command">alias a70Pact input /pet "Rush" <t>;</action>
</elseif>
<elseif Spell = "Titan">
<action type = "Command">alias 65Nuke input /pet "Stone IV" <t>;</action>
<action type = "Command">alias 75Nuke input /pet "Geocrush" <t>;</action>
<action type = "Command">alias atkPact input /pet "Megalith Throw" <t>;</action>
<action type = "Command">alias bufPact input /pet "Earthen Ward" <me>;</action>
<action type = "Command">alias abfPact /;</action>
<action type = "Command">alias debPact input /pet "Rock Buster" <t>;</action>
<action type = "Command">alias a70Pact input /pet "Mountain Buster" <t>;</action>
</elseif>
<if
mode = "AND"
hpplt = "75"
tplt = "100">
<action Type = "Var" cmd = 'set Ring "Conjurer's Ring"'/>
<action type = "AddToChat" Color = "204">HP < 75% Equiping Conjurer's Ring</action>
</if>
<elseif
mode = "or"
hppgt = "74"
tpgt = "100">
<action Type = "Var" cmd = 'set Ring "Serket Ring"'/>
<action type = "AddToChat" Color = "204">HP > 75% Equiping Serket Ring</action>
</elseif>
<!--checks if your using an Elemental Siphon macro-->
<if Spell = "*Spirit" advanced = '"$ES"="1"'>
<if advanced = '"%Weather"="%WeatherElement x2"'>
<action type = "ChangeSpell" Spell = "$%WeatherElement Spirit"/>
</if>
<else>
<action type = "ChangeSpell" Spell = "$%DayElement Spirit"/>
</else>
<action Type = "Command" when = "aftercast">wait 2; input /ja "Elemental Siphon" <me></action>
</if>
<!--Sets the Base gear for the avatar/spirit being cast based on Spells element-->
<action Type = "Var" cmd = "set Avatar %SpellElement"/>
<!--Checks to see if DayElement is same as Avatar/Spirits and equips Afv2 body-->
<if advanced = '"%SpellElement" ="%DayElement"'>
<!--Sets gear to the elemant and afv2 body-->
<action Type = "Var" cmd = "set Avatar %SpellElementDay"/>
</if>
<!--Checks to see if WeatherElement is same as Avatar/Spirits and equips Afv2 Head-->
<if advanced = '"%SpellElement" ="%WeatherElement"'>
<action Type = "Var" cmd = "set Avatar %SpellElementWeather"/>
</if>
<!--Weather Fix for Dynamis/Limbus weather as it seems to give Prep - for dark based Avatars/Spirits-->
<if advanced = '"%SpellElement"="Dark"'>
<if Area = "Dynamis*|*Apollyon*">
<action Type = "Var" cmd = "set Avatar DarkWeather"/>
</if>
</if>
<!--Checks for both Day and Weather to see if it is the same as Avatar/spirit and Equips both Afv2 Body and Head-->
<if advanced = '"%SpellElement" ="%WeatherElement" and "%SpellElement" ="%DayElement"'>
<action Type = "Var" cmd = "set Avatar %SpellElementFull"/>
</if>
<!--Full Fix for Dynamis/Limbus weather as it seems to give Prep - for dark based Avatars/Spirits-->
<if
mode = "and"
Area = "Dynamis*|*Apollyon*"
advanced = '"%SpellElement"="Dark" and "%SpellElement" ="%DayElement"'>
<action Type = "Var" cmd = "set Avatar %SpellElementFull"/>
</if>
<!--Carbuncle does not need afv2 so has it's own gear set -->
<if Spell = "Carbuncle">
<action Type = "Var" cmd = "set Avatar Carbuncle"/>
</if>
</if>
<!--Job Abillity related Rules -->
<!--Equips Smn Skill gear to maximise mp gained -->
<if spell = "Elemental Siphon">
<action
type = "equip"
when = "Precast"
set = "BPskill"/>
<action type = "command" When = "Aftercast">wait 2; input /pet release <me></action>
</if>
<!--Checks if your doing a BloodPact Ward and swaps gear for each calculation (Time - >
SMN Skill+/Dmg + > Back to Original Gear before BP) -->
<if Type = "BloodPactWard">
<if spell = "Ecliptic Howl">
<if advanced = "%MOONPCT > 89">
<action type = "Var" cmd = " Set BPMOON Moon @ %Moonpct% [Ecliptic Howl] Accuracy 25 - Evasion 1"/>
</if>
<elseif advanced = "%MOONPCT > 74">
<action type = "Var" cmd = " Set BPMOON Moon @ %Moonpct% [Ecliptic Howl] Accuracy 21 - Evasion 5"/>
</elseif>
<elseif advanced = "%MOONPCT > 59">
<action type = "Var" cmd = " Set BPMOON Moon @ %Moonpct% [Ecliptic Howl] Accuracy 17 - Evasion 9"/>
</elseif>
<elseif advanced = "%MOONPCT > 39">
<action type = "Var" cmd = " Set BPMOON Moon @ %Moonpct% [Ecliptic Howl] Accuracy 13 - Evasion 13"/>
</elseif>
<elseif advanced = "%MOONPCT > 24">
<action type = "Var" cmd = " Set BPMOON Moon @ %Moonpct% [Ecliptic Howl] Accuracy 9 - Evasion 17"/>
</elseif>
<elseif advanced = "%MOONPCT > 9">
<action type = "Var" cmd = " Set BPMOON Moon @ %Moonpct% [Ecliptic Howl] Accuracy 5 - Evasion 21"/>
</elseif>
<else>
<action type = "Var" cmd = " Set BPMOON Moon @ %Moonpct% [Ecliptic Howl] Accuracy 1 - Evasion 25"/>
</else>
<if advanced = '%PartyCount > 1 and "$ShowBPStat" = "1"'>
<action type = "command" When = "Precast">input /p $BPMOON</action>
</if>
<else>
<action type = "AddToChat" color = "204">$BPMOON</action>
</else>
</if>
<if spell = "Ecliptic Growl">
<if advanced = "%MOONPCT > 89">
<action type = "Var" cmd = " Set BPMOON Moon @ %Moonpct% [Ecliptic Growl] STR/DEX/VIT 7 - INT/MND/CHR/AGI 1"/>
</if>
<elseif advanced = "%MOONPCT > 74">
<action type = "Var" cmd = " Set BPMOON Moon @ %Moonpct% [Ecliptic Growl] STR/DEX/VIT 6 - INT/MND/CHR/AGI 2"/>
</elseif>
<elseif advanced = "%MOONPCT > 59">
<action type = "Var" cmd = " Set BPMOON Moon @ %Moonpct% [Ecliptic Growl] STR/DEX/VIT 5 - INT/MND/CHR/AGI 3"/>
</elseif>
<elseif advanced = "%MOONPCT > 39">
<action type = "Var" cmd = " Set BPMOON Moon @ %Moonpct% [Ecliptic Growl] STR/DEX/VIT 4 - INT/MND/CHR/AGI 4"/>
</elseif>
<elseif advanced = "%MOONPCT > 24">
<action type = "Var" cmd = " Set BPMOON Moon @ %Moonpct% [Ecliptic Growl] STR/DEX/VIT 3 - INT/MND/CHR/AGI 5"/>
</elseif>
<elseif advanced = "%MOONPCT > 9">
<action type = "Var" cmd = " Set BPMOON Moon @ %Moonpct% [Ecliptic Growl] STR/DEX/VIT 2 - INT/MND/CHR/AGI 6"/>
</elseif>
<else>
<action type = "Var" cmd = " Set BPMOON Moon @ %Moonpct% [Ecliptic Growl] STR/DEX/VIT 1 - INT/MND/CHR/AGI 7"/>
</else>
<if advanced = '%PartyCount > 1 and "$ShowBPStat" = "1"'>
<action type = "command" When = "Precast">input /p $BPMOON</action>
</if>
<else>
<action type = "AddToChat" color = "204">$BPMOON</action>
</else>
</if>
<if spell = "Lunar Cry">
<if advanced = "%MOONPCT > 89">
<action type = "Var" cmd = " Set BPMOON Moon @ %Moonpct% [Lunar Cry] Enemy Acc Down 31 - Enemy Eva Down 1"/>
</if>
<elseif advanced = "%MOONPCT > 74">
<action type = "Var" cmd = " Set BPMOON Moon @ %Moonpct% [Lunar Cry] Enemy Acc Down 26 - Enemy Eva Down 6"/>
</elseif>
<elseif advanced = "%MOONPCT > 59">
<action type = "Var" cmd = " Set BPMOON Moon @ %Moonpct% [Lunar Cry] Enemy Acc Down 21 - Enemy Eva Down 11"/>
</elseif>
<elseif advanced = "%MOONPCT > 39">
<action type = "Var" cmd = " Set BPMOON Moon @ %Moonpct% [Lunar Cry] Enemy Acc Down 16 - Enemy Eva Down 16"/>
</elseif>
<elseif advanced = "%MOONPCT > 24">
<action type = "Var" cmd = " Set BPMOON Moon @ %Moonpct% [Lunar Cry] Enemy Acc Down 11 - Enemy Eva Down 21"/>
</elseif>
<elseif advanced = "%MOONPCT > 9">
<action type = "Var" cmd = " Set BPMOON Moon @ %Moonpct% [Lunar Cry] Enemy Acc Down 6 - Enemy Eva Down 26"/>
</elseif>
<else>
<action type = "Var" cmd = " Set BPMOON Moon @ %Moonpct% [Lunar Cry] Enemy Acc Down 1 - Enemy Eva Down 31"/>
</else>
<if advanced = '%PartyCount > 1 and "$ShowBPStat" = "1"'>
<action type = "command" When = "Precast">input /p $BPMOON</action>
</if>
<else>
<action type = "AddToChat" color = "204">$BPMOON</action>
</else>
</if>
<action
type = "equip"
when = "precast"
set = "BPTime"/>
<action
type = "equip"
when = "midcast"
set = "BPSkill"/>
</if>
<!--Checks if your doing a BloodPact Rage - Physical and swaps gear for each calculation (Time - >
SMN Skill+/Dmg + > Back to Original Gear before BP) -->
<if Spell = "Punch|Rock Throw|Barracuda Dive|Axe Kick|Shock Strike|Poison Nails|Moonlit Charge|Crescent Fang|Rock Buster|Burning Strike|Tail Whip|Double Punch|Megalith Throw|Double Slap|Eclipse Bite|Flaming Crush|Mountain Buster|Spinning Dive|Rush|Chaotic Strike">
<action
type = "equip"
when = "precast"
set = "BPTime"/>
<action
type = "equip"
when = "midcast"
set = "BPPhysical"/>
</if>
<!--Checks if your doing a BloodPact Rage - Magical and swaps gear for each calculation (Time - >
SMN Skill+/Dmg + > Back to Original Gear before BP) -->
<if Spell = "Meteorite|*IV|Wind Blade|Grand Fall">
<action
type = "equip"
when = "precast"
set = "BPTime"/>
<action
type = "equip"
when = "midcast"
set = "BPMagical"/>
</if>
<!--Checks if your doing a BloodPact Rage - Garuda and swaps gear for each calculation (Time - >
SMN Skill+/Dmg + > Back to Original Gear before BP) -->
<if Spell = "Claw|Predator Claws">
<action
type = "equip"
when = "precast"
set = "BPTime"/>
<action
type = "equip"
when = "midcast"
set = "BPPhysicalGaruda"/>
</if>
<!--Changes gear to Refresh,Fastcast and dmg -% gear when Avatar/Spirit is released-->
<if Spell = "Release">
<action type = "DefaultTarget" target = "<me>"/>
<action Type = "Var" cmd = "set Avatar Standard"/>
<action type = "Command">alias 75Nuke /;</action>
<action type = "Command">alias 65Nuke /;</action>
<action type = "Command">alias atkPact /;</action>
<action type = "Command">alias bufPact /;</action>
<action type = "Command">alias abfPact /;</action>
<action type = "Command">alias debPact /;</action>
<action type = "Command">alias a70Pact /;</action>
</if>
<!--Magic Related Rules-->
<!--If Sneak is being cast equips gear to maximise buff time and then removes sneak if buff already present if SneakMe variable is set to true-->
<if Spell = "Sneak|Invisible">
<if spell = "Sneak">
<if TargetType = "SELF">
<action type = "Command" when = "Precast">cancel 71</action>
</if>
</if>
<action
type = "equip"
when = "precast"
set = "SneakInvis"/>
</if>
<!--When casting Cures/Buffs/and Debuff removing equips Cure Potency and MND+ gear-->
<if Spell = "Cur*|Protect*|Shell*|Regen|Raise|Erase|Poisona|Parlyna|Blindna|Silena|Viruna" NotSpell = "Protectra*|Shellra*|Cursna">
<action
type = "equip"
when = "precast"
set = "Healing"/>
</if>
<!--Makes sure Self is targeted when casting self target spells borrowed this from another XML thought it was a good idea-->
<if Spell = "Bar*|Reraise|Teleport-*|Aquaveil|Protectra*|Shellra*">
<action type = "ChangeTarget" target = "<me>"/>
</if>
<if Spell = "Stoneskin">
<action
type = "equip"
when = "precast"
set = "Stoneskin"/>
<action
type = "ChangeTarget"
target = "<me>"/>
</if>
<action
type = "equip"
when = "idle|aftercast"
Set = "$Avatar"/>
</rules>
</spellcast>