Advertisement
Clairefox

GEO Spellcast

Apr 10th, 2013
1,456
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 45.85 KB | None | 0 0
  1. <?xml version="1.0" ?>
  2.    
  3. <spellcast>
  4.     <config AutoLoadXML="true" RequiredVersion="2.20" HideErrors="false" ShowGearSwaps="false" Debug="false" ShowSpellInfo="false"/>
  5.  
  6.     <variables clear="True">
  7.    
  8. <!--Put your Elemental Staves here-->      
  9.         <var name="IceStaff"> Varuna's Staff +2</var>
  10.         <var name="WindStaff">Auster's Staff</var>
  11.         <var name="EarthStaff">Terra's Staff</var>
  12.         <var name="ThunderStaff">Jupiter's Staff</var>
  13.         <var name="WaterStaff">Soma's Staff +2</var>
  14.         <var name="FireStaff">Vulcan's Staff</var>
  15.         <var name="DarkStaff">Pluto's Staff</var>
  16.         <var name="LightStaff">Apollo's Staff</var>
  17. <!--Put your Elemental Grips here-->
  18.         <var name="IceGrip"></var>
  19.         <var name="WindGrip"></var>
  20.         <var name="EarthGrip">Earth Grip</var>
  21.         <var name="ThunderGrip"></var>
  22.         <var name="WaterGrip"></var>
  23.         <var name="FireGrip"></var>
  24.         <var name="DarkGrip">Dark Grip</var>
  25.         <var name="LightGrip">Light Grip</var>
  26. <!--Mark the Obi's you use to 1-->
  27.         <var name="LightObi">1</var>
  28.         <var name="DarkObi">0</var>
  29.         <var name="FireObi">0</var>
  30.         <var name="EarthObi">1</var>
  31.         <var name="WaterObi">0</var>
  32.         <var name="WindObi">0</var>
  33.         <var name="IceObi">1</var>
  34.         <var name="ThunderObi">1</var>
  35.         <var name="TwilightCape">1</var>
  36.  
  37. <!-- Sleep timers, announces to chat when sleep is wearing off. Set to 0 to not use. -->
  38. <!-- All teh Sleep timers in this xml file are set to /echo -->
  39.         <var name="SleepTimers">1</var>
  40.        
  41. <!--Nuking Sets-->
  42.     <!-- High/Mid/Low Resist NMs -->
  43.         <var name="HighResist">Tiamat|Genbu|Suzaku|Seiryu|Byakko|Kirin|Jormungand|Vrtra|Cerberus|Khimaira|Tyger|Jailer of Love|Sarameya|Ironclad*</var>
  44.         <var name="MidResist">Fafnir|Nidhogg|Aspidochelone|King Behemoth|Tinnin|Ouryu</var>
  45.         <var name="LightResist">Lambton Worm|Sandworm|Guivre|King Arthro|Serket</var>
  46.  
  47. <!--TP Lock-->
  48.         <var name="TPLock">10</var>
  49.  
  50.     </variables>
  51.  
  52.     <sets>
  53.         <group name="GEO" default="yes">
  54.             <set name="Idle" Baseset="FastCast">
  55.             </set>
  56.             <set name="Resting" Baseset="Normal">
  57.             </set>
  58.             <set name="FastCast">
  59.             </set>
  60.             <set name="Cure">
  61.             </set>
  62.             <set name="Stoneskin" Baseset="FastCast">
  63.             </set>
  64.             <set name="FullDamage">
  65.             </set>
  66.             <set name="HighResist" Baseset="FullDamage">
  67.             </set>
  68.             <set name="MidResist" Baseset="FullDamage">
  69.             </set>         
  70.             <set name="LightResist" Baseset="FullDamage">
  71.             </set>
  72.             <set name="Macc">
  73.             </set>
  74.             <set name="Enfeeble" Baseset="Macc">
  75.             </set>
  76.             <set name="TownGear" Baseset="Idle">
  77.                 <lring>Matrimony Band</lring>
  78.             </set>
  79.             <set name="GearCollectMisc"><!--Any other gear that's needed but not in a set-->
  80.             </set>
  81.         </group>
  82.     </sets>
  83.  
  84.     <rules>
  85.         <if Status="resting">
  86.             <action type="equip" when="resting" set="Resting" />
  87.         </if>
  88.         <if NotStatus="engaged">
  89.             <action type="equip" when="aftercast|idle" set="Idle" />
  90.             <if TPGT="1">
  91.                 <action type="equip" when="aftercast|idle">
  92.                     <neck>Chrys. Torque</neck>
  93.                 </action>
  94.             </if>
  95.         </if>
  96.         <if TPGT="$TPLock">
  97.             <action type="equip" when="precast|midcast|aftercast|engaged|idle">
  98.                 <main  lock="t" />
  99.                 <sub   lock="t" />
  100.                 <range lock="t" />
  101.                 <ammo lock="t" />
  102.             </action>
  103.         </if>
  104. <!-- Geo Abilities -->
  105.         <if Spell="Burst"><!-- Make a macro /ma "Burst" to see this note-->
  106.             <addtochat>[Cardinal Chant] NORTH: Shortens Cast Time</addtochat>
  107.             <addtochat>[Cardinal Chant] EAST: Macc Bonus</addtochat>
  108.             <addtochat>[Cardinal Chant] SOUTH: Magic Crit Hit Bonus</addtochat>
  109.             <addtochat>[Cardinal Chant] WEST: MaB</addtochat>
  110.             <addtochat>[Cardinal Chant] NE/SE/NW/SW: 50% bonus from each adjacent Cardinal Direction</addtochat>
  111.         </if>
  112.         <if Spell="Lasting Emanation">
  113.             <addtochat>[%Spell] ~ Reduces the amount of HP my Luopan consumes ~</addtochat>
  114.         </if>
  115.         <elseif Spell="Ecliptic Attrition">
  116.             <addtochat>[%Spell] ~ Enhances Luopan effect and HP consumption ~</addtochat>
  117.         </elseif>
  118.         <elseif Spell="Collimated Fervor">
  119.             <addtochat>[%Spell] ~ Enhances Cardinal Chant influence effect ~</addtochat>
  120.         </elseif>
  121.         <elseif Spell="Life Cycle">
  122.             <addtochat>[%Spell] ~ Distributes 1/4 of my HP to my Luopan ~</addtochat>
  123.         </elseif>
  124.         <elseif Spell="Blaze of Glory">
  125.             <addtochat>[%Spell] ~ Consumes half my Luopan's Life to increase next applicable Geo Spell ~</addtochat>
  126.         </elseif>
  127.         <elseif Spell="Dematerialize">
  128.             <addtochat>[%Spell] ~ Prevents my Luopan from receiving damage ~</addtochat>
  129.         </elseif>
  130.         <elseif Spell="Theurgic Focus">
  131.             <addtochat>[%Spell] ~ Decreases AoE and Casting Range to Increase power of next Elemental Magic Spell ~</addtochat>
  132.         </elseif>
  133.         <elseif Spell="Concentric Pulse">
  134.             <addtochat>[%Spell] ~ Luopan vanishes dealing AoE damage ~</addtochat>
  135.         </elseif>
  136.        
  137. <!-- Status -->
  138.         <if BuffActive="Silence" CommandPrefix="/ma|/magic|/ninjutsu">
  139.             <action Type="CancelSpell" />
  140.             <action Type="Command">input /echo Silenced..</action>
  141.         </if>
  142.         <if BuffActive="Sleep">
  143.             <action Type="CancelSpell" />
  144.             <action Type="Command">input /echo Z_z...</action>
  145.             <action type="command" when="midcast">cancel 37</action>
  146.         </if>
  147.  
  148. <!-- Cancel and Buffs -->
  149.         <if Spell="Stoneskin">
  150.             <action type="equip" when="precast" set="Stoneskin" />
  151.             <action type="midcastdelay" delay="3.5" />
  152.             <action type="command" when="midcast">cancel 37</action>
  153.         </if>
  154.         <elseif Spell="Blink">
  155.             <action type="midcastdelay" delay="2" />
  156.             <action type="command" when="midcast">cancel 36</action>
  157.         </elseif>
  158.         <elseif Spell="Sneak|Invisible|Deodorize">
  159.             <action type="midcastdelay" delay="1.5" />
  160.             <if Spell="Sneak" BuffActive="Sneak" advanced='"%SpellTarget"="%PlayerName" OR "%SpellTarget"="&lt;me&gt;" OR ("%target"="%PlayerName" AND "%SpellTarget"="&lt;t&gt;")'>
  161.                 <action type="command" when="midcast">cancel 71</action>
  162.             </if>
  163.         </elseif>
  164.         <elseif Spell="Reraise*">
  165.             <action type="midcastdelay" delay="3.5" />
  166.             <action type="equip" when="precast" set="FastCast" />
  167.             <action type="command" when="midcast">cancel 113</action>
  168.         </elseif>
  169.  
  170. <!-- Sleep/Repose -->
  171.         <if Spell="Sleep*|Repose">
  172.             <if Advanced='("Dark" = "%WeatherElement" OR "Light" = "%DayElement")'>
  173.                 <if Element="Dark"><action type="equip" when="midcast"><waist lock="yes">Anrin Obi</waist></action></if>
  174.             </if>
  175.             <if Advanced='("Light" = "%WeatherElement" OR "Light" = "%DayElement")'>
  176.                 <elseif Element="Light"><action type="equip" when="midcast"><waist lock="yes">Korin Obi</waist></action></elseif>
  177.             </if>
  178.             <if Spell="Repose">
  179.                 <if Moon="*Quarter Moon|New Moon">
  180.                     <action type="equip" when="midcast">
  181.                         <neck>Artemis' Medal</neck>
  182.                     </action>
  183.                 </if>
  184.                 <action type="equip" when="Precast" set="Macc">
  185.                     <body>Augur's Jaseran</body>
  186.                 </action>
  187.                 <if advanced='"$SleepTimers"="1"'>
  188.                     <command when="aftercast">Spellcast var inc sleepid;wait 45;input /echo [$sleepid:%Spell] &lt;%Target&gt; Wearing off in 45s</command>
  189.                     <command when="aftercast">wait 75;input /echo [$sleepid:%Spell] &lt;%Target&gt;Wearing off in 15s</command>
  190.                     <command when="aftercast">wait 85;input /echo [$sleepid:%Spell] &lt;%Target&gt;Wearing off in 5s;Spellcast var dec sleepid;</command>
  191.                 </if>
  192.             </if>
  193.             <if Spell="Sleep*">
  194.                 <if Moon="*Quarter Moon|New Moon">
  195.                     <action type="equip" when="midcast">
  196.                         <neck>Artemis' Medal</neck>
  197.                     </action>
  198.                 </if>
  199.                 <action type="equip" when="precast" set="Enfeeble" />
  200.                 <if advanced='"$SleepTimers"="1"'>
  201.                     <if Spell="Sleep II">
  202.                         <action type="command" when="aftercast">Spellcast var inc sleepid;wait 45;input /echo [$sleepid:%Spell] &lt;%target&gt; Wearing off in 45s</action>
  203.                         <action type="command" when="aftercast">wait 75;input /echo [$sleepid:%Spell] &lt;%target&gt; Wearing off in 15s</action>
  204.                         <action type="command" when="aftercast">wait 85;input /echo [$sleepid:%Spell] &lt;%target&gt; Wearing off in 5s;Spellcast var dec sleepid;</action>
  205.                     </if>
  206.                     <elseif Spell="Sleep|Sleepga">
  207.                         <action type="command" when="aftercast">Spellcast var inc sleepid;wait 45;input /echo [$sleepid:%Spell] &lt;%target&gt; Wearing off in 15s</action>
  208.                         <action type="command" when="aftercast">wait 55;input /echo [$sleepid:%Spell] &lt;%target&gt; Wearing off in 5s;Spellcast var dec sleepid;</action>
  209.                     </elseif>
  210.                 </if>
  211.             </if>
  212.         </if>
  213.  
  214. <!-- Healing Magic -->
  215.         <if Skill="HealingMagic">
  216.             <if Spell="*na|Sacrifice|Raise*" NotSpell="Esuna">
  217.                 <action type="equip" when="precast" set="FastCast" />
  218.             </if>
  219.             <elseif Spell="Cure*">
  220.                 <if Spell="Cur*">
  221.                     <action type="equip" when="precast" set="Cure" />
  222.                 </if>
  223.                 <if Advanced='("Light" = "%WeatherElement" OR "Light" = "%DayElement")'>
  224.                     <action type="equip" when="midcast"><waist lock="yes">Korin Obi</waist></action>
  225.                     <action type="equip" when="midcast"><back lock="yes">Twilight Cape</back></action>
  226.                 </if>
  227.                 <if Spell="Cure IV">
  228.                     <if NotBuffActive="*Arts|Penury">
  229.                         <if MPLT="88"><action type="ChangeSpell" Spell="Cure III" /></if>
  230.                         <if MPLT="46"><action type="ChangeSpell" Spell="Cure II" /></if>
  231.                         <if MPLT="24"><action type="ChangeSpell" Spell="Cure" /></if>
  232.                         <if MPLT="8"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  233.                     </if>
  234.                     <elseif BuffActive="Dark Arts">
  235.                         <if MPLT="106"><action type="ChangeSpell" Spell="Cure III" /></if>
  236.                         <if MPLT="56"><action type="ChangeSpell" Spell="Cure II" /></if>
  237.                         <if MPLT="29"><action type="ChangeSpell" Spell="Cure" /></if>
  238.                         <if MPLT="10"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  239.                     </elseif>
  240.                     <elseif BuffActive="Light Arts" NotBuffActive="Penury">
  241.                         <if MPLT="80"><action type="ChangeSpell" Spell="Cure III" /></if>
  242.                         <if MPLT="42"><action type="ChangeSpell" Spell="Cure II" /></if>
  243.                         <if MPLT="22"><action type="ChangeSpell" Spell="Cure" /></if>
  244.                         <if MPLT="8"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  245.                     </elseif>
  246.                     <elseif BuffActive="Penury">
  247.                         <if MPLT="44"><action type="ChangeSpell" Spell="Cure III" /></if>
  248.                         <if MPLT="23"><action type="ChangeSpell" Spell="Cure II" /></if>
  249.                         <if MPLT="12"><action type="ChangeSpell" Spell="Cure" /></if>
  250.                         <if MPLT="4"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  251.                     </elseif>
  252.                 </if>
  253.                 <elseif Spell="Cure III">
  254.                     <if NotBuffActive="*Arts|Penury">
  255.                         <if MPLT="46"><action type="ChangeSpell" Spell="Cure II" /></if>
  256.                         <if MPLT="24"><action type="ChangeSpell" Spell="Cure" /></if>
  257.                         <if MPLT="8"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  258.                     </if>
  259.                     <elseif BuffActive="Dark Arts">
  260.                         <if MPLT="56"><action type="ChangeSpell" Spell="Cure II" /></if>
  261.                         <if MPLT="29"><action type="ChangeSpell" Spell="Cure" /></if>
  262.                         <if MPLT="10"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  263.                     </elseif>
  264.                     <elseif BuffActive="Light Arts" NotBuffActive="Penury">
  265.                         <if MPLT="42"><action type="ChangeSpell" Spell="Cure II" /></if>
  266.                         <if MPLT="22"><action type="ChangeSpell" Spell="Cure" /></if>
  267.                         <if MPLT="8"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  268.                     </elseif>
  269.                     <elseif BuffActive="Penury">
  270.                         <if MPLT="23"><action type="ChangeSpell" Spell="Cure II" /></if>
  271.                         <if MPLT="12"><action type="ChangeSpell" Spell="Cure" /></if>
  272.                         <if MPLT="4"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  273.                     </elseif>
  274.                 </elseif>
  275.                 <elseif Spell="Cure II">
  276.                     <if NotBuffActive="*Arts|Penury">
  277.                         <if MPLT="24"><action type="ChangeSpell" Spell="Cure" /></if>
  278.                         <if MPLT="8"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  279.                     </if>
  280.                     <elseif BuffActive="Dark Arts">
  281.                         <if MPLT="29"><action type="ChangeSpell" Spell="Cure" /></if>
  282.                         <if MPLT="10"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  283.                     </elseif>
  284.                     <elseif BuffActive="Light Arts" NotBuffActive="Penury">
  285.                         <if MPLT="22"><action type="ChangeSpell" Spell="Cure" /></if>
  286.                         <if MPLT="8"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  287.                     </elseif>
  288.                     <elseif BuffActive="Penury">
  289.                         <if MPLT="12"><action type="ChangeSpell" Spell="Cure" /></if>
  290.                         <if MPLT="4"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  291.                     </elseif>
  292.                 </elseif>
  293.                 <elseif Spell="Cure">
  294.                     <if NotBuffActive="*Arts|Penury">
  295.                         <if MPLT="8"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  296.                     </if>
  297.                     <elseif BuffActive="Dark Arts">
  298.                         <if MPLT="10"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  299.                     </elseif>
  300.                     <elseif BuffActive="Light Arts" NotBuffActive="Penury">
  301.                         <if MPLT="8"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  302.                     </elseif>
  303.                     <elseif BuffActive="Penury">
  304.                         <if MPLT="4"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  305.                     </elseif>
  306.                 </elseif>
  307.             </elseif>
  308.         </if>  
  309.  
  310. <!-- Enhancing Magic -->
  311.         <if Skill="EnhancingMagic">
  312.             <elseif Spell="Haste|Erase">
  313.                 <action type="equip" when="precast" set="FastCast" />
  314.             </elseif>
  315.         </if>
  316.  
  317. <!-- Enfeebling/Dark Magic -->
  318.         <if Skill="DarkMagic">
  319.             <if Advanced='("Dark" = "%WeatherElement" OR "Dark" = "%DayElement")'>
  320.                     <action type="equip" when="midcast"><waist lock="yes">Anrin Obi</waist></action>
  321.                     <action type="equip" when="midcast"><back lock="yes">Twilight Cape</back></action>
  322.             </if>
  323.  
  324.             <if Spell="Bio*|Drain*|Aspir|Stun">
  325.                 <action type="equip" when="precast" set="Macc" />
  326.                 <if Moon="*Quarter Moon|New Moon">
  327.                     <action type="equip" when="midcast">
  328.                         <neck>Artemis' Medal</neck>
  329.                     </action>
  330.                 </if>
  331.             </if>  
  332.         </if>      
  333.         <if Skill="EnfeeblingMagic">
  334.             <if Spell="Blind|Bind|Poison|Gravity|Paralyze|Silence|Slow">
  335.                 <action type="equip" when="precast" set="Enfeeble" />
  336.                 <if Moon="*Quarter Moon|New Moon">
  337.                     <action type="equip" when="midcast">
  338.                         <neck>Artemis' Medal</neck>
  339.                     </action>
  340.                 </if>
  341.             </if>
  342.         </if>
  343.  
  344. <!-- Elemental Magic -->
  345.         <if Skill="ElementalMagic">
  346.             <!-- Check target to be a known high resist mob (and that ES is not active) -->
  347.             <if SpellTargetName="$HighResist">
  348.                 <if NotBuffActive="Elemental Seal">
  349.                     <action type="equip" when="precast" Set="HighResist" />
  350.                 </if>
  351.                 <if BuffActive="Elemental Seal">
  352.                     <action type="equip" when="precast" Set="FullDamage" />
  353.                     <if Moon="*Quarter Moon|*Gibbous|Full Moon">
  354.                         <action type="equip" when="midcast">
  355.                             <neck>Artemis' Medal</neck>
  356.                         </action>
  357.                     </if>
  358.                 </if>
  359.             </if>
  360.             <!-- if mob is not high resist, is it a mid resist mob? -->
  361.             <if NotSpellTargetName="$HighResist">
  362.                 <if mode="or" Area="Abyssea*" SpellTargetName="$MidResist">
  363.                     <if NotBuffActive="Elemental Seal">
  364.                         <action type="equip" when="precast" Set="MidResist" />
  365.                     </if>
  366.                     <if BuffActive="Elemental Seal">
  367.                         <action type="equip" when="precast" Set="FullDamage" />
  368.                     </if>
  369.                     <if Moon="*Quarter Moon|*Gibbous|Full Moon">
  370.                         <action type="equip" when="midcast">
  371.                             <neck>Artemis' Medal</neck>
  372.                         </action>
  373.                     </if>
  374.                 </if>
  375.             </if>
  376.             <!-- Normal mob, go full damage gear. -->
  377.             <if mode="or" Area="Dynamis*|Hazhalm*" SpellTargetName="$LightResist">
  378.                 <if NotBuffActive="Elemental Seal">
  379.                     <action type="equip" when="precast" Set="LightResist" />
  380.                 </if>
  381.                 <if BuffActive="Elemental Seal">
  382.                     <action type="equip" when="precast" Set="FullDamage" />
  383.                 </if>
  384.                 <if Moon="*Quarter Moon|*Gibbous|Full Moon">
  385.                     <action type="equip" when="midcast">
  386.                         <neck>Artemis' Medal</neck>
  387.                     </action>
  388.                 </if>
  389.             </if>
  390.             <elseif mode="or" NotSpellTargetName="$HighResist|$MidResist|$LightResist" NotArea="Dynamis*|Hazhalm*|Abyssea*">
  391.                 <action type="equip" when="precast" Set="FullDamage" />
  392.                 <if Moon="*Quarter Moon|*Gibbous|Full Moon">
  393.                     <action type="equip" when="midcast">
  394.                         <neck>Artemis' Medal</neck>
  395.                     </action>
  396.                 </if>
  397.             </elseif>
  398.             <!-- Obi's -->
  399.             <if Advanced='("%SpellElement" = "%WeatherElement" OR "%SpellElement" = "%DayElement") AND "$%SpellElementObi" = "1"'>
  400.                 <if Element="Dark"><action type="equip" when="midcast"><waist lock="yes">Anrin Obi</waist></action></if>
  401.                 <elseif Element="Light"><action type="equip" when="midcast"><waist lock="yes">Korin Obi</waist></action></elseif>
  402.                 <elseif Element="Thunder"><action type="equip" when="midcast"><waist lock="yes">Rairin Obi</waist></action></elseif>
  403.                 <elseif Element="Ice"><action type="equip" when="midcast"><waist lock="yes">Hyorin Obi</waist></action></elseif>
  404.                 <elseif Element="Fire"><action type="equip" when="midcast"><waist lock="yes">Karin Obi</waist></action></elseif>
  405.                 <elseif Element="Wind"><action type="equip" when="midcast"><waist lock="yes">Furin Obi</waist></action></elseif>
  406.                 <elseif Element="Water"><action type="equip" when="midcast"><waist lock="yes">Suirin Obi</waist></action></elseif>
  407.                 <elseif Element="Earth"><action type="equip" when="midcast"><waist lock="yes">Dorin Obi</waist></action></elseif>
  408.             </if>
  409.             <if Advanced='("%SpellElement" = "%WeatherElement" OR "%SpellElement" = "%DayElement") AND "$TwilightCape" = "1"'>
  410.                 <action type="equip" when="midcast"><back lock="yes">Twilight Cape</back></action>
  411.             </if>
  412.             <!-- Spells -->
  413.             <if Spell="Fir*|Burn">
  414.                 <action type="equip" when="precast">
  415.                     <main>$FireStaff</main>
  416.                     <sub>$FireGrip</sub>
  417.                 </action>
  418.                 <if Spell="Burn">
  419.                     <action type="equip" when="precast" set="HighResist">
  420.                         <main>$FireStaff</main>
  421.                         <sub>$FireGrip</sub>
  422.                     </action>
  423.                 </if>
  424.                 <if Spell="Fire IV">
  425.                     <if NotBuffActive="*Arts">
  426.                         <if MPLT="157"><action type="ChangeSpell" Spell="Fire III" /></if>
  427.                         <if MPLT="113"><action type="ChangeSpell" Spell="Fire II" /></if>
  428.                         <if MPLT="68"><action type="ChangeSpell" Spell="Fire" /></if>
  429.                         <if MPLT="24"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  430.                     </if>
  431.                     <if BuffActive="Light Arts">
  432.                         <if MPLT="189"><action type="ChangeSpell" Spell="Fire III" /></if>
  433.                         <if MPLT="136"><action type="ChangeSpell" Spell="Fire II" /></if>
  434.                         <if MPLT="82"><action type="ChangeSpell" Spell="Fire" /></if>
  435.                         <if MPLT="29"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  436.                     </if>
  437.                     <if BuffActive="Dark Arts" NotBuffActive="Parsimony">
  438.                         <if MPLT="142"><action type="ChangeSpell" Spell="Fire III" /></if>
  439.                         <if MPLT="102"><action type="ChangeSpell" Spell="Fire II" /></if>
  440.                         <if MPLT="62"><action type="ChangeSpell" Spell="Fire" /></if>
  441.                         <if MPLT="22"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  442.                     </if>
  443.                     <if BuffActive="Parsimony">
  444.                         <if MPLT="79"><action type="ChangeSpell" Spell="Fire III" /></if>
  445.                         <if MPLT="57"><action type="ChangeSpell" Spell="Fire II" /></if>
  446.                         <if MPLT="34"><action type="ChangeSpell" Spell="Fire" /></if>
  447.                         <if MPLT="12"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  448.                     </if>
  449.                 </if>
  450.                 <if Spell="Fire III">
  451.                     <if NotBuffActive="*Arts">
  452.                         <if MPLT="113"><action type="ChangeSpell" Spell="Fire II" /></if>
  453.                         <if MPLT="68"><action type="ChangeSpell" Spell="Fire" /></if>
  454.                         <if MPLT="24"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  455.                     </if>
  456.                     <if BuffActive="Light Arts">
  457.                         <if MPLT="136"><action type="ChangeSpell" Spell="Fire II" /></if>
  458.                         <if MPLT="82"><action type="ChangeSpell" Spell="Fire" /></if>
  459.                         <if MPLT="29"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  460.                     </if>
  461.                     <if BuffActive="Dark Arts" NotBuffActive="Parsimony">
  462.                         <if MPLT="102"><action type="ChangeSpell" Spell="Fire II" /></if>
  463.                         <if MPLT="62"><action type="ChangeSpell" Spell="Fire" /></if>
  464.                         <if MPLT="22"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  465.                     </if>
  466.                     <if BuffActive="Parsimony">
  467.                         <if MPLT="57"><action type="ChangeSpell" Spell="Fire II" /></if>
  468.                         <if MPLT="34"><action type="ChangeSpell" Spell="Fire" /></if>
  469.                         <if MPLT="12"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  470.                     </if>
  471.                 </if>
  472.                 <if Spell="Fire II">
  473.                     <if NotBuffActive="*Arts">
  474.                         <if MPLT="68"><action type="ChangeSpell" Spell="Fire" /></if>
  475.                         <if MPLT="24"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  476.                     </if>
  477.                     <if BuffActive="Light Arts">
  478.                         <if MPLT="82"><action type="ChangeSpell" Spell="Fire" /></if>
  479.                         <if MPLT="29"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  480.                     </if>
  481.                     <if BuffActive="Dark Arts" NotBuffActive="Parsimony">
  482.                         <if MPLT="62"><action type="ChangeSpell" Spell="Fire" /></if>
  483.                         <if MPLT="22"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  484.                     </if>
  485.                     <if BuffActive="Parsimony">
  486.                         <if MPLT="34"><action type="ChangeSpell" Spell="Fire" /></if>
  487.                         <if MPLT="12"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  488.                     </if>
  489.                 </if>
  490.                 <if Spell="Fire">
  491.                     <if NotBuffActive="*Arts">
  492.                         <if MPLT="24"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  493.                     </if>
  494.                     <if BuffActive="Light Arts">
  495.                         <if MPLT="29"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  496.                     </if>
  497.                     <if BuffActive="Dark Arts" NotBuffActive="Parsimony">
  498.                         <if MPLT="22"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  499.                     </if>
  500.                     <if BuffActive="Parsimony">
  501.                         <if MPLT="12"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  502.                     </if>
  503.                 </if>
  504.             </if>
  505.             <if Spell="Water*|Drown">
  506.                 <action type="equip" when="precast">
  507.                     <main>$WaterStaff</main>
  508.                     <sub>$WaterGrip</sub>
  509.                 </action>
  510.                 <if Spell="Drown">
  511.                     <action type="equip" when="precast" set="HighResist">
  512.                         <main>$WaterStaff</main>
  513.                         <sub>$WaterGrip</sub>
  514.                     </action>
  515.                 </if>
  516.                 <if Spell="Water IV">
  517.                     <if NotBuffActive="*Arts">
  518.                         <if MPLT="144"><action type="ChangeSpell" Spell="Water III" /></if>
  519.                         <if MPLT="98"><action type="ChangeSpell" Spell="Water II" /></if>
  520.                         <if MPLT="51"><action type="ChangeSpell" Spell="Water" /></if>
  521.                         <if MPLT="13"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  522.                     </if>
  523.                     <if BuffActive="Light Arts">
  524.                         <if MPLT="173"><action type="ChangeSpell" Spell="Water III" /></if>
  525.                         <if MPLT="118"><action type="ChangeSpell" Spell="Water II" /></if>
  526.                         <if MPLT="62"><action type="ChangeSpell" Spell="Water" /></if>
  527.                         <if MPLT="16"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  528.                     </if>
  529.                     <if BuffActive="Dark Arts" NotBuffActive="Parsimony">
  530.                         <if MPLT="130"><action type="ChangeSpell" Spell="Water III" /></if>
  531.                         <if MPLT="89"><action type="ChangeSpell" Spell="Water II" /></if>
  532.                         <if MPLT="46"><action type="ChangeSpell" Spell="Water" /></if>
  533.                         <if MPLT="12"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  534.                     </if>
  535.                     <if BuffActive="Parsimony">
  536.                         <if MPLT="72"><action type="ChangeSpell" Spell="Water III" /></if>
  537.                         <if MPLT="49"><action type="ChangeSpell" Spell="Water II" /></if>
  538.                         <if MPLT="26"><action type="ChangeSpell" Spell="Water" /></if>
  539.                         <if MPLT="7"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  540.                     </if>
  541.                 </if>
  542.                 <if Spell="Water III">
  543.                     <if NotBuffActive="*Arts">
  544.                         <if MPLT="98"><action type="ChangeSpell" Spell="Water II" /></if>
  545.                         <if MPLT="51"><action type="ChangeSpell" Spell="Water" /></if>
  546.                         <if MPLT="13"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  547.                     </if>
  548.                     <if BuffActive="Light Arts">
  549.                         <if MPLT="118"><action type="ChangeSpell" Spell="Water II" /></if>
  550.                         <if MPLT="62"><action type="ChangeSpell" Spell="Water" /></if>
  551.                         <if MPLT="16"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  552.                     </if>
  553.                     <if BuffActive="Dark Arts" NotBuffActive="Parsimony">
  554.                         <if MPLT="89"><action type="ChangeSpell" Spell="Water II" /></if>
  555.                         <if MPLT="46"><action type="ChangeSpell" Spell="Water" /></if>
  556.                         <if MPLT="12"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  557.                     </if>
  558.                     <if BuffActive="Parsimony">
  559.                         <if MPLT="49"><action type="ChangeSpell" Spell="Water II" /></if>
  560.                         <if MPLT="26"><action type="ChangeSpell" Spell="Water" /></if>
  561.                         <if MPLT="7"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  562.                     </if>
  563.                 </if>
  564.                 <if Spell="Water II">
  565.                     <if NotBuffActive="*Arts">
  566.                         <if MPLT="51"><action type="ChangeSpell" Spell="Water" /></if>
  567.                         <if MPLT="13"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  568.                     </if>
  569.                     <if BuffActive="Light Arts">
  570.                         <if MPLT="62"><action type="ChangeSpell" Spell="Water" /></if>
  571.                         <if MPLT="16"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  572.                     </if>
  573.                     <if BuffActive="Dark Arts" NotBuffActive="Parsimony">
  574.                         <if MPLT="46"><action type="ChangeSpell" Spell="Water" /></if>
  575.                         <if MPLT="12"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  576.                     </if>
  577.                     <if BuffActive="Parsimony">
  578.                         <if MPLT="26"><action type="ChangeSpell" Spell="Water" /></if>
  579.                         <if MPLT="7"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  580.                     </if>
  581.                 </if>
  582.                 <if Spell="Water">
  583.                     <if NotBuffActive="*Arts">
  584.                         <if MPLT="13"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  585.                     </if>
  586.                     <if BuffActive="Light Arts">
  587.                         <if MPLT="16"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  588.                     </if>
  589.                     <if BuffActive="Dark Arts" NotBuffActive="Parsimony">
  590.                         <if MPLT="12"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  591.                     </if>
  592.                     <if BuffActive="Parsimony">
  593.                         <if MPLT="7"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  594.                     </if>
  595.                 </if>
  596.             </if>
  597.             <if Spell="Thund*|Shock">
  598.                 <action type="equip" when="precast">
  599.                     <main>$ThunderStaff</main>
  600.                     <sub>$ThunderGrip</sub>
  601.                 </action>
  602.                 <if Spell="Shock">
  603.                     <action type="equip" when="precast" set="HighResist">
  604.                         <main>$ThunderStaff</main>
  605.                         <sub>$ThunderGrip</sub>
  606.                     </action>
  607.                 </if>
  608.                 <if Spell="Thunder IV">
  609.                     <if NotBuffActive="*Arts">
  610.                         <if MPLT="171"><action type="ChangeSpell" Spell="Thunder III" /></if>
  611.                         <if MPLT="128"><action type="ChangeSpell" Spell="Thunder II" /></if>
  612.                         <if MPLT="86"><action type="ChangeSpell" Spell="Thunder" /></if>
  613.                         <if MPLT="37"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  614.                     </if>
  615.                     <if BuffActive="Light Arts">
  616.                         <if MPLT="206"><action type="ChangeSpell" Spell="Thunder III" /></if>
  617.                         <if MPLT="154"><action type="ChangeSpell" Spell="Thunder II" /></if>
  618.                         <if MPLT="104"><action type="ChangeSpell" Spell="Thunder" /></if>
  619.                         <if MPLT="45"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  620.                     </if>
  621.                     <if BuffActive="Dark Arts" NotBuffActive="Parsimony">
  622.                         <if MPLT="154"><action type="ChangeSpell" Spell="Thunder III" /></if>
  623.                         <if MPLT="116"><action type="ChangeSpell" Spell="Thunder II" /></if>
  624.                         <if MPLT="78"><action type="ChangeSpell" Spell="Thunder" /></if>
  625.                         <if MPLT="34"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  626.                     </if>
  627.                     <if BuffActive="Parsimony">
  628.                         <if MPLT="86"><action type="ChangeSpell" Spell="Thunder III" /></if>
  629.                         <if MPLT="64"><action type="ChangeSpell" Spell="Thunder II" /></if>
  630.                         <if MPLT="43"><action type="ChangeSpell" Spell="Thunder" /></if>
  631.                         <if MPLT="19"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  632.                     </if>
  633.                 </if>
  634.                 <if Spell="Thunder III">
  635.                     <if NotBuffActive="*Arts">
  636.                         <if MPLT="128"><action type="ChangeSpell" Spell="Thunder II" /></if>
  637.                         <if MPLT="86"><action type="ChangeSpell" Spell="Thunder" /></if>
  638.                         <if MPLT="37"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  639.                     </if>
  640.                     <if BuffActive="Light Arts">
  641.                         <if MPLT="154"><action type="ChangeSpell" Spell="Thunder II" /></if>
  642.                         <if MPLT="104"><action type="ChangeSpell" Spell="Thunder" /></if>
  643.                         <if MPLT="45"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  644.                     </if>
  645.                     <if BuffActive="Dark Arts" NotBuffActive="Parsimony">
  646.                         <if MPLT="116"><action type="ChangeSpell" Spell="Thunder II" /></if>
  647.                         <if MPLT="78"><action type="ChangeSpell" Spell="Thunder" /></if>
  648.                         <if MPLT="34"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  649.                     </if>
  650.                     <if BuffActive="Parsimony">
  651.                         <if MPLT="64"><action type="ChangeSpell" Spell="Thunder II" /></if>
  652.                         <if MPLT="43"><action type="ChangeSpell" Spell="Thunder" /></if>
  653.                         <if MPLT="19"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  654.                     </if>
  655.                 </if>
  656.                 <if Spell="Thunder II">
  657.                     <if NotBuffActive="*Arts">
  658.                         <if MPLT="86"><action type="ChangeSpell" Spell="Thunder" /></if>
  659.                         <if MPLT="37"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  660.                     </if>
  661.                     <if BuffActive="Light Arts">
  662.                         <if MPLT="104"><action type="ChangeSpell" Spell="Thunder" /></if>
  663.                         <if MPLT="45"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  664.                     </if>
  665.                     <if BuffActive="Dark Arts" NotBuffActive="Parsimony">
  666.                         <if MPLT="78"><action type="ChangeSpell" Spell="Thunder" /></if>
  667.                         <if MPLT="34"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  668.                     </if>
  669.                     <if BuffActive="Parsimony">
  670.                         <if MPLT="43"><action type="ChangeSpell" Spell="Thunder" /></if>
  671.                         <if MPLT="19"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  672.                     </if>
  673.                 </if>
  674.                 <if Spell="Thunder">
  675.                     <if NotBuffActive="*Arts">
  676.                         <if MPLT="37"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  677.                     </if>
  678.                     <if BuffActive="Light Arts">
  679.                         <if MPLT="45"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  680.                     </if>
  681.                     <if BuffActive="Dark Arts" NotBuffActive="Parsimony">
  682.                         <if MPLT="34"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  683.                     </if>
  684.                     <if BuffActive="Parsimony">
  685.                         <if MPLT="19"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  686.                     </if>
  687.                 </if>
  688.             </if>
  689.             <if Spell="Ston*|Rasp">
  690.                 <action type="equip" when="precast">
  691.                     <main>$EarthStaff</main>
  692.                     <sub>$EarthGrip</sub>
  693.                 </action>
  694.                 <if Spell="Rasp">
  695.                     <action type="equip" when="precast" set="HighResist">
  696.                         <main>$EarthStaff</main>
  697.                         <sub>$EarthGrip</sub>
  698.                     </action>
  699.                 </if>
  700.                 <if Spell="Stone IV">
  701.                     <if NotBuffActive="*Arts">
  702.                         <if MPLT="138"><action type="ChangeSpell" Spell="Stone III" /></if>
  703.                         <if MPLT="92"><action type="ChangeSpell" Spell="Stone II" /></if>
  704.                         <if MPLT="43"><action type="ChangeSpell" Spell="Stone" /></if>
  705.                         <if MPLT="9"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  706.                     </if>
  707.                     <if BuffActive="Light Arts">
  708.                         <if MPLT="166"><action type="ChangeSpell" Spell="Stone III" /></if>
  709.                         <if MPLT="111"><action type="ChangeSpell" Spell="Stone II" /></if>
  710.                         <if MPLT="52"><action type="ChangeSpell" Spell="Stone" /></if>
  711.                         <if MPLT="11"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  712.                     </if>
  713.                     <if BuffActive="Dark Arts" NotBuffActive="Parsimony">
  714.                         <if MPLT="125"><action type="ChangeSpell" Spell="Stone III" /></if>
  715.                         <if MPLT="83"><action type="ChangeSpell" Spell="Stone II" /></if>
  716.                         <if MPLT="39"><action type="ChangeSpell" Spell="Stone" /></if>
  717.                         <if MPLT="9"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  718.                     </if>
  719.                     <if BuffActive="Parsimony">
  720.                         <if MPLT="69"><action type="ChangeSpell" Spell="Stone III" /></if>
  721.                         <if MPLT="46"><action type="ChangeSpell" Spell="Stone II" /></if>
  722.                         <if MPLT="22"><action type="ChangeSpell" Spell="Stone" /></if>
  723.                         <if MPLT="5"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  724.                     </if>
  725.                 </if>
  726.                 <if Spell="Stone III">
  727.                     <if NotBuffActive="*Arts">
  728.                         <if MPLT="92"><action type="ChangeSpell" Spell="Stone II" /></if>
  729.                         <if MPLT="43"><action type="ChangeSpell" Spell="Stone" /></if>
  730.                         <if MPLT="9"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  731.                     </if>
  732.                     <if BuffActive="Light Arts">
  733.                         <if MPLT="111"><action type="ChangeSpell" Spell="Stone II" /></if>
  734.                         <if MPLT="52"><action type="ChangeSpell" Spell="Stone" /></if>
  735.                         <if MPLT="11"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  736.                     </if>
  737.                     <if BuffActive="Dark Arts" NotBuffActive="Parsimony">
  738.                         <if MPLT="83"><action type="ChangeSpell" Spell="Stone II" /></if>
  739.                         <if MPLT="39"><action type="ChangeSpell" Spell="Stone" /></if>
  740.                         <if MPLT="9"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  741.                     </if>
  742.                     <if BuffActive="Parsimony">
  743.                         <if MPLT="46"><action type="ChangeSpell" Spell="Stone II" /></if>
  744.                         <if MPLT="22"><action type="ChangeSpell" Spell="Stone" /></if>
  745.                         <if MPLT="5"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  746.                     </if>
  747.                 </if>
  748.                 <if Spell="Stone II">
  749.                     <if NotBuffActive="*Arts">
  750.                         <if MPLT="43"><action type="ChangeSpell" Spell="Stone" /></if>
  751.                         <if MPLT="9"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  752.                     </if>
  753.                     <if BuffActive="Light Arts">
  754.                         <if MPLT="52"><action type="ChangeSpell" Spell="Stone" /></if>
  755.                         <if MPLT="11"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  756.                     </if>
  757.                     <if BuffActive="Dark Arts" NotBuffActive="Parsimony">
  758.                         <if MPLT="39"><action type="ChangeSpell" Spell="Stone" /></if>
  759.                         <if MPLT="9"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  760.                     </if>
  761.                     <if BuffActive="Parsimony">
  762.                         <if MPLT="22"><action type="ChangeSpell" Spell="Stone" /></if>
  763.                         <if MPLT="5"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  764.                     </if>
  765.                 </if>
  766.                 <if Spell="Stone">
  767.                     <if NotBuffActive="*Arts">
  768.                         <if MPLT="9"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  769.                     </if>
  770.                     <if BuffActive="Light Arts">
  771.                         <if MPLT="11"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  772.                     </if>
  773.                     <if BuffActive="Dark Arts" NotBuffActive="Parsimony">
  774.                         <if MPLT="9"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  775.                     </if>
  776.                     <if BuffActive="Parsimony">
  777.                         <if MPLT="5"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  778.                     </if>
  779.                 </if>
  780.             </if>
  781.             <if Spell="Aero*|Choke">
  782.                 <action type="equip" when="precast">
  783.                     <main>$WindStaff</main>
  784.                     <sub>$WindGrip</sub>
  785.                 </action>
  786.                 <if Spell="Choke">
  787.                     <action type="equip" when="precast" set="HighResist">
  788.                         <main>$WindStaff</main>
  789.                         <sub>$WindGrip</sub>
  790.                     </action>
  791.                 </if>
  792.                 <if Spell="Aero IV">
  793.                     <if NotBuffActive="*Arts">
  794.                         <if MPLT="150"><action type="ChangeSpell" Spell="Aero III" /></if>
  795.                         <if MPLT="106"><action type="ChangeSpell" Spell="Aero II" /></if>
  796.                         <if MPLT="59"><action type="ChangeSpell" Spell="Aero" /></if>
  797.                         <if MPLT="18"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  798.                     </if>
  799.                     <if BuffActive="Light Arts">
  800.                         <if MPLT="180"><action type="ChangeSpell" Spell="Aero III" /></if>
  801.                         <if MPLT="128"><action type="ChangeSpell" Spell="Aero II" /></if>
  802.                         <if MPLT="71"><action type="ChangeSpell" Spell="Aero" /></if>
  803.                         <if MPLT="22"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  804.                     </if>
  805.                     <if BuffActive="Dark Arts" NotBuffActive="Parsimony">
  806.                         <if MPLT="135"><action type="ChangeSpell" Spell="Aero III" /></if>
  807.                         <if MPLT="96"><action type="ChangeSpell" Spell="Aero II" /></if>
  808.                         <if MPLT="54"><action type="ChangeSpell" Spell="Aero" /></if>
  809.                         <if MPLT="17"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  810.                     </if>
  811.                     <if BuffActive="Parsimony">
  812.                         <if MPLT="75"><action type="ChangeSpell" Spell="Aero III" /></if>
  813.                         <if MPLT="53"><action type="ChangeSpell" Spell="Aero II" /></if>
  814.                         <if MPLT="30"><action type="ChangeSpell" Spell="Aero" /></if>
  815.                         <if MPLT="9"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  816.                     </if>
  817.                 </if>
  818.                 <if Spell="Aero III">
  819.                     <if NotBuffActive="*Arts">
  820.                         <if MPLT="106"><action type="ChangeSpell" Spell="Aero II" /></if>
  821.                         <if MPLT="59"><action type="ChangeSpell" Spell="Aero" /></if>
  822.                         <if MPLT="18"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  823.                     </if>
  824.                     <if BuffActive="Light Arts">
  825.                         <if MPLT="128"><action type="ChangeSpell" Spell="Aero II" /></if>
  826.                         <if MPLT="71"><action type="ChangeSpell" Spell="Aero" /></if>
  827.                         <if MPLT="22"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  828.                     </if>
  829.                     <if BuffActive="Dark Arts" NotBuffActive="Parsimony">
  830.                         <if MPLT="96"><action type="ChangeSpell" Spell="Aero II" /></if>
  831.                         <if MPLT="54"><action type="ChangeSpell" Spell="Aero" /></if>
  832.                         <if MPLT="17"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  833.                     </if>
  834.                     <if BuffActive="Parsimony">
  835.                         <if MPLT="53"><action type="ChangeSpell" Spell="Aero II" /></if>
  836.                         <if MPLT="30"><action type="ChangeSpell" Spell="Aero" /></if>
  837.                         <if MPLT="9"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  838.                     </if>
  839.                 </if>
  840.                 <if Spell="Aero II">
  841.                     <if NotBuffActive="*Arts">
  842.                         <if MPLT="59"><action type="ChangeSpell" Spell="Aero" /></if>
  843.                         <if MPLT="18"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  844.                     </if>
  845.                     <if BuffActive="Light Arts">
  846.                         <if MPLT="71"><action type="ChangeSpell" Spell="Aero" /></if>
  847.                         <if MPLT="22"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  848.                     </if>
  849.                     <if BuffActive="Dark Arts" NotBuffActive="Parsimony">
  850.                         <if MPLT="54"><action type="ChangeSpell" Spell="Aero" /></if>
  851.                         <if MPLT="17"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  852.                     </if>
  853.                     <if BuffActive="Parsimony">
  854.                         <if MPLT="30"><action type="ChangeSpell" Spell="Aero" /></if>
  855.                         <if MPLT="9"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  856.                     </if>
  857.                 </if>
  858.                 <if Spell="Aero">
  859.                     <if NotBuffActive="*Arts">
  860.                         <if MPLT="18"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  861.                     </if>
  862.                     <if BuffActive="Light Arts">
  863.                         <if MPLT="22"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  864.                     </if>
  865.                     <if BuffActive="Dark Arts" NotBuffActive="Parsimony">
  866.                         <if MPLT="17"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  867.                     </if>
  868.                     <if BuffActive="Parsimony">
  869.                         <if MPLT="9"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  870.                     </if>
  871.                 </if>
  872.             </if>
  873.             <if Spell="Blizz*|Frost">
  874.                 <action type="equip" when="precast">
  875.                     <main>$IceStaff</main>
  876.                     <sub>$IceGrip</sub>
  877.                 </action>
  878.                 <if Spell="Frost">
  879.                     <action type="equip" when="precast" set="HighResist">
  880.                         <main>$IceStaff</main>
  881.                         <sub>$IceGrip</sub>
  882.                     </action>
  883.                 </if>
  884.                 <if Spell="Blizzard IV">
  885.                     <if NotBuffActive="*Arts">
  886.                         <if MPLT="164"><action type="ChangeSpell" Spell="Blizzard III" /></if>
  887.                         <if MPLT="120"><action type="ChangeSpell" Spell="Blizzard II" /></if>
  888.                         <if MPLT="77"><action type="ChangeSpell" Spell="Blizzard" /></if>
  889.                         <if MPLT="30"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  890.                     </if>
  891.                     <if BuffActive="Light Arts">
  892.                         <if MPLT="197"><action type="ChangeSpell" Spell="Blizzard III" /></if>
  893.                         <if MPLT="144"><action type="ChangeSpell" Spell="Blizzard II" /></if>
  894.                         <if MPLT="93"><action type="ChangeSpell" Spell="Blizzard" /></if>
  895.                         <if MPLT="36"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  896.                     </if>
  897.                     <if BuffActive="Dark Arts" NotBuffActive="Parsimony">
  898.                         <if MPLT="148"><action type="ChangeSpell" Spell="Blizzard III" /></if>
  899.                         <if MPLT="108"><action type="ChangeSpell" Spell="Blizzard II" /></if>
  900.                         <if MPLT="70"><action type="ChangeSpell" Spell="Blizzard" /></if>
  901.                         <if MPLT="27"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  902.                     </if>
  903.                     <if BuffActive="Parsimony">
  904.                         <if MPLT="82"><action type="ChangeSpell" Spell="Blizzard III" /></if>
  905.                         <if MPLT="60"><action type="ChangeSpell" Spell="Blizzard II" /></if>
  906.                         <if MPLT="39"><action type="ChangeSpell" Spell="Blizzard" /></if>
  907.                         <if MPLT="15"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  908.                     </if>
  909.                 </if>
  910.                 <if Spell="Blizzard III">
  911.                     <if NotBuffActive="*Arts">
  912.                         <if MPLT="120"><action type="ChangeSpell" Spell="Blizzard II" /></if>
  913.                         <if MPLT="77"><action type="ChangeSpell" Spell="Blizzard" /></if>
  914.                         <if MPLT="30"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  915.                     </if>
  916.                     <if BuffActive="Light Arts">
  917.                         <if MPLT="144"><action type="ChangeSpell" Spell="Blizzard II" /></if>
  918.                         <if MPLT="93"><action type="ChangeSpell" Spell="Blizzard" /></if>
  919.                         <if MPLT="36"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  920.                     </if>
  921.                     <if BuffActive="Dark Arts" NotBuffActive="Parsimony">
  922.                         <if MPLT="108"><action type="ChangeSpell" Spell="Blizzard II" /></if>
  923.                         <if MPLT="70"><action type="ChangeSpell" Spell="Blizzard" /></if>
  924.                         <if MPLT="27"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  925.                     </if>
  926.                     <if BuffActive="Parsimony">
  927.                         <if MPLT="60"><action type="ChangeSpell" Spell="Blizzard II" /></if>
  928.                         <if MPLT="39"><action type="ChangeSpell" Spell="Blizzard" /></if>
  929.                         <if MPLT="15"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  930.                     </if>
  931.                 </if>
  932.                 <if Spell="Blizzard II">
  933.                     <if NotBuffActive="*Arts">
  934.                         <if MPLT="77"><action type="ChangeSpell" Spell="Blizzard" /></if>
  935.                         <if MPLT="30"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  936.                     </if>
  937.                     <if BuffActive="Light Arts">
  938.                         <if MPLT="93"><action type="ChangeSpell" Spell="Blizzard" /></if>
  939.                         <if MPLT="36"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  940.                     </if>
  941.                     <if BuffActive="Dark Arts" NotBuffActive="Parsimony">
  942.                         <if MPLT="70"><action type="ChangeSpell" Spell="Blizzard" /></if>
  943.                         <if MPLT="27"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  944.                     </if>
  945.                     <if BuffActive="Parsimony">
  946.                         <if MPLT="39"><action type="ChangeSpell" Spell="Blizzard" /></if>
  947.                         <if MPLT="15"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  948.                     </if>
  949.                 </if>
  950.                 <if Spell="Blizzard">
  951.                     <if NotBuffActive="*Arts">
  952.                         <if MPLT="30"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  953.                     </if>
  954.                     <if BuffActive="Light Arts">
  955.                         <if MPLT="36"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  956.                     </if>
  957.                     <if BuffActive="Dark Arts" NotBuffActive="Parsimony">
  958.                         <if MPLT="27"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  959.                     </if>
  960.                     <if BuffActive="Parsimony">
  961.                         <if MPLT="15"><action type="CancelSpell" /><addtochat>[NOTE] Not enough MP X_x;;</addtochat></if>
  962.                     </if>
  963.                 </if>
  964.             </if>
  965.         </if>
  966.  
  967. <!-- Sub Jobs -->
  968.         <if SubJob="SCH">
  969.             <if Spell="Sleep|Dispel" NotSpell="Stoneskin" NotMainJob="BLM|RDM" notBuffActive="Addendum: Black">
  970.                 <action type="addtochat" when="precast">[INFO] You need Addendum: Black for this.</action>
  971.             </if>
  972.         </if>
  973.  
  974. <!-- Teh Random -->
  975.         <if Area="*Windurst*|*San d'Oria*|*Bastok*|*Jeuno*|*Whitegate|Al Zahbi" NotArea="Dynamis*|*[S]|Abyssea*" NotBuffActive="Besieged">
  976.             <action type="Equip" when="precast|midcast|aftercast|engaged|idle" set="TownGear" />
  977.         </if>
  978.     </rules>
  979. </spellcast>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement