Advertisement
TC24k

Hitetsu_DNC

Jan 14th, 2013
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 11.62 KB | None | 0 0
  1. <?xml version="1.0" ?>
  2.  
  3. <spellcast xmlns:xi="http://www.w3.org/2001/XInclude">
  4.     <config
  5.        RequireVersion="2.30"
  6.        debug="false"
  7.        />
  8.        
  9.         <guildwork
  10.        character="Hitetsu"
  11.        server="Sylph"
  12.        description="DNC Spellcast, only just levelled - WIP!"
  13.        job="DNC"
  14.    />
  15.        
  16.     <variables>
  17.         <var name="GearType">TPGear</var>
  18.         <var name="CurrentStep">Feather Step</var> <!-- Backup for Presto check -->
  19.         <var name="Building">0</var>
  20.     </variables>
  21.    
  22.     <sets>
  23.         <group name="Main" default="yes">
  24.             <set name="Standard" BaseSet="$GearType">
  25.                 <neck>Wiglen Gorget</neck>
  26.                 <hands>remove</hands>
  27.                 <rring>Paguroidea Ring</rring>
  28.                 <lring>Sheltered Ring</lring>
  29.                 <feet>Tandava Crackows</feet>
  30.             </set>
  31.             <set name="TPGear">
  32.                 <head>Ocelomeh Headpiece</head>
  33.                 <neck>Charis Necklace</neck>
  34.                 <lear>Brutal Earring</lear>
  35.                 <rear>Suppanomimi</rear>
  36.                 <body>Etoile Casaque +2</body>
  37.                 <hands>Dusk Gloves +1</hands>
  38.                 <lring>Rajas Ring</lring>
  39.                 <rring>Epona's Ring</rring>
  40.                 <back>Atheling Mantle</back>
  41.                 <waist>Twilight Belt</waist>
  42.                 <legs>Charis Tights +2</legs>
  43.                 <feet>Ballerines</feet>
  44.             </set>
  45.            
  46.             <set name="Haste">
  47.                 <body>Rapparee Harness</body>
  48.                 <waist>Twilight Belt</waist>
  49.                 <legs>Charis Tights +2</legs>
  50.                 <feet>Ballerines</feet>
  51.                 <hands>Dusk Gloves +1</hands>
  52.                 <head>Ocelomeh Headpiece</head>
  53.             </set>
  54.            
  55.             <set name="EVAGear" BaseSet="TPGear">
  56.                 <head>Optical Hat</head>
  57.                 <neck>Torero Torque</neck>
  58.                 <body>Aurore Doublet</body>
  59.                 <hands>Dusk Gloves +1</hands>
  60.                 <back>Boxer's Mantle</back>
  61.                 <legs>Charis Tights +2</legs>
  62.                 <feet>Ballerines</feet>
  63.             </set>
  64.            
  65.             <set name="DancingEdge">
  66.                 <head>Ocelomeh Headpiece</head>
  67.                 <neck>Spike Necklace</neck>
  68.                 <lear>Brutal Earring</lear>
  69.                 <rear>Pixie Earring</rear>
  70.                 <body>Aurore Doublet</body>
  71.                 <hands>Dusk Gloves +1</hands>
  72.                 <lring>Rajas Ring</lring>
  73.                 <rring>Keen Ring</rring>
  74.                 <back>Atheling Mantle</back>
  75.                 <waist>Warwolf Belt</waist>
  76.                 <legs>Tumbler Trunks</legs>
  77.                 <feet>Scopuli Nails</feet>
  78.             </set>
  79.            
  80.             <set name="AEdge">
  81.                 <head>Chimera Hairpin</head>
  82.                 <neck>Spike Necklace</neck>
  83.                 <lear>Moldavite Earring</lear>
  84.                 <rear>Minuet Earring</rear>
  85.                 <body>Dragon Harness</body>
  86.                 <hands>Ludic Mitts</hands>
  87.                 <lring>Rajas Ring</lring>
  88.                 <rring>Thunder Ring</rring>
  89.                 <back>Nifty Mantle</back>
  90.                 <waist>Aquline Belt</waist>
  91.                 <legs>Tumbler Trunks</legs>
  92.                 <feet>Scopuli Nails</feet>
  93.             </set>
  94.            
  95.             <set name="Exenterator">
  96.                 <head>Ocelomeh Headpiece</head>
  97.                 <neck>Arctier's Torque</neck>
  98.                 <lear>Brutal Earring</lear>
  99.                 <rear>Suppanomimi</rear>
  100.                 <body>Urja Jerkin</body>
  101.                 <hands>Dancer's Bangles</hands>
  102.                 <lring>Auster's Ring</lring>
  103.                 <rring>Solemn Ring</rring>
  104.                 <back>Blithe Mantle</back>
  105.                 <waist>Crudelis Belt</waist>
  106.                 <legs>Tumbler Trunks</legs>
  107.                 <feet>Scopuli Nails</feet> 
  108.             </set>
  109.            
  110.             <set name="SharkBite" />
  111.            
  112.             <set name="Evisceration">
  113.                 <head>Ocelomeh Headpiece</head>
  114.                 <neck>Rancor Collar</neck>
  115.                 <lear>Brutal Earring</lear>
  116.                 <rear>Pixie Earring</rear>
  117.                 <body>Etoile Casaque +2</body>
  118.                 <hands>Dusk Gloves +1</hands>
  119.                 <lring>Rajas Ring</lring>
  120.                 <rring>Keen Ring</rring>
  121.                 <back>Atheling Mantle</back>
  122.                 <waist>Warwolf Belt</waist>
  123.                 <legs>Aurore Brais</legs>
  124.                 <feet>Scopuli Nails</feet>
  125.             </set>
  126.            
  127.             <set name="Waltz">
  128.                 <head>Etoile Tiara +2</head>
  129.                 <rear>Roundel Earring</rear>
  130.                 <body>Dancer's Casaque</body>
  131.                 <legs>Etoile Tights +2</legs>
  132.                 <feet>Charis Toeshoes +2</feet>
  133.             </set>
  134.            
  135.             <set name="Steps">
  136.                 <head>Optical Hat</head>
  137.                 <neck>Agasaya's Collar</neck>
  138.                 <body>Etoile Casaque +2</body>
  139.                 <hands>Dancer's Bangles</hands>
  140.                 <legs>Charis Tights +2</legs>
  141.             </set>
  142.            
  143.             <set name="Sambas">
  144.                 <head>Dancer's Tiara</head>
  145.                 <body>Charis Casaque +2</body>
  146.                 <hands>Charis Bangles +2</hands>
  147.                 <legs>Charis Tights +2</legs>
  148.                 <feet>Charis Toeshoes +2</feet>
  149.             </set>
  150.            
  151.             <set name="MDT">
  152.                 <body>Avalon Breastplate</body> <!--5% -->
  153.                 <neck>Twilight Torque</neck> <!--5%-->
  154.                 <rring>Minerva's Ring</rring> <!--8% -->
  155.                 <lring>Merman's Ring</lring> <!-- 4% -->
  156.                 <lear>Merman's Earring</lear> <!--2%-->
  157.                 <legs>Merman's Subligar</legs> <!--3%-->
  158.             </set>
  159.            
  160.             <set name="PDT">
  161.                 <neck>Wiglen Gorget</neck> <!--6%-->
  162.                 <lring>Jelly Ring</lring> <!-- 5% -->
  163.             </set>
  164.            
  165.             <set name="FastCast">
  166.                 <lear>Loquacious Earring</lear>
  167.                 <neck>Jewelled Collar</neck>
  168.             </set>
  169.         </group>
  170.     </sets>
  171.     <rules>
  172.         <!-- set of gear to equip when finished casting a spell or coming back from resting (idle set) -->
  173.             <equip when="Engaged" set="$GearType" />
  174.             <equip when="Idle" set="Standard" />
  175.        
  176.         <if spell="Trigger2">
  177.             <changespell spell="Reverse Flourish" />
  178.         </if>
  179.         <elseif spell="Trigger3">
  180.             <changespell spell="Saber Dance" />
  181.         </elseif>
  182.         <elseif spell="Trigger4">
  183.             <changespell spell="Fan Dance" />
  184.         </elseif>
  185.         <elseif spell="Trigger5">
  186.             <changespell spell="Spectral Jig" />
  187.         </elseif>
  188.         <elseif spell="Trigger6">
  189.             <changespell spell="No Foot Rise" />
  190.         </elseif>
  191.  
  192.    
  193.         <!-- Equip haste for Utsu -->      
  194.         <if spell="Utsusemi*">
  195.             <equip when="precast" set="FastCast" />
  196.             <equip when="midcast" set="Haste">
  197.                 <back>Mujin Mantle</back>
  198.             </equip>
  199.             <addtochat color="121">Spell: %Spell - Haste gear equipped!</addtochat>
  200.             <if EquipBack="Mujin Mantle" when="midcast">
  201.                 <addtochat color="121">Mujin Mantle equipped!</addtochat>
  202.             </if>
  203.             <else>
  204.                 <addtochat color="121">Mujin Mantle not equipped!</addtochat>
  205.             </else>
  206.         </if>
  207.        
  208.         <if mode="and" spell="Monomi*|Tonko*" status="engaged">
  209.             <addtochat color="121">No point wasting good %Spell tools! Changing %Spell to Utsusemi!</addtochat>
  210.             <changespell spell="Utsusemi: Ni" />
  211.         </if>
  212.        
  213.         <if type="Weaponskill">
  214.             <if nottarget="Vrtra|Jormungand|Tiamat|Fafnir|Nidhogg|King Behemoth|Azdaja">
  215.                 <if mode="OR" TPLT="100" advanced='%SpellTargetDistance&gt;6.0' notstatus="engaged">
  216.                     <addtochat color="121">Too far away from target, not enough TP or not engaged. Cancelling WS</addtochat>
  217.                     <cancelspell/>
  218.                     <return/>
  219.                 </if>
  220.             </if>
  221.         </if>
  222.        
  223.         <if spell="Dancing Edge">
  224.             <equip set="DancingEdge" when="precast" />
  225.             <equip set="$GearType" when="aftercast" />
  226.         </if>
  227.        
  228.         <if spell="Shark Bite">
  229.             <equip set="SharkBite" when="precast" />
  230.             <equip set="$GearType" when="aftercast" />
  231.         </if>
  232.        
  233.         <if spell="Evisceration">
  234.             <equip set="Evisceration" when="precast" />
  235.             <equip set="$GearType" when="aftercast" />
  236.         </if>
  237.        
  238.         <if spell="Exenterator">
  239.             <equip set="Exenterator" when="precast" />
  240.             <equip set="$GearType" when="aftercast" />
  241.         </if>
  242.        
  243.         <if spell="Aeolian Edge">
  244.             <equip set="AEdge" when="precast" />
  245.             <equip set="$GearType" when="aftercast" />
  246.         </if>      
  247.                
  248.         <if Spell="*Waltz*">
  249.             <equip when="Precast" set="Waltz" />
  250.             <equip when="aftercast" set="$GearType" />
  251.         </if>
  252.        
  253.         <if Spell="*step" notspell="Feather Step">
  254.             <equip when="Precast" set="Steps" />
  255.             <equip when="aftercast" set="$GearType" />
  256.         </if>
  257.        
  258.         <if spell="Trance">
  259.             <equip when="Precast">
  260.                 <head>Etoile Tiara +2</head>
  261.             </equip>
  262.             <equip when="aftercast" set="$GearType" />
  263.         </if>
  264.        
  265.         <if spell="Climactic Flourish">
  266.             <equip when="precast">
  267.                 <head>Charis Tiara +2</head>
  268.             </equip>
  269.             <equip when="aftercast" set="$GearType" />
  270.         </if>
  271.        
  272.         <if spell="*Samba*">
  273.             <equip when="precast" set="Sambas" />
  274.             <equip when="aftercast" set="$GearType" />
  275.         </if>
  276.        
  277.         <if spell="Violent Flourish|No Foot Rise">
  278.             <equip when="precast">
  279.                 <body>Etoile Casaque +2</body>
  280.             </equip>
  281.             <equip when="aftercast" set="$GearType" />
  282.         </if>
  283.        
  284.         <if spell="Striking Flourish">
  285.             <equip when="precast">
  286.                 <body>Charis Casaque +2</body>
  287.             </equip>
  288.             <equip when="aftercast" set="$GearType" />
  289.         </if>
  290.        
  291.         <if spell="Fan Dance">
  292.             <equip when="precast">
  293.                 <hands>Etoile Bangles +2</hands>
  294.             </equip>
  295.             <equip when="aftercast" set="$GearType" />
  296.         </if>
  297.        
  298.         <if spell="Reverse Flourish">
  299.             <equip when="precast">
  300.                 <hands>Charis Bangles +1</hands>
  301.             </equip>
  302.             <equip when="aftercast" set="$GearType" />
  303.         </if>
  304.        
  305.         <if spell="*Jig|Saber Dance">
  306.             <if spell="*Jig">
  307.                 <equip when="precast">
  308.                     <feet>Dancer's toe shoes</feet>
  309.                 </equip>
  310.             </if>
  311.            
  312.             <equip when="precast">
  313.                 <legs>Etoile Tights +2</legs>
  314.             </equip>
  315.             <equip when="aftercast" set="$GearType" />
  316.         </if>
  317.        
  318.         <if spell="Feather Step">
  319.             <equip when="precast" set="Steps">
  320.                 <feet>Charis Toeshoes +2</feet>
  321.             </equip>
  322.             <equip when="aftercast" set="$GearType" />
  323.         </if>
  324.        
  325.         <if spell="Building Flourish">
  326.                <if buffactive="Finishing Move 1">
  327.                    <var cmd="set Building 1" />
  328.                    <addtochat color="121">Building Flourish: 1 Finishing Move - Accuracy Bonus</addtochat>
  329.                </if>
  330.                <elseif buffactive="Finishing Move 2">
  331.                    <var cmd="set Building 2" />
  332.                    <addtochat color="121">Building Flourish: 2 Finishing Moves - Accuracy &amp; Attack Bonus</addtochat>
  333.                </elseif>
  334.                <elseif buffactive="Finishing Move 3|Finishing Move 4|Finishing Move 5">
  335.                    <var cmd="set Building 3" />
  336.                    <addtochat color="121">Building Flourish: 3 Finishing Moves  - Accuracy, Attack &amp; Critical Hit Rate Bonus</addtochat>
  337.                </elseif>
  338.                <elseif buffactive="Finishing Move">
  339.                    <addtochat color="121">--- Your status.xml resources file needs to be modified for Building Flourish to work properly ---</addtochat>
  340.                </elseif>
  341.                <else>
  342.                    <var cmd="set Building 0" />
  343.                </else>
  344.            </if>
  345.        
  346.        
  347. <!--=========================================================================
  348.     Utility Handling
  349. =============================================================================-->
  350.  
  351. <!-- Check if you're using a Step, make sure you can use Presto and make sure you don't have it. Then check to see if you have 0 or 2 Finishing moves to ensure you don't waste any -->
  352.         <if mode="and" Spell="*step"  notbuffactive="Presto" MLvlGT="77">
  353.             <if mode="or" notbuffactive="Finishing Move*" buffactive="Finishing Move 2">
  354.                 <var cmd="set CurrentStep %Spell" />
  355.                 <addtochat color="121">Current Backup Step: $CurrentStep</addtochat>
  356.                 <cancelspell />
  357.                 <addtochat color="121">No Presto Up - Popping Presto!</addtochat>
  358.                 <command>input /ja "Presto" &lt;me&gt;;wait 2.0;input /ja "$CurrentStep" &lt;t&gt;;</command>
  359.             </if>
  360.             <else>
  361.                 <addtochat color="121">Skipping Presto.</addtochat>
  362.             </else>
  363.         </if>
  364.    
  365.         <if spell="Utsusemi: Ichi" BuffActive="Copy Image|Copy Image (2)" NotBuffActive="Silence|Mute|Omerta|Obliviscence">
  366.             <midcastdelay delay="3.0" />
  367.             <command when="midcast">cancel 66</command>
  368.         </if>
  369.         <if Spell="Sneak|Monomi*" BuffActive="Sneak" SpellTargetType="Self">
  370.             <command when="midcast">cancel 71</command>
  371.             <midcastdelay delay="1.8" />
  372.         </if>
  373.         <if Spell="Spectral Jig" BuffActive="Sneak" SpellTargetType="Self">
  374.             <command when="precast">cancel 71</command>
  375.         </if>
  376.        
  377.         <if status="Engaged">
  378.             <equip when="Engaged|Aftercast" set="$GearType" />
  379.         </if>
  380.         <elseif status="Idle">
  381.             <equip when="Idle|Aftercast" set="Standard" />
  382.         </elseif>
  383.    
  384.     </rules>
  385. </spellcast>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement