Guest User

RDM.XML

a guest
Apr 5th, 2011
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 14.08 KB | None | 0 0
  1. <?xml version="1.0" ?>
  2. <!--The above line tells applications reading the file that it is in XML format.-->
  3.  
  4. <!--Text within tags like this is a comment in XML-->
  5. <spellcast>
  6. <!--The above line specifies the SpellCast section of the XML file so SpellCast knows where to look when it opens the file-->
  7.  
  8.     <!--Attributes associated with the config section control basic SpellCast settings-->
  9.     <config />
  10.    
  11.            
  12.        
  13.        
  14.    
  15.     <sets>
  16.         <!--This is where you would define your SpellCast equipment sets and groups-->
  17.        
  18.         <group name="RDM" default="yes">
  19.            
  20.             <set name="Fishing">
  21.                 <body>Fisherman's Tunica</body>            
  22.             </set>     
  23.            
  24.             <set name="template">
  25.                          
  26.                 <main></main>
  27.                 <sub></sub>
  28.                 <ranged></ranged>
  29.                 <ammo></ammo>
  30.                 <head></head>
  31.                 <neck></neck>
  32.                 <lear></lear>
  33.                 <rear></rear>
  34.                 <body></body>
  35.                 <hands></hands>
  36.                 <lring></lring>
  37.                 <rring></rring>
  38.                 <back></back>
  39.                 <waist></waist>
  40.                 <legs></legs>
  41.                 <feet></feet>          
  42.             </set>
  43.            
  44.             <!-- ARGH! -->
  45.             <!-- <set name="standard">
  46.                 <main>$SetStaff</main>
  47.             </set> -->
  48.            
  49.            
  50.             <set name="MaxMP">           
  51.                 <main>Terra's Staff</main>
  52.                 <sub>Bugard Leather Strap +1</sub>
  53.                 <!-- <ranged></ranged>
  54.                <ammo></ammo>
  55.                <head></head>
  56.                <neck></neck> -->
  57.                 <lear>Star Earring</lear>
  58.                 <rear>Star Earring</rear>
  59.                 <body>Royal Cloak</body>
  60.                 <hands>Errant Cuffs</hands>
  61.                 <!-- <lring></lring>
  62.                <rring></rring> -->
  63.                 <back>Prism Cape</back>
  64.                 <waist>Hierarch Belt</waist>
  65.                 <legs>Warlock's Tights</legs>
  66.                 <feet>Mahatma Pigaches</feet>          
  67.             </set>
  68.            
  69.             <set name="Idle" BaseSet="MaxMP">
  70.                 <main>Terra's Staff</main>
  71.                 <sub>Bugard Leather Strap +1</sub>
  72.                 <!-- <ranged></ranged>
  73.                <ammo></ammo>
  74.                <head></head>
  75.                <neck></neck>
  76.                <lear></lear>
  77.                <rear></rear> -->
  78.                 <body>Royal Cloak</body>
  79.                 <!-- <hands></hands>
  80.                <lring></lring>
  81.                <rring></rring> -->
  82.                 <back>Cheviot Cape</back>
  83.                 <!-- <waist></waist>
  84.                <legs></legs>
  85.                 <feet></feet>    -->       
  86.             </set>
  87.            
  88.             <set name="Resting" BaseSet="MaxMP">
  89.                 <main>Pluto's Staff</main>
  90.                 <sub>Bugard Leather Strap +1</sub>
  91.                 <!-- <ranged></ranged>
  92.                <ammo></ammo>
  93.                <head></head>
  94.                <neck></neck>
  95.                <lear></lear>
  96.                <rear></rear> -->
  97.                 <body>Royal Cloak</body>
  98.                 <!-- <lring></lring>
  99.                <hands></hands>
  100.                <rring></rring>
  101.                <back></back> -->
  102.                 <waist>Hierarch Belt</waist>
  103.                 <legs>Baron's Slops</legs>
  104.                 <!-- <feet></feet> -->         
  105.             </set>
  106.            
  107.             <set name="FastCast" BaseSet="MaxMP">              
  108.                 <head>Warlock's Chapeau</head>                
  109.                 <!-- <body></body> -->                
  110.             </set>
  111.            
  112.             <set name="MND">
  113.                 <main>$SetStaff</main>
  114.                 <sub>Bugard Leather Strap +1</sub>
  115.                 <!-- <ranged></ranged> -->
  116.                 <!-- <ammo></ammo> -->
  117.                 <head>Warlock's Chapeau</head>
  118.                 <neck>Promise Badge</neck>
  119.                 <lear>Star Earring</lear>
  120.                 <rear>Star Earring</rear>
  121.                 <body>Errant Houppelande</body>
  122.                 <hands>Devotee's Mitts</hands>
  123.                 <lring>Saintly Ring +1</lring>
  124.                 <rring>Saintly Ring +1</rring>
  125.                 <back>Prism Cape</back>
  126.                 <waist>Penitent's Rope</waist>
  127.                 <legs>Jet Seraweels</legs>
  128.                 <feet>Mahatma Pigaches</feet>          
  129.             </set>
  130.            
  131.             <!-- Need to figure out inheritance on this one -->
  132.             <set name="Cure">
  133.                          
  134.                 <main>$SetStaff</main>
  135.                 <!-- <sub></sub>
  136.                <ranged></ranged>
  137.                <ammo></ammo>
  138.                <head></head>
  139.                <neck></neck>
  140.                <lear></lear>
  141.                <rear></rear>
  142.                <body></body>
  143.                <hands></hands>
  144.                <lring></lring>
  145.                <rring></rring>
  146.                <back></back>
  147.                <waist></waist>
  148.                <legs></legs>
  149.                 <feet></feet>    -->   
  150.             </set>
  151.            
  152.             <!-- Don't know which inheritance this should be -->
  153.             <set name="EnhancingINT" BaseSet="INT">
  154.                          
  155.                 <main>Terra's Staff</main>
  156.                 <!-- <sub></sub>
  157.                <ranged></ranged>
  158.                <ammo></ammo>
  159.                <head></head>
  160.                <neck></neck>
  161.                <lear></lear>
  162.                <rear></rear>
  163.                <body></body>
  164.                <hands></hands>
  165.                <lring></lring>
  166.                <rring></rring>
  167.                <back></back>
  168.                <waist></waist> -->
  169.                 <legs>Warlock's Tights</legs>
  170.                 <!-- <feet></feet>   -->       
  171.             </set>
  172.            
  173.             <set name="EnhancingMND" BaseSet="MND">
  174.                          
  175.                 <main>Terra's Staff</main>
  176.                 <!-- <sub></sub>
  177.                <ranged></ranged>
  178.                <ammo></ammo>
  179.                <head></head>
  180.                <neck></neck>
  181.                <lear></lear>
  182.                <rear></rear>
  183.                <body></body>
  184.                <hands></hands>
  185.                <lring></lring>
  186.                <rring></rring>
  187.                <back></back>
  188.                <waist></waist> -->
  189.                 <legs>Warlock's Tights</legs>
  190.                 <!-- <feet></feet>   -->       
  191.             </set>
  192.            
  193.             <set name="INT">             
  194.                 <main>$SetStaff</main>
  195.                 <sub>Bugard leather strap +1</sub>
  196.                 <ranged></ranged>
  197.                 <ammo></ammo>
  198.                 <head>Warlock's Chapeau</head>
  199.                 <neck>Enlightened Chain</neck>
  200.                 <lear>Morion Earring +1</lear>
  201.                 <rear>Morion Earring +1</rear>
  202.                 <body>Errant Houppelande</body>
  203.                 <hands>Errant Cuffs</hands>
  204.                 <lring>Genius Ring</lring>
  205.                 <rring>Genius Ring</rring>
  206.                 <back>Prism Cape</back>
  207.                 <waist>Penitent's Rope</waist>
  208.                 <legs>Jet Seraweels</legs>
  209.                 <feet>Rambler's Gaiters</feet>         
  210.             </set>
  211.            
  212.             <set name="Nuke" BaseSet="INT">
  213.                          
  214.                 <main>$SetStaff</main>
  215.                 <!-- <sub></sub>
  216.                <ranged></ranged>
  217.                <ammo></ammo>
  218.                <head></head> -->
  219.                 <neck>Elemental Torque</neck>
  220.                 <lear>Moldavite Earring</lear>
  221.                 <!-- <rear></rear>
  222.                <body></body>
  223.                <hands></hands>
  224.                <lring></lring>
  225.                <rring></rring>
  226.                <back></back>
  227.                <waist></waist>
  228.                <legs></legs>
  229.                 <feet></feet> -->          
  230.             </set>
  231.            
  232.             <set name="Dark" BaseSet="INT">
  233.                          
  234.                 <main>$SetStaff</main>
  235.                 <!-- <sub></sub>
  236.                <ranged></ranged>
  237.                <ammo></ammo>
  238.                <head></head> -->
  239.                 <neck>Dark Torque</neck>
  240.               <!--   <lear></lear>
  241.                <rear></rear>
  242.                <body></body>
  243.                <hands></hands>
  244.                <lring></lring>
  245.                <rring></rring>
  246.                <back></back>
  247.                <waist></waist>
  248.                <legs></legs>
  249.                 <feet></feet>    -->       
  250.             </set>
  251.            
  252.             <set name="EnfeebleINTAccuracy" BaseSet="INT">
  253.                          
  254.                 <main>$SetStaff</main>
  255.                 <!-- <sub></sub>
  256.                <ranged></ranged>
  257.                <ammo></ammo>
  258.                <head></head> -->
  259.                 <neck>Spider Torque</neck>
  260.                 <!-- <lear></lear>
  261.                <rear></rear> -->
  262.                 <body>Warlock's Tabard</body>
  263.                 <!-- <hands></hands>
  264.                <lring></lring>
  265.                <rring></rring>
  266.                <back></back>
  267.                <waist></waist>
  268.                <legs></legs>
  269.                <feet></feet> -->
  270.             </set>
  271.            
  272.             <set name="EnfeebleMNDAccuracy" BaseSet="MND">
  273.                          
  274.                 <!-- <main></main>
  275.                <sub></sub>
  276.                <ranged></ranged>
  277.                <ammo></ammo>
  278.                <head></head> -->
  279.                 <neck>Spider Torque</neck>
  280.                 <!-- <lear></lear>
  281.                <rear></rear> -->
  282.                 <body>Warlock's Tabard</body>
  283.                 <!-- <hands></hands>
  284.                <lring></lring>
  285.                <rring></rring>
  286.                <back></back>
  287.                <waist></waist>
  288.                <legs></legs>
  289.                 <feet></feet>            -->
  290.             </set>
  291.  
  292.             <set name="EnfeebleMND" BaseSet="MND">
  293.                 <!-- The balanced set -->
  294.                
  295.                 <!-- <main></main>
  296.                <sub></sub>
  297.                <ranged></ranged>
  298.                <ammo></ammo>
  299.                <head></head>
  300.                <neck></neck>
  301.                <lear></lear>
  302.                <rear></rear> -->
  303.                 <body>Warlock's Tabard</body>
  304.                 <!-- <hands></hands>
  305.                <lring></lring>
  306.                <rring></rring>
  307.                <back></back>
  308.                <waist></waist>
  309.                <legs></legs>
  310.                 <feet></feet>            -->
  311.             </set>
  312.  
  313.            
  314.            
  315.         </group>
  316.     </sets>
  317.     <variables>
  318.         <!--This is where you would define custom variables for SpellCast-->
  319.        
  320.        
  321.         <var name="SetStaff">Terra's Staff</var>
  322.         <var name="Light">"Light Staff"</var>
  323.         <var name="Dark">"Pluto's Staff"</var>
  324.         <var name="Earth">"Terra's Staff"</var>
  325.         <var name="Water">"Water Staff"</var>
  326.         <var name="Wind">"Auster's Staff"</var>
  327.         <var name="Fire">"Vulcan's Staff"</var>
  328.         <var name="Ice">"Aquilo's Staff"</var>
  329.         <var name="Thunder">"Jupiter's Staff"</var>
  330.                
  331.     </variables>
  332.     <rules>
  333.         <!--This is where you would define rules that tell SpellCast what to do and when-->
  334.        
  335.        
  336.        
  337.        
  338.         <if spell="autoset">  <!-- this makes it so when you change status (rest, idle, engage), your gear changes -->
  339.         <action type="equip" when="resting" set="Resting" /> <!-- when resting, equip resting -->      
  340.         <action type="equip" when="idle" set="Idle" />
  341.         </if>
  342.        
  343.     <!--    <if spell="Cure">
  344.         <action type="equip" when="precast" set="FastCast" />
  345.         <action type="equip" when="midcast" set="MaxMP" />
  346.         <action type="equip" when="aftercast" set="Idle" />
  347.         </if>
  348.        
  349.         <if spell="Cure II">
  350.         <action type="equip" when="midcast" set="MaxMP" />
  351.         </if> -->
  352.        
  353.         <if skill="ElementalMagic">
  354.             <!--%SpellElement will process first. If ThunderIV is cast then $SetStaff will be set to $Thunder -->
  355.             <action type="Var" cmd="set SetStaff $%SpellElement" />
  356.             <action type="equip" when="precast" set="FastCast" />
  357.             <action type="equip" when="midcast" set="INT" />
  358.             <action type="equip" when="aftercast" set="Idle" />
  359.         </if>
  360.  
  361.         <!-- Rules for enhancing magic buffs (general) -->
  362.         <if skill="EnhancingMagic">
  363.            
  364.             <!-- for INT based buffs like Ice Spikes -->
  365.             <if type="BlackMagic">
  366.                 <action type="equip" when="precast" set="FastCast" />
  367.                 <action type="equip" when="midcast" set="EnhancingINT" />
  368.                 <action type="equip" when="aftercast" set="Idle" />            
  369.             </if>
  370.            
  371.             <!-- for MND based buffs -->
  372.             <if type="WhiteMagic">
  373.                 <action type="equip" when="precast" set="FastCast" />
  374.                 <action type="equip" when="midcast" set="EnhancingMND" />
  375.                 <action type="equip" when="aftercast" set="Idle" />        
  376.             </if>
  377.            
  378.        
  379.         </if>
  380.        
  381.         <!-- Rules for Dark magic, ie Aspir, Drain and Bio -->
  382.         <if skill="DarkMagic">
  383.             <action type="Var" cmd="set SetStaff $%SpellElement" />
  384.             <action type="equip" when="precast" set="FastCast" />
  385.             <action type="equip" when="midcast" set="Dark" />
  386.             <action type="equip" when="aftercast" set="Idle" />
  387.         </if>
  388.        
  389.         <!-- Rules for Enfeebling Magic, this will be a big one -->
  390.         <if skill="EnfeeblingMagic">
  391.        
  392.             <!-- Go ahead and set staff type right away -->
  393.             <action type="Var" cmd="set SetStaff $%SpellElement" />
  394.        
  395.             <!-- Processing rules for INT based enfeebles -->
  396.             <if type="BlackMagic">
  397.                
  398.                 <!-- Going to go ahead and go all accuracy for now -->
  399.                 <action type="equip" when="precast" set="FastCast" />
  400.                 <action type="equip" when="midcast" set="EnfeebleINTAccuracy" />
  401.                 <action type="equip" when="aftercast" set="Idle" />        
  402.                        
  403.             </if>
  404.            
  405.             <!-- Process rules for MND based enfeebles -->
  406.             <if type="WhiteMagic">
  407.                
  408.                 <!-- Silence needs to land -->
  409.                 <if spell="Silence">
  410.                     <action type="equip" when="precast" set="FastCast" />
  411.                     <action type="equip" when="midcast" set="EnfeebleMNDAccuracy" />
  412.                     <action type="equip" when="aftercast" set="Idle" />
  413.                 </if>
  414.                
  415.                 <!-- For everything else -->
  416.                 <else>
  417.                     <action type="equip" when="precast" set="FastCast" />
  418.                     <action type="equip" when="midcast" set="EnfeebleMND" />
  419.                     <action type="equip" when="aftercast" set="Idle" />            
  420.                 </else>
  421.            
  422.             </if>
  423.            
  424.         </if>
  425.        
  426.         <!-- This is really just for handling Cures -->
  427.         <if skill="HealingMagic">
  428.             <!-- Change to cure staff -->
  429.             <action type="Var" cmd="set SetStaff $%SpellElement" />
  430.             <action type="equip" when="precast" set="FastCast" />
  431.             <action type="equip" when="midcast" set="Cure" />
  432.             <action type="equip" when="aftercast" set="Idle" />
  433.         </if>
  434.        
  435.         <!-- Convert, may not work properly -->
  436.         <if spell="Convert">
  437.             <!-- The idea here being to convert into full mp gear -->
  438.             <action type="equip" when="precast" set="MaxMP" />
  439.             <action type="equip" when="midcast" set="MaxMP" />
  440.             <action type="equip" when="aftercast" set="MaxMP" />
  441.         </if>
  442.        
  443.        
  444.        
  445.     </rules>
  446. </spellcast>
Advertisement
Add Comment
Please, Sign In to add comment