Whitewing's Smn Xml Version 3.1

This is now 98% complete the 2% being Bahamut's Staff and N. Gages.

This xml includes:

  • Full AFv2 support day, weather and Day+Weather (inc. Fix for weather in Dynamis/Limbus as weather sometimes changes but still double dark on screen also seems to give prep-3 for Diabolos and Fenrir. Tested in Dynamis - Xacarbard when I got SMN AFv2 head).
  • Maximises Dmg, Minimises MP usage and Minimises BP recast. (swaps in gear at right time for dmg, bp recast and bonus calculations then swaps gear back to the correct gear before you did move)
  • All Avatar and Spirit Support with gear changes for each element.
  • Auto-Elemental Siphon this checks day/weather and changes spell for max mp draining (Switches spirits, uses JA and releases when spirit is summoned).
  • Conjurer's ring support.
  • Spell cancelling sneak.
  • Maximises Cure potency.
  • Buff gear swaps and status cures.
  • Fenrir Buffs and Debuff stat announcements sends to Party if Partycount > 1 or Add's to chat if solo. (thanks to Ned for stats and idea).
  • Creates alias for each Avatar on cast.
  • Added Melee/WS Gear Sets and Weapon locking.

Thats about it I think have a look and send me a message if you have any questions.

This xml has been made using examples from other xml's posted here and my own tweaking.

Thank you to all the other guys for the base info.


NOTES

SETS

Each set is based on the Avatar which in turn based on Standard.

Each element has Normal, Day, Weather and Day + Weather sets(Carby has additional set). Normal, Day, Weather and Day + Weather sets build of the Normal set.

E.g.

1) Non day and weather.

Light spirit on day or weather that is non light uses set Light.

Light equips Basic gear(Standard) + Avatar perp - gear(Avatar) + Light Staff.

2) Day but not weather.

Diabolos on Darksday with non dark weather uses DarkDay.

DarkDay equips Basic gear(Standard) + Avatar perp - gear(Avatar) + Dark Staff + Smn afv2 Body(Darkday).

3) Weather but not day.

Titan on non Earthsday with earth weather uses Earthweather.

EarthWeather equips Basic gear(Standard) + Avatar perp - gear(Avatar) + Earth Staff + Smn afv2 Head(EarthWeather).

4) Day and Weather.

Garuda on Windsday with wind weather would use set WindFull.

WindFull equips Basic gear(Standard) + Avatar perp - gear(Avatar) + Wind Staff + Smn afv2 Head and Body(WindFull).

VARIABLES

ES

This variable turns off/on the day/weather changespell logic and auto use of Elemantal Siphon with Release of spirit.

Avatar

This holds the current gear set you are using so that after abilities/spells which require gear changes you can swap back to correct gear.

Elements

These are used for changing spell when using the ES logic.

Ring

This is used in the Basic group set as default to Serket ring but is changed when Conjurer's ring latent rule is triggered. This is changed before any gear swaps so when new avatar is called correct ring is equipped and will persist through all gear changes while latent is still active.

BPMOON

This holds the Fenrir Buff/Debuff stats to be displayed.

TPLOCK

This set at what % TP you want Weap, Grip and ammo to lock in at.

ShowBPstat

Toggle 0/1 for off/on to display stats in party.

RULES

Nothing really to go into here should work fine with no need to change anything as long as you set up your gear in the right sets.

THINGS FIXED THIS UPDATE:

v3.1

Added Melee/WS Gear sets and rules with gear locking, Optimised code and removed additional aftercast checks.

Changed ES to be an on/off for auto swap and uses of JA.

Removed SneakMe Variable as no longer required.

Fixed Logic for Temenos areas (This is Light Weather 100% of the time not Dark).

v3.0

2.21 overhall

Added auto Alias creation on Casting Avatar.

Fenrir Stats to chat or party based on party size.

Optimised some rules(more to come soon).

v2.1.2

Removed SneakMe Variable as TargetType =“SELF” should now work in 2.18 BETA

v2.1.1

Removed the Extra Feet tags in Avatar Set and added Evoker's Spats for after cast avatar Acc+.

v2.1

Changed Conjurer's ring rules (TP part is not needed as 99% of the time SMN changes staff to often to have more than 100tp).

Added a variable for the right ring slot which is now used in conjurer's ring rule and replaced in basic gear set before gear is equipped and will persist through all gear swaps.

Evk.'s Pigaches +1 were spelt incorrectly, was using afv2 spelling rule as I hadn't received them from npc when I wrote gear set.

Removed Temenos from dark spirit ES rules as it is double light not double dark. - new rule to follow.

v2.0

Sneak Logic change to have a var set to true or false based on if your sneaking yourself or not.(not best way but an easy fix for now)

Removed Light/Dark spirit code as YY robes' Refresh does same as perp -1.

Spirit change code not firing properly due to ”</if>” in wrong place.

THINGS TO FIX:

Nothing found yet but I'm always tweaking it to get the best out of equipment/spellcast.


<spellcast>
    <config
        Debug = "True"
        HideErrors = "False"
        ShowGearSwaps = "False"
        quickcommands = "True"
        Language = "EU"
        showspellinfo = "False"/>
    <sets>
        <group default = "yes" name = "SMN">
            <!--Light Based Gear-->
            <set name = "Light" BaseSet = "Avatar">
                <main>Apollo's Staff</main>
            </set>
            <set name = "Carbuncle" BaseSet = "Light">
                <hands>Carbuncle Mitts</hands>
            </set>
            <set name = "LightDay" BaseSet = "Light">
                <Body>Summoner's Dblt.</Body>
            </set>
            <set name = "LightWeather" BaseSet = "Light">
                <head>Summoner's Horn</head>
            </set>
            <set name = "LightFull" BaseSet = "Light">
                <head>Summoner's Horn</head>
                <body>Summoner's Dblt.</body>
            </set>
            <!--Dark Based Gear-->
            <set name = "Dark" BaseSet = "Avatar">
                <main>Pluto's Staff</main>
            </set>
            <set name = "DarkDay" BaseSet = "Dark">
                <body>Summoner's Dblt.</body>
            </set>
            <set name = "DarkWeather" BaseSet = "Dark">
                <head>Summoner's Horn</head>
            </set>
            <set name = "DarkFull" BaseSet = "Dark">
                <head>Summoner's Horn</head>
                <body>Summoner's Dblt.</body>
            </set>
            <!--Fire Based Gear-->
            <set name = "Fire" BaseSet = "Avatar">
                <main>Vulcan's Staff</main>
            </set>
            <set name = "FireDay" BaseSet = "Fire">
                <body>Summoner's Dblt.</body>
            </set>
            <set name = "FireWeather" BaseSet = "Fire">
                <head>Summoner's Horn</head>
            </set>
            <set name = "FireFull" BaseSet = "Fire">
                <head>Summoner's Horn</head>
                <body>Summoner's Dblt.</body>
            </set>
            <!--Earth Based Gear-->
            <set name = "Earth" BaseSet = "Avatar">
                <main>Terra's Staff</main>
            </set>
            <set name = "EarthDay" BaseSet = "Earth">
                <body>Summoner's Dblt.</body>
            </set>
            <set name = "EarthWeather" BaseSet = "Earth">
                <head>Summoner's Horn</head>
            </set>
            <set name = "EarthFull" BaseSet = "Earth">
                <head>Summoner's Horn</head>
                <body>Summoner's Dblt.</body>
            </set>
            <!--Water Based Gear-->
            <set name = "Water" BaseSet = "Avatar">
                <main>Neptune's Staff</main>
            </set>
            <set name = "WaterDay" BaseSet = "Water">
                <body>Summoner's Dblt.</body>
            </set>
            <set name = "WaterWeather" BaseSet = "Water">
                <head>Summoner's Horn</head>
            </set>
            <set name = "WaterFull" BaseSet = "Water">
                <head>Summoner's Horn</head>
                <body>Summoner's Dblt.</body>
            </set>
            <!--Wind Based Gear-->
            <set name = "Wind" BaseSet = "Avatar">
                <main>Auster's Staff</main>
            </set>
            <set name = "WindDay" BaseSet = "Wind">
                <body>Summoner's Dblt.</body>
            </set>
            <set name = "WindWeather" BaseSet = "Wind">
                <head>Summoner's Horn</head>
            </set>
            <set name = "WindFull" BaseSet = "Wind">
                <head>Summoner's Horn</head>
                <body>Summoner's Dblt.</body>
            </set>
            <!--Ice Based Gear-->
            <set name = "Ice" BaseSet = "Avatar">
                <main>Aquilo's Staff</main>
            </set>
            <set name = "IceDay" BaseSet = "Ice">
                <body>Summoner's Dblt.</body>
            </set>
            <set name = "IceWeather" BaseSet = "Ice">
                <head>Summoner's Horn</head>
            </set>
            <set name = "IceFull" BaseSet = "Ice">
                <head>Summoner's Horn</head>
                <body>Summoner's Dblt.</body>
            </set>
            <!--Thunder Based Gear-->
            <set name = "Thunder" BaseSet = "Avatar">
                <main>Jupiter's Staff</main>
            </set>
            <set name = "ThunderDay" BaseSet = "Thunder">
                <body>Summoner's Dblt.</body>
            </set>
            <set name = "ThunderWeather" BaseSet = "Thunder">
                <head>Summoner's Horn</head>
            </set>
            <set name = "ThunderFull" BaseSet = "Thunder">
                <head>Summoner's Horn</head>
                <body>Summoner's Dblt.</body>
            </set>
            <!--BloodPact Based Gear-->
            <!--Gear to reduce Bloodpact delay-->
            <set name = "BPTime">
                <head>Summoner's Horn</head>
                <neck>Sacrifice Torque</neck>
                <body>Yinyang Robe</body>
                <hands>Summoner's Brcr.</hands>
                <legs>Summoner's Spats</legs>
                <feet>Summoner's Pgch.</feet>
            </set>
            <!--Gear to increase Smn Skill -->
            <set name = "BPSkill">
                <head>Evoker's Horn</head>
                <neck>Smn. Torque</neck>
                <hands>Summoner's Brcr.</hands>
                <feet>Austere Sabots</feet>
                <lear>Smn. Earring</lear>
            </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>Apollo's Staff</main>
                <sub>Staff Strap</sub>
                <ammo>Hedgehog Bomb</ammo>
                <head>Walahra turban</head>
                <neck>Fenrir's Torque</neck>
                <lear>Loquac. Earring</lear>
                <rear>Astral Earring</rear>
                <body>Yinyang Robe</body>
                <hands>Summoner's Brcr.</hands>
                <lring>Evoker's Ring</lring>
                <rring>$Ring</rring>
                <back>Intensifying Cape</back>
                <waist>Hierarch Belt</waist>
                <legs>Zenith Slacks</legs>
                <feet>Summoner's Pgch.</feet>
            </set>
            <!--Melee Gear -->
            <set name = "Melee" BaseSet = "$Avatar">
                <sub>Pole Strap</sub>
                <lear>Brutal Earring</lear>
                <rring>Sniper's Ring</rring>
                <neck>Peacock Charm</neck>
                <head>Optical Hat</head>
                <waist>Potent Belt</waist>
            </set>
            <!--WS Gear -->
            <set name = "WS" BaseSet = "Melee">
                <sub>Pole Strap</sub>
                <head>Optical Hat</head>
                <neck>Peacock Charm</neck>
                <lear>Brutal Earring</lear>
                <body>Errant Hpl.</body>
                <lring>Sniper's Ring</lring>
                <rring>Sniper's Ring</rring>
                <back>Rainbow Cape</back>
                <waist>Potent Belt</waist>
                <legs>Summoner's Spats</legs>
                <feet>Rostrum Pumps</feet>
            </set>
            <!--Gear that has HMP+ stats and MP+ -->
            <set name = "Resting" BaseSet = "Basic">
                <main>Pluto's Staff</main>
                <neck>Grandiose Chain</neck>
                <rear>Antivenom Earring</rear>
                <body>Errant Hpl.</body>
                <hands>Marine M Gloves</hands>
                <feet>Rostrum Pumps</feet>
            </set>
            <!--MP+, Fastcast and Dmg-% gear for when no Avatar/Spirit is Preseant-->
            <set name = "Standard" BaseSet = "Basic">
                <main>Terra's Staff</main>
                <hands>Marine M Gloves</hands>
                <feet>Rostrum Pumps</feet>
            </set>
            <!--Avatar Perp - gear that isnt used for other sets -->
            <set name = "Avatar" Baseset = "Basic">
                <!--feet>Summoner's Pgch.</feet-->
                <legs>Evoker's Spats</legs>
                <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>Errant Hpl.</body>
                <hands>Marine M Gloves</hands>
                <feet>Rostrum Pumps</feet>
            </set>
            <!--Sneak and Inivable gear for maximising buff time-->
            <set name = "SneakInvis">
                <back>Skulker's Cape</back>
                <feet>Dream Boots +1</feet>
            </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"/>
        <if status = "Engaged">
            <action
                type = "equip"
                when = "AfterCast"
                set = "Melee"/>
            <action
                type = "equip"
                when = "idle"
                Set = "$Avatar"/>
        </if>
        <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" &lt;me&gt;</action>
                <action type = "Command">alias abfPact input /pet "Glittering Ruby" &lt;me&gt;;</action>
                <action type = "Command">alias debPact input /pet "Poison Nails" &lt;t&gt;;</action>
                <action type = "Command">alias a70Pact input /pet "Meteorite" &lt;t&gt;;</action>
            </if>
            <elseif Spell = "Diabolos">
                <action type = "Command">alias 75Nuke input /pet "Camisado" &lt;t&gt;</action>
                <action type = "Command">alias 65Nuke input /pet "Ultimate Terror" &lt;t&gt;</action>
                <action type = "Command">alias atkPact input /pet "Somnolence" &lt;t&gt;</action>
                <action type = "Command">alias bufPact input /pet "Noctoshield" &lt;me&gt;</action>
                <action type = "Command">alias abfPact input /pet "Dream Shroud" &lt;me&gt;</action>
                <action type = "Command">alias debPact input /pet "Nightmare" &lt;t&gt;</action>
                <action type = "Command">alias a70Pact input /pet "Nether Blast" &lt;t&gt;</action>
            </elseif>
            <elseif Spell = "Fenrir">
                <action type = "Command">alias 75Nuke /;</action>
                <action type = "Command">alias 65Nuke /;</action>
                <action type = "Command">alias atkPact input /pet "Crecent Fang" &lt;t&gt;</action>
                <action type = "Command">alias bufPact input /pet "Ecliptic Growl" &lt;me&gt;</action>
                <action type = "Command">alias abfPact input /pet "Ecliptic Howl" &lt;me&gt;</action>
                <action type = "Command">alias debPact input /pet "Lunar Cry" &lt;t&gt;</action>
                <action type = "Command">alias a70Pact input /pet "Eclipse Bite" &lt;t&gt;</action>
            </elseif>
            <elseif Spell = "Garuda">
                <action type = "Command">alias 75Nuke input /pet "Wind Blade" &lt;t&gt;;</action>
                <action type = "Command">alias 65Nuke input /pet "Aero IV" &lt;t&gt;;</action>
                <action type = "Command">alias atkPact /;</action>
                <action type = "Command">alias bufPact input /pet "Aerial Armor" &lt;me&gt;;</action>
                <action type = "Command">alias abfPact input /pet "Hastega" &lt;me&gt;;</action>
                <action type = "Command">alias debPact /;</action>
                <action type = "Command">alias a70Pact input /pet "Predator Claws" &lt;t&gt;;</action>
            </elseif>
            <elseif Spell = "Ifrit">
                <action type = "Command">alias 75Nuke input /pet "Meteor Strike" &lt;t&gt;;</action>
                <action type = "Command">alias 65Nuke input /pet "Fire IV" &lt;t&gt;;</action>
                <action type = "Command">alias atkPact input /pet "Double Punch" &lt;t&gt;;</action>
                <action type = "Command">alias bufPact /;</action>
                <action type = "Command">alias abfPact input /pet "Crimson Howl" &lt;me&gt;;</action>
                <action type = "Command">alias debPact /;</action>
                <action type = "Command">alias a70Pact input /pet "Flaming Crush" &lt;t&gt;;</action>
            </elseif>
            <elseif Spell = "Leviathan">
                <action type = "Command">alias 75Nuke input /pet "Grand Fall" &lt;t&gt;;</action>
                <action type = "Command">alias 65Nuke input /pet "Water IV" &lt;t&gt;;</action>
                <action type = "Command">alias atkPact input /pet "Tail Whip" &lt;t&gt;;</action>
                <action type = "Command">alias bufPact input /pet "Spring Water" &lt;me&gt;;</action>
                <action type = "Command">alias abfPact /;</action>
                <action type = "Command">alias debPact input /pet "Slowga" &lt;t&gt;;</action>
                <action type = "Command">alias a70Pact input /pet "Spinning Dive" &lt;t&gt;;</action>
            </elseif>
            <elseif Spell = "Ramuh">
                <action type = "Command">alias 65Nuke input /pet "Thunder IV" &lt;t&gt;;</action>
                <action type = "Command">alias 75Nuke input /pet "Thunderstorm" &lt;t&gt;;</action>
                <action type = "Command">alias atkPact input /pet "Thunderspark" &lt;t&gt;;</action>
                <action type = "Command">alias bufPact /;</action>
                <action type = "Command">alias abfPact input /pet "Rolling Thunder" &lt;me&gt;;</action>
                <action type = "Command">alias debPact /;</action>
                <action type = "Command">alias a70Pact input /pet "Chaotic Strike" &lt;t&gt;;</action>
            </elseif>
            <elseif Spell = "Shiva">
                <action type = "Command">alias 75Nuke input /pet "Heavenly Strike" &lt;t&gt;;</action>
                <action type = "Command">alias 65Nuke input /pet "Blizzard IV" &lt;t&gt;;</action>
                <action type = "Command">alias atkPact input /pet "Double Slap" &lt;t&gt;;</action>
                <action type = "Command">alias bufPact input /pet "Frost Armor" &lt;me&gt;;</action>
                <action type = "Command">alias abfPact /;</action>
                <action type = "Command">alias debPact input /pet "Sleepga" &lt;t&gt;;</action>
                <action type = "Command">alias a70Pact input /pet "Rush" &lt;t&gt;;</action>
            </elseif>
            <elseif Spell = "Titan">
                <action type = "Command">alias 65Nuke input /pet "Stone IV" &lt;t&gt;;</action>
                <action type = "Command">alias 75Nuke input /pet "Geocrush" &lt;t&gt;;</action>
                <action type = "Command">alias atkPact input /pet "Megalith Throw" &lt;t&gt;;</action>
                <action type = "Command">alias bufPact input /pet "Earthen Ward" &lt;me&gt;;</action>
                <action type = "Command">alias abfPact /;</action>
                <action type = "Command">alias debPact /;</action>
                <action type = "Command">alias a70Pact input /pet "Mountain Buster" &lt;t&gt;;</action>
            </elseif>
            <if
                mode = "AND"
                hpplt = "75"
                tplt = "100">
                <action Type = "Var" cmd = 'set Ring "Conjurer&apos;s Ring"'/>
                <action type = "AddToChat" Color = "204">HP &lt; 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 &gt; 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" &lt;me&gt;</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 &lt;me&gt;</action>
        </if>
        <!--Checks if your doing a BloodPact and swaps gear for each calculation (Time - >
        SMN Skill+/Dmg + > Back to Original Gear before BP) -->
        <if Type = "BloodPact*">
            <if spell = "Ecliptic Howl">
                <if advanced = "%MOONPCT &gt; 89">
                    <action type = "Var" cmd = " Set BPMOON Moon @ %Moonpct% [Ecliptic Howl] Accuracy 25 - Evasion 1"/>
                </if>
                <elseif advanced = "%MOONPCT &gt; 74">
                    <action type = "Var" cmd = " Set BPMOON Moon @ %Moonpct% [Ecliptic Howl] Accuracy 21 - Evasion 5"/>
                </elseif>
                <elseif advanced = "%MOONPCT &gt; 59">
                    <action type = "Var" cmd = " Set BPMOON Moon @ %Moonpct% [Ecliptic Howl] Accuracy 17 - Evasion 9"/>
                </elseif>
                <elseif advanced = "%MOONPCT &gt; 39">
                    <action type = "Var" cmd = " Set BPMOON Moon @ %Moonpct% [Ecliptic Howl] Accuracy 13 - Evasion 13"/>
                </elseif>
                <elseif advanced = "%MOONPCT &gt; 24">
                    <action type = "Var" cmd = " Set BPMOON Moon @ %Moonpct% [Ecliptic Howl] Accuracy 9 - Evasion 17"/>
                </elseif>
                <elseif advanced = "%MOONPCT &gt; 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 &gt; 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 &gt; 89">
                    <action type = "Var" cmd = " Set BPMOON Moon @ %Moonpct% [Ecliptic Growl] STR/DEX/VIT 7 - INT/MND/CHR/AGI 1"/>
                </if>
                <elseif advanced = "%MOONPCT &gt; 74">
                    <action type = "Var" cmd = " Set BPMOON Moon @ %Moonpct% [Ecliptic Growl] STR/DEX/VIT 6 - INT/MND/CHR/AGI 2"/>
                </elseif>
                <elseif advanced = "%MOONPCT &gt; 59">
                    <action type = "Var" cmd = " Set BPMOON Moon @ %Moonpct% [Ecliptic Growl] STR/DEX/VIT 5 - INT/MND/CHR/AGI 3"/>
                </elseif>
                <elseif advanced = "%MOONPCT &gt; 39">
                    <action type = "Var" cmd = " Set BPMOON Moon @ %Moonpct% [Ecliptic Growl] STR/DEX/VIT 4 - INT/MND/CHR/AGI 4"/>
                </elseif>
                <elseif advanced = "%MOONPCT &gt; 24">
                    <action type = "Var" cmd = " Set BPMOON Moon @ %Moonpct% [Ecliptic Growl] STR/DEX/VIT 3 - INT/MND/CHR/AGI 5"/>
                </elseif>
                <elseif advanced = "%MOONPCT &gt; 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 &gt; 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 &gt; 89">
                    <action type = "Var" cmd = " Set BPMOON Moon @ %Moonpct% [Lunar Cry] Enemy Acc Down 31 - Enemy Eva Down 1"/>
                </if>
                <elseif advanced = "%MOONPCT &gt; 74">
                    <action type = "Var" cmd = " Set BPMOON Moon @ %Moonpct% [Lunar Cry] Enemy Acc Down 26 - Enemy Eva Down 6"/>
                </elseif>
                <elseif advanced = "%MOONPCT &gt; 59">
                    <action type = "Var" cmd = " Set BPMOON Moon @ %Moonpct% [Lunar Cry] Enemy Acc Down 21 - Enemy Eva Down 11"/>
                </elseif>
                <elseif advanced = "%MOONPCT &gt; 39">
                    <action type = "Var" cmd = " Set BPMOON Moon @ %Moonpct% [Lunar Cry] Enemy Acc Down 16 - Enemy Eva Down 16"/>
                </elseif>
                <elseif advanced = "%MOONPCT &gt; 24">
                    <action type = "Var" cmd = " Set BPMOON Moon @ %Moonpct% [Lunar Cry] Enemy Acc Down 11 - Enemy Eva Down 21"/>
                </elseif>
                <elseif advanced = "%MOONPCT &gt; 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 &gt; 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>
        <!--Changes gear to Refresh,Fastcast and dmg -% gear when Avatar/Spirit is released-->
        <if Spell = "Release">
            <action type = "DefaultTarget" target = "&lt;me&gt;"/>
            <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-*|Stoneskin|Aquaveil|Protectra*|Shellra*">
            <action type = "ChangeTarget" target = "&lt;me&gt;"/>
        </if>
        <action
            type = "equip"
            when = "idle|aftercast"
            Set = "$Avatar"/>
    </rules>
</spellcast>
plugins/spellcast/userxml/smn/whitewing_smn.txt · Last modified: 2009/08/08 14:00 (external edit)
www.chimeric.de Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0