Advertisement
Guest User

Untitled

a guest
Mar 5th, 2011
878
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 11.93 KB | None | 0 0
  1. <?xml version="1.0" ?>
  2. <spellcast>
  3. <config debug="false" />
  4.  <variables>
  5.         <var name="IceStaff">Aquilo's Staff</var>
  6.         <var name="DarkStaff">Pluto's Staff</var>
  7.         <var name="ThunderStaff">Jupiter's Staff</var>
  8.         <var name="WindStaff">Auster's Staff</var>
  9.         <var name="FireStaff">Vulcan's Staff</var>
  10.         <var name="EarthStaff">Terra's Staff</var>
  11.         <var name="LightStaff">Apollo's Staff</var>
  12.         <var name="WaterStaff">Neptune's Staff</var>
  13.        
  14.         <var name="SleepHorn">None</var> <!--Used to determine Sleep timers. Valid entries: NONE, MARY, CRADLE, NURSEMAID, PAN -->
  15.         <var name="SleepTimers">1</var> <!-- Give an /echo to show Sleep Timer(s) -->
  16.        
  17.         <!--Instrument variables, put the instruments you use next to the song-->
  18.         <var name="Minuet"></var>
  19.         <var name="Carol"></var>
  20.         <var name="March"></var>
  21.         <var name="Etude"></var>
  22.         <var name="Paeon"></var>
  23.         <var name="Minne"></var>
  24.         <var name="Mambo"></var>
  25.         <var name="Madrigal"></var>
  26.         <var name="Requiem"></var>
  27.         <var name="Threnody"></var>
  28.         <var name="Virelai"></var>
  29.         <var name="Elegy"></var>
  30.         <var name="Finale"></var>
  31. </variables>
  32.  
  33. <sets>
  34.     <group name="BRD" default="yes">
  35.         <set name="PDT">
  36.             <main>$EarthStaff</main>
  37.             <body>Dalmatica</body>
  38.             <lring>Dark Ring</lring>
  39.             <rring>Jelly Ring</rring>
  40.             <back>Umbra Cape</back>
  41.             <legs>Tatsumaki Sitagoromo</legs>
  42.         </set>
  43.        
  44.         <set name="Resting">
  45.             <main>$DarkStaff</main>
  46.             <ammo>Clarus Stone</ammo>
  47.             <waist>Austerity Belt</waist>
  48.             <body>Mahatma Hpl.</body>
  49.             <neck>Eidolon Pendant</neck>
  50.             <lear>Antivenom Earring</lear>
  51.             <rear>Boroka Earring</rear>
  52.             <back>Felicitas Cape</back>
  53.             <legs>Sagacity Lappas</legs>
  54.             <feet>Avocat Pigaches</feet>
  55.         </set>
  56.        
  57.         <set name="HealingMagic">
  58.             <main>$LightStaff</main>
  59.             <sub>Reign Grip</sub>
  60.             <ammo>Hedgehog Bomb</ammo>
  61.             <head>Warlock's Chapeau</head>
  62.             <neck>Promise Badge</neck>
  63.             <lear>Antivenom Earring</lear>
  64.             <rear>Loquacious Earring</rear>
  65.             <body>Augur's Jaseran</body>
  66.             <hands>Devotee's Mitts</hands>
  67.             <lring>Sirona's Ring</lring>
  68.             <rring>Sapphire Ring</rring>
  69.             <back>Sunbeam Cape</back>
  70.             <waist>Cascade Belt</waist>
  71.             <legs>Sagacity Lappas</legs>
  72.             <feet>Teal Pigaches</feet>
  73.         </set>
  74.        
  75.         <set name="Singing"> <!-- For buffs: Singing/Wind skill here -->
  76.             <main>$LightStaff</main>
  77.             <sub>Reign Grip</sub>
  78.             <head>Warlock's Chapeau</head>
  79.             <neck>Promise Badge</neck>
  80.             <lear>Antivenom Earring</lear>
  81.             <rear>Loquacious Earring</rear>
  82.             <body>Augur's Jaseran</body>
  83.             <hands>Devotee's Mitts</hands>
  84.             <lring>Sirona's Ring</lring>
  85.             <rring>Sapphire Ring</rring>
  86.             <back>Sunbeam Cape</back>
  87.             <waist>Cascade Belt</waist>
  88.             <legs>Sagacity Lappas</legs>
  89.             <feet>Teal Pigaches</feet>
  90.         </set>
  91.        
  92.         <set name="FastCast">
  93.             <lear>Loq. Earring</lear>
  94.         </set>
  95.        
  96.        
  97.         <set name="MaxMND"> <!-- Para/Slow/Stoneskin -->
  98.             <main>$%SpellElementStaff</main>
  99.             <sub>Reign Grip</sub>
  100.             <ammo>Hedgehog Bomb</ammo>
  101.             <head>Teal Chapeau</head>
  102.             <neck>Promise Badge</neck>
  103.             <lear>Incubus Earring</lear>
  104.             <rear>Incubus Earring</rear>
  105.             <body>Augur's Jaseran</body>
  106.             <hands>Devotee's Mitts</hands>
  107.             <lring>Sirona's Ring</lring>
  108.             <rring>Sapphire Ring</rring>
  109.             <back>Sunbeam Cape</back>
  110.             <waist>Cascade Belt</waist>
  111.             <legs>Mahatma Slops</legs>
  112.             <feet>Teal Pigaches</feet>
  113.         </set>
  114.        
  115.         <set name="MaxCHR"> <!-- For Debuffs -->
  116.             <main>$%SpellElementStaff</main>
  117.             <sub>Reign Grip</sub>
  118.             <head>Teal Chapeau</head>
  119.             <neck>Promise Badge</neck>
  120.             <lear>Incubus Earring</lear>
  121.             <rear>Incubus Earring</rear>
  122.             <body>Augur's Jaseran</body>
  123.             <hands>Devotee's Mitts</hands>
  124.             <lring>Sirona's Ring</lring>
  125.             <rring>Sapphire Ring</rring>
  126.             <back>Sunbeam Cape</back>
  127.             <waist>Cascade Belt</waist>
  128.             <legs>Mahatma Slops</legs>
  129.             <feet>Teal Pigaches</feet>
  130.         </set>
  131.        
  132.         <set name="EnfeeblingMagic" />
  133.         <set name="ElementalMagic" />
  134.         <set name="DivineMagic" />
  135.         <set name="EnhancingMagic" />
  136.         <set name="DarkMagic" />
  137.         <set name="Ninjutsu" />
  138.         <set name="Ability" />
  139.         <set name="Unknown" />
  140.        
  141.     </group>
  142. </sets>
  143.  
  144. <rules>
  145.  
  146.         <!-- set of gear to equip when finished casting a spell -->
  147.         <equip when="Aftercast|Idle" set="PDT" />
  148.         <!-- set of gear to equip when resting -->
  149.         <equip when="Resting" set="Resting" />
  150.         <equip when="PreCast" set="FastCast" />
  151.  
  152.        
  153.         <if spell="Flash|Stun">
  154.             <equip when="precast" set="Haste" />
  155.         </if>
  156.         <if spell="Paralyze|Slow|Stoneskin">
  157.             <equip when="Precast" set="MaxMND" />
  158.                 <if Spell="Stoneskin">
  159.                     <equip when="Midcast">
  160.                         <main>$WaterStaff</main>
  161.                     </equip>
  162.                 </if>
  163.         </if>
  164.        
  165.         <if spell="*Requiem*|*Elegy*|*Threnody*|*Virelai*|*Finale*">
  166.             <equip when="Midcast" set="MaxCHR" />
  167.             <if Spell="*Requiem*">
  168.                 <equip when="Precast">
  169.                     <ranged>$Requiem</ranged>
  170.                 </equip>
  171.             </if>
  172.             <elseif spell="*Elegy*">
  173.                 <equip when="Precast">
  174.                     <ranged>$Elegy</ranged>
  175.                 </equip>
  176.             </elseif>
  177.             <elseif spell="*Threnody*">
  178.                 <equip when="Precast">
  179.                     <ranged>$Threnody</ranged>
  180.                 </equip>
  181.             </elseif>
  182.             <elseif spell="*Virelai*">
  183.                 <equip when="Precast">
  184.                     <ranged>$Virelai</ranged>
  185.                 </equip>
  186.             </elseif>
  187.             <elseif spell="*Finale*">
  188.                 <equip when="Precast">
  189.                     <ranged>$Finale</ranged>
  190.                 </equip>
  191.             </elseif>
  192.         </if>
  193.         <elseif Spell="*Minuet*|*Carol*|*March*|*Etude*|*Paeon*|*Minne*|*Mambo*|*Madrigal*">
  194.             <equip when="Midcast" set="Singing" />
  195.             <if Spell="*Minuet*">
  196.                 <equip when="Precast">
  197.                     <ranged>$Minuet</ranged>
  198.                 </equip>
  199.             </if>
  200.             <elseif spell="*Carol*">
  201.                 <equip when="Precast">
  202.                     <ranged>$Carol</ranged>
  203.                 </equip>
  204.             </elseif>
  205.             <elseif spell="*March*">
  206.                 <equip when="Precast">
  207.                     <ranged>$March</ranged>
  208.                 </equip>
  209.             </elseif>
  210.             <elseif spell="*Etude*">
  211.                 <equip when="Precast">
  212.                     <ranged>$Etude</ranged>
  213.                 </equip>
  214.             </elseif>
  215.             <elseif spell="*Paeon*">
  216.                 <equip when="Precast">
  217.                     <ranged>$Paeon</ranged>
  218.                 </equip>
  219.             </elseif>
  220.             <elseif spell="*Minne*">
  221.                 <equip when="Precast">
  222.                     <ranged>$Minne</ranged>
  223.                 </equip>
  224.             </elseif>
  225.             <elseif spell="*Mambo*">
  226.                 <equip when="Precast">
  227.                     <ranged>$Mambo</ranged>
  228.                 </equip>
  229.             </elseif>
  230.             <elseif spell="*Madrigal*">
  231.                 <equip when="Precast">
  232.                     <ranged>$Madrigal</ranged>
  233.                 </equip>
  234.             </elseif>
  235.         </elseif>
  236.        
  237.  
  238.         <elseif Skill="HealingMagic">
  239.             <if Spell="Cure*|Cura*">
  240.                     <equip when="MidCast" set="HealingMagic" />
  241.             </if>
  242.            
  243.             <else><return /></else>
  244.         </elseif>
  245.        
  246.         <else>
  247.             <equip when="Midcast" set="%Skill" />
  248.         </else>
  249.        
  250.    
  251. <!--=========================================================================
  252.     Utility Handling
  253. =============================================================================-->
  254. <if mode="and" skill="*Magic|Ninjutsu|Singing" buffactive="Silence">
  255.     <cancelspell />
  256.     <command>input /item "Echo Drops" &lt;me&gt;</command>
  257. </if>
  258.    
  259.  
  260. <!--=========================================================================
  261.     Obi's    
  262. =============================================================================-->
  263. <if advanced='("%SpellElement" = "%WeatherElement" OR "%SpellElement" = "%DayElement")'>
  264.     <if     Element="Dark">
  265.       <equip when="midcast">
  266.         <waist lock="yes">Anrin Obi</waist>
  267.       </equip>
  268.     </if>
  269.    
  270.     <elseif Element="Light">
  271.       <equip when="midcast">
  272.         <waist lock="yes">Korin Obi</waist>
  273.       </equip>
  274.     </elseif>
  275.     <elseif Element="Thunder">
  276.     <equip when="midcast">
  277.         <waist lock="yes">Rairin Obi</waist>
  278.     </equip>
  279.     </elseif>
  280.     <elseif Element="Ice">
  281.         <equip when="midcast">
  282.             <waist lock="yes">Hyorin Obi</waist>
  283.         </equip>
  284.     </elseif>
  285.     <elseif Element="Fire">
  286.         <equip when="midcast">
  287.             <waist lock="yes">Karin Obi</waist>
  288.         </equip>
  289.     </elseif>
  290.     <elseif Element="Wind">
  291.         <equip when="midcast">
  292.             <waist lock="yes">Furin Obi</waist>
  293.         </equip>
  294.     </elseif>
  295.     <elseif Element="Water">
  296.         <equip when="midcast">
  297.             <waist lock="yes">Suirin Obi</waist>
  298.         </equip>
  299.     </elseif>
  300.     <elseif Element="Earth">
  301.         <equip when="midcast">
  302.             <waist lock="yes">Dorin Obi</waist>
  303.         </equip>
  304.     </elseif>
  305.    
  306. </if>
  307.  
  308.  
  309.  
  310. <!--=========================================================================
  311.    Sleep Timers! Lullaby 2: 60seconds,  Lullaby 1: 30seconds - Base. Mary's Horn: +3sec, Cradle/Nursemaids +6sec, Pan Horn +9sec approx.
  312. =============================================================================-->
  313. <if advanced='"$SleepTimers"="1"'>
  314.     <if advanced='"$SleepHorn"="None"'>
  315.         <if Spell="Foe Lullaby|Horde Lullaby">
  316.             <command when="aftercast">spellcast var inc sleepid;wait 15;input /echo [$sleepid:%spell] &lt;%target&gt; Wearing off in 15s</command>
  317.             <command when="aftercast">wait 25;input /echo [$sleepid:%spell] &lt;%target&gt; Wearing off in 5s;spellcast var dec sleepid;</command>
  318.         </if>
  319.         <elseif Spell="Foe Lullaby II">
  320.             <command when="aftercast">spellcast var inc sleepid;wait 30;input /echo [$sleepid:%spell] &lt;%target&gt; Wearing off in 30s</command>
  321.             <command when="aftercast">spellcast var inc sleepid;wait 45;input /echo [$sleepid:%spell] &lt;%target&gt; Wearing off in 15s</command>
  322.             <command when="aftercast">wait 55;input /echo [$sleepid:%spell] &lt;%target&gt; Wearing off in 5s;spellcast var dec sleepid;</command>
  323.         </elseif>
  324.     </if>
  325.     <elseif advanced='"$SleepHorn"="Mary"'>
  326.        
  327.         <if Spell="Foe Lullaby|Horde Lullaby">
  328.             <command when="aftercast">spellcast var inc sleepid;wait 18;input /echo [$sleepid:%spell] &lt;%target&gt; Wearing off in 15s</command>
  329.             <command when="aftercast">wait 28;input /echo [$sleepid:%spell] &lt;%target&gt; Wearing off in 5s;spellcast var dec sleepid;</command>
  330.         </if>
  331.         <elseif Spell="Foe Lullaby II">
  332.             <command when="aftercast">spellcast var inc sleepid;wait 33;input /echo [$sleepid:%spell] &lt;%target&gt; Wearing off in 30s</command>
  333.             <command when="aftercast">spellcast var inc sleepid;wait 48;input /echo [$sleepid:%spell] &lt;%target&gt; Wearing off in 15s</command>
  334.             <command when="aftercast">wait 58;input /echo [$sleepid:%spell] &lt;%target&gt; Wearing off in 5s;spellcast var dec sleepid;</command>
  335.         </elseif>
  336.     </elseif>
  337.  
  338.     <elseif advanced='"$SleepHorn"="Nursemaid"|"$SleepHorn"="Cradle"'>
  339.        
  340.         <if Spell="Foe Lullaby|Horde Lullaby">
  341.             <command when="aftercast">spellcast var inc sleepid;wait 21;input /echo [$sleepid:%spell] &lt;%target&gt; Wearing off in 15s</command>
  342.             <command when="aftercast">wait 31;input /echo [$sleepid:%spell] &lt;%target&gt; Wearing off in 5s;spellcast var dec sleepid;</command>
  343.         </if>
  344.         <elseif Spell="Foe Lullaby II">
  345.             <command when="aftercast">spellcast var inc sleepid;wait 36;input /echo [$sleepid:%spell] &lt;%target&gt; Wearing off in 30s</command>
  346.             <command when="aftercast">spellcast var inc sleepid;wait 51;input /echo [$sleepid:%spell] &lt;%target&gt; Wearing off in 15s</command>
  347.             <command when="aftercast">wait 61;input /echo [$sleepid:%spell] &lt;%target&gt; Wearing off in 5s;spellcast var dec sleepid;</command>
  348.         </elseif>
  349.     </elseif>
  350.  
  351.     <elseif advanced='"$SleepHorn"="Pan"'>
  352.        
  353.         <if Spell="Foe Lullaby|Horde Lullaby">
  354.             <command when="aftercast">spellcast var inc sleepid;wait 24;input /echo [$sleepid:%spell] &lt;%target&gt; Wearing off in 15s</command>
  355.             <command when="aftercast">wait 34;input /echo [$sleepid:%spell] &lt;%target&gt; Wearing off in 5s;spellcast var dec sleepid;</command>
  356.         </if>
  357.         <elseif Spell="Foe Lullaby II">
  358.             <command when="aftercast">spellcast var inc sleepid;wait 39;input /echo [$sleepid:%spell] &lt;%target&gt; Wearing off in 30s</command>
  359.             <command when="aftercast">spellcast var inc sleepid;wait 57;input /echo [$sleepid:%spell] &lt;%target&gt; Wearing off in 15s</command>
  360.             <command when="aftercast">wait 67;input /echo [$sleepid:%spell] &lt;%target&gt; Wearing off in 5s;spellcast var dec sleepid;</command>
  361.         </elseif>
  362.     </elseif>
  363.  
  364. </if>
  365. </rules>
  366. </spellcast>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement