Advertisement
R3G1STRY

DRK.xml

Jan 16th, 2013
265
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 13.14 KB | None | 0 0
  1. <?xml version="1.0" ?>
  2. <spellcast xmlns:xi="http://www.w3.org/2001/XInclude">
  3.     <config
  4.         HideErrors="false"
  5.         ShowGearSwaps="false"
  6.         Debug="false"
  7.         ShowSpellInfo="false"
  8.     />
  9.     <!-- R3G1STRY's Ragnarok/Apocalypse DRK XML template v1.3.1
  10.    
  11.         AutoExec Data needed for this file:
  12.         <autoexec>
  13.             <register event="losebuff_weakness|gainbuff_aftermath|losebuff_aftermath|losebuff_embrava|gainbuff_embrava|losebuff_last resort|gainbuff_last resort" silent="true">input /magic "Dancing Chains"</register>
  14.         </autoexec>
  15.         MUST CALL THE AUTOEXEC FILE DRK_AutoExec.xml
  16.        
  17.         Registry_Include.xml is needed to use this file. You can find it at http://pastebin.com/u/R3G1STRY. -->
  18.        
  19.     <!-- CHANGELOG:
  20.                   * 9/21/12:    Got rid of multiple toggles, now TP gear changes automatically depending on the
  21.                                 situation. You still have to toggle accuracy sets and Rancor Collar.
  22.                  
  23.                   * 10/15/12:   Registry_Include.xml now needed to use this file. -->
  24.                        
  25.     <!-- RANDOM NOTES:               
  26.                   * I only have Ragnarok, so I'm not 100% sure Apoc rules are working as intended, but I'm told they are from
  27.                         other people who have used this file. If not, please contact me with the details either through FFXIAH
  28.                         or Guildwork. I am currently under the name Registry on the Odin server. -->
  29.  
  30.     <!-- A QUICK GUIDE TO TOGGLES AND HOW THEY WORK:
  31.  
  32.                   * Certain commands will toggle certain gearsets. When you use a toggle it will continue to put that set
  33.                         on after any action. For example... if you use '/magic "Barbed Crescent"' you will toggle to your MDT
  34.                         set. If you then use a weaponskill, it will put on that weaponskill's gear. After the weaponskill is
  35.                         finished it will put on the MDT set again. To toggle to the current TP set you should be in use the
  36.                         macro '/magic "Barbed Crescent"' again.
  37.                  
  38.                   * Below is a list of macros you're going to want to have. Some toggles are handled with abilities while
  39.                             others are handled with classtriggers. How the macro should look, line by line, is shown. -->
  40.    
  41.     <!-- MDT macro:
  42.        
  43.         /magic "Aegis Schism"
  44.         Empty
  45.         Empty
  46.         Empty
  47.         Empty
  48.         Empty      
  49.     -->
  50.      
  51.     <!-- PDT macro:
  52.        
  53.         /magic "Barbed Crescent" <t>
  54.         Empty
  55.         Empty
  56.         Empty
  57.         Empty
  58.         Empty      
  59.     -->
  60.      
  61.     <!-- Reset macro (Also used as primary AutoExec trigger, if for some reason your
  62.          gear does not properly swap, press this to go back/change to your proper set):
  63.        
  64.         /magic "Dancing Chains"
  65.         Empty
  66.         Empty
  67.         Empty
  68.         Empty
  69.         Empty      
  70.     -->
  71.    
  72.     <variables clear="true">
  73.         <!-- Used to set current TP Set, do not change -->
  74.         <var name="DD">None</var>
  75.         <var name="Melee">None</var>
  76.        
  77.         <!-- Used to set PDT/MDT Sets, do not change -->
  78.         <var name="Armor">None</var>
  79.        
  80.         <!-- Used to load Autoexec file, do not change -->
  81.         <var name="AutoExecRan">No</var>
  82.     </variables>
  83.     <sets>
  84.         <group default="yes" name="Normal">
  85.             <!-- Empty Set, DO NOT alter this. -->
  86.             <set Name="None"></set>
  87.            
  88.             <!-- Ragnarok TP Sets -->
  89.             <set name="Rag-SJSAM">
  90.                
  91.             </set>
  92.            
  93.             <set name="Rag-Embrava-LR-SJSAM">
  94.            
  95.             </set>
  96.            
  97.             <set name="Rag-Embrava-SJSAM">
  98.            
  99.             </set>
  100.            
  101.             <set name="Rag-LR-SJSAM">
  102.            
  103.             </set>
  104.            
  105.             <set name="Rag-SJWAR">
  106.                
  107.             </set>
  108.            
  109.             <set name="Rag-Embrava-LR-SJWAR">
  110.            
  111.             </set>
  112.            
  113.             <set name="Rag-Embrava-SJWAR">
  114.            
  115.             </set>
  116.            
  117.             <set name="Rag-LR-SJWAR">
  118.            
  119.             </set>
  120.            
  121.             <set name="Rag-Voidwatch-SJSAM">
  122.                
  123.             </set>
  124.            
  125.             <set name="Rag-Voidwatch-Embrava-LR-SJSAM">
  126.            
  127.             </set>
  128.            
  129.             <set name="Rag-Voidwatch-Embrava-SJSAM">
  130.            
  131.             </set>
  132.            
  133.             <set name="Rag-Voidwatch-LR-SJSAM">
  134.            
  135.             </set>
  136.            
  137.             <set name="Rag-Voidwatch-SJWAR">
  138.                
  139.             </set>
  140.            
  141.             <set name="Rag-Voidwatch-Embrava-LR-SJWAR">
  142.            
  143.             </set>
  144.            
  145.             <set name="Rag-Voidwatch-Embrava-SJWAR">
  146.            
  147.             </set>
  148.            
  149.             <set name="Rag-Voidwatch-LR-SJWAR">
  150.            
  151.             </set>
  152.            
  153.            
  154.             <!-- Apocalypse TP Sets -->
  155.             <set name="Apoc-SJSAM">
  156.                
  157.             </set>
  158.            
  159.             <set name="Apoc-AM-SJSAM">
  160.                
  161.             </set>
  162.            
  163.             <set name="Apoc-Embrava-SJSAM">
  164.                
  165.             </set>
  166.            
  167.             <set name="Apoc-LR-SJSAM">
  168.            
  169.             </set>
  170.            
  171.             <set name="Apoc-AM-Embrava-SJSAM">
  172.                
  173.             </set>
  174.            
  175.             <set name="Apoc-AM-LR-SJSAM">
  176.            
  177.             </set>
  178.            
  179.             <set name="Apoc-LR-Embrava-SJSAM">
  180.            
  181.             </set>
  182.            
  183.             <set name="Apoc-AM-Embrava-LR-SJSAM">
  184.            
  185.             </set>
  186.            
  187.             <set name="Apoc-SJWAR">
  188.                
  189.             </set>
  190.            
  191.             <set name="Apoc-AM-SJWAR">
  192.                
  193.             </set>
  194.            
  195.             <set name="Apoc-Embrava-SJWAR">
  196.                
  197.             </set>
  198.            
  199.             <set name="Apoc-LR-SJWAR">
  200.            
  201.             </set>
  202.            
  203.             <set name="Apoc-AM-Embrava-SJWAR">
  204.                
  205.             </set>
  206.            
  207.             <set name="Apoc-AM-LR-SJWAR">
  208.            
  209.             </set>
  210.            
  211.             <set name="Apoc-Embrava-LR-SJWAR">
  212.            
  213.             </set>
  214.            
  215.             <set name="Apoc-AM-Embrava-LR-SJWAR">
  216.            
  217.             </set>
  218.            
  219.             <set name="Apoc-Voidwatch-SJWAR">
  220.            
  221.             </set>
  222.            
  223.             <set name="Apoc-Voidwatch-AM-SJWAR">
  224.                
  225.             </set>
  226.            
  227.             <set name="Apoc-Voidwatch-Embrava-SJWAR">
  228.                
  229.             </set>
  230.            
  231.             <set name="Apoc-Voidwatch-LR-SJWAR">
  232.            
  233.             </set>
  234.            
  235.             <set name="Apoc-Voidwatch-AM-Embrava-SJWAR">
  236.                
  237.             </set>
  238.            
  239.             <set name="Apoc-Voidwatch-AM-LR-SJWAR">
  240.            
  241.             </set>
  242.            
  243.             <set name="Apoc-Voidwatch-Embrava-LR-SJWAR">
  244.            
  245.             </set>
  246.            
  247.             <set name="Apoc-Voidwatch-AM-Embrava-LR-SJWAR">
  248.            
  249.             </set>
  250.            
  251.             <set name="Apoc-Voidwatch-SJSAM">
  252.            
  253.             </set>
  254.            
  255.             <set name="Apoc-Voidwatch-AM-SJSAM">
  256.                
  257.             </set>
  258.            
  259.             <set name="Apoc-Voidwatch-Embrava-SJSAM">
  260.                
  261.             </set>
  262.            
  263.             <set name="Apoc-Voidwatch-LR-SJSAM">
  264.            
  265.             </set>
  266.            
  267.             <set name="Apoc-Voidwatch-AM-Embrava-SJSAM">
  268.                
  269.             </set>
  270.            
  271.             <set name="Apoc-Voidwatch-AM-LR-SJSAM">
  272.            
  273.             </set>
  274.            
  275.             <set name="Apoc-Voidwatch-Embrava-LR-SJSAM">
  276.            
  277.             </set>
  278.            
  279.             <set name="Apoc-Voidwatch-AM-Embrava-LR-SJSAM">
  280.            
  281.             </set>
  282.            
  283.             <!-- Idle Set -->
  284.             <set name="Idle">
  285.                
  286.             </set>
  287.            
  288.             <!-- Just put movement gear here -->
  289.             <set name="Movement">
  290.            
  291.             </set>
  292.            
  293.             <!-- PDT Set -->
  294.             <set name="PDT" >
  295.                
  296.             </set>
  297.            
  298.             <!-- MDT Set -->
  299.             <set name="MDT">
  300.                
  301.             </set>
  302.            
  303.             <!-- Twilight set, mainly used for reference. DO NOT change -->
  304.             <set name="Twilight-Set">
  305.                 <head lock="true">Twilight Helm</head>
  306.                 <body lock="true">Twilight Mail</body>
  307.             </set>
  308.            
  309.             <!-- Resolution Set -->
  310.             <set name="Resolution">
  311.                
  312.             </set>
  313.            
  314.             <!-- Entropy Set -->
  315.             <set name="Entropy">
  316.                
  317.             </set>
  318.            
  319.             <!-- Catastrophe Set -->
  320.             <set name="Catastrophe">
  321.                
  322.             </set>
  323.            
  324.             <!-- Utsu Ni Set, use full Haste -->
  325.             <set name="Ni">
  326.                
  327.             </set>
  328.            
  329.             <!-- Utsu Ichi Set, use SID/Fastcast -->
  330.             <set name="Ichi">
  331.                
  332.             </set>
  333.            
  334.             <!-- Fastcast Set, will only be used during precast -->
  335.             <set name="Fastcast">
  336.                
  337.             </set>
  338.            
  339.             <!-- Enfeebling skill gear -->
  340.             <set name="Enfeebles">
  341.                
  342.             </set>
  343.            
  344.             <!-- Stun set -->
  345.             <set name="Stun">
  346.            
  347.             </set>
  348.            
  349.             <!-- Put full skill here, rules will put on Bale Body +2 for Dread Spikes. -->
  350.             <set name="DarkMagic">
  351.                
  352.             </set>
  353.            
  354.             <!-- Drain/Aspir Set -->
  355.             <set name="Drain/Aspir">
  356.            
  357.             </set>
  358.            
  359.             <!-- Absorbs Set -->
  360.             <set name="Absorbs">
  361.            
  362.             </set>
  363.            
  364.             <!-- Dread Spikes set -->
  365.             <set name="DreadSpikes">
  366.            
  367.             </set>
  368.         </group>
  369.     </sets>
  370.     <rules>
  371.         <!-- Runs AutoExec File automatically -->
  372.         <if advanced='"$AutoExecRan" = "No"'>
  373.             <addtochat>Loading AutoExec File</addtochat>
  374.             <command>wait 0.5;input //AutoExec Load DRK_Autoexec.xml</command>
  375.             <var cmd="set AutoExecRan Yes" />
  376.         </if>
  377.        
  378.         <!-- Dancing Chains is the primary AutoExec trigger, it can also be used
  379.             as a trigger to force your gear to swap to the appropriate idle/engaged set
  380.             if your gear doesn't swap properly in a given situation. -->       
  381.         <if spell="Dancing Chains">
  382.             <!-- Sets Variables -->
  383.             <xi:include href="Registry_Include.xml" xpointer="//include[@name='Set_DRK_Variables']/*" />
  384.            
  385.             <if status="engaged">
  386.                 <equip set="$Melee|$Armor" />
  387.             </if>
  388.             <elseif advanced='"%status" != "zoning|dead"'>
  389.                 <equip set="Idle|$Armor|Movement" />
  390.             </elseif>
  391.             <cancelspell />
  392.             <return />
  393.         </if>
  394.                    
  395.         <!-- PDT/MDT triggers. Trigger once to equip the set over
  396.             your current engaged or idle equip, then again to remove it. -->       
  397.         <elseif spell="Barbed Crescent|Aegis Schism">
  398.             <if spell="Barbed Crescent">
  399.                 <if advanced='"$Armor" = "PDT"'>
  400.                     <var cmd="set Armor None" />
  401.                     <addtochat>PDT - OFF</addtochat>
  402.                 </if>
  403.                 <else>
  404.                     <var cmd="set Armor PDT" />
  405.                     <addtochat>PDT - ON</addtochat>
  406.                 </else>
  407.             </if>
  408.             <else>
  409.                 <if advanced='"$Armor" = "MDT"'>
  410.                     <var cmd="set Armor None" />
  411.                     <addtochat>MDT - OFF</addtochat>
  412.                 </if>
  413.                 <else>
  414.                     <var cmd="set Armor MDT" />
  415.                     <addtochat>MDT - ON</addtochat>
  416.                 </else>
  417.             </else>
  418.             <if status="engaged">
  419.                 <equip set="$Melee|$Armor" />
  420.             </if>
  421.             <elseif advanced='"%status" != "zoning|dead"'>
  422.                 <equip set="Idle|$Armor|Movement" />
  423.             </elseif>
  424.             <cancelspell />
  425.             <return />
  426.         </elseif>
  427.        
  428.         <!-- Triggers Dancing Chains so sets change accordingly -->
  429.         <if advanced='"%status" != "zoning|dead"'>
  430.             <cmd when="engaged|idle|aftercast">Dancing Chains</cmd>
  431.         </if>
  432.        
  433.         <!-- Locks Twilight Helm/Mail when weakened, will be skipped over
  434.             if you set the variable to no. -->
  435.         <if advanced='"$TwilightLock" = "yes"'>
  436.             <if notbuffactive="Visitant">
  437.                 <if buffactive="Weakness">
  438.                     <equip when="all" set="Twilight" />
  439.                 </if>
  440.             </if>
  441.         </if>
  442.        
  443.         <!-- Autoset rules, failsafe for Dancing Chains triggers -->
  444.         <if spell="autoset">
  445.             <equip when="engaged" set="$Melee|$Armor" />
  446.             <equip when="Idle" set="Idle|$Armor|Movement" />
  447.         </if>
  448.        
  449.         <!-- Aftercast Rules, failsafe for Dancing Chains triggers -->
  450.         <if status="Engaged">
  451.             <equip when="aftercast" set="$Melee|$Armor" />
  452.         </if>
  453.         <elseif status="idle">
  454.             <equip when="aftercast" set="Idle|$Armor|Movement" />
  455.         </elseif>
  456.        
  457.         <!-- Weaponskill rules -->
  458.         <if commandprefix="/weaponskill|/ws">
  459.             <precastdelay delay="0.2" />
  460.             <if mode="OR" tplt="100" buffactive="Amnesia|Stun|Terror" notstatus="Engaged">
  461.                 <if notstatus="Engaged">
  462.                     <addtochat>Not engaged.</addtochat>
  463.                 </if>
  464.                 <elseif tplt="100">
  465.                     <addtochat>Not enough TP.</addtochat>
  466.                 </elseif>
  467.                 <elseif buffactive="Amnesia">
  468.                     <addtochat>Amnesia.</addtochat>
  469.                 </elseif>
  470.                 <elseif buffactive="Stun">
  471.                     <addtochat>Stun</addtochat>
  472.                 </elseif>
  473.                 <elseif buffactive="Terror">
  474.                     <addtochat>Terror.</addtochat>
  475.                 </elseif>
  476.                 <if status="engaged">
  477.                     <equip set="$Melee|$Armor" />
  478.                 </if>
  479.                 <elseif advanced='"%status" != "zoning|dead"'>
  480.                     <equip set="Idle|$Armor|Movement" />
  481.                 </elseif>
  482.                 <action type="cancelspell" />
  483.                 <action type="return" />
  484.             </if>
  485.             <elseif spell="Resolution">
  486.                 <equip when="precast" set="Resolution" />
  487.                 <if advanced='"%DayElement" = "Earth" OR "%DayElement" = "Thunder" OR "%DayElement" = "Wind"'>
  488.                     <equip when="precast">
  489.                         <head lock="yes">Mekira-oto +1</head>
  490.                     </equip>
  491.                 </if>
  492.                
  493.             </elseif>
  494.             <elseif spell="Entropy">
  495.                 <equip when="precast" set="Entropy" />
  496.                 <if advanced='"%DayElement" = "Earth" OR "%DayElement" = "Water" OR "%DayElement" = "Dark"'>
  497.                     <equip when="precast">
  498.                         <head lock="yes">Mekira-oto +1</head>
  499.                     </equip>
  500.                 </if>
  501.                
  502.             </elseif>
  503.             <elseif spell="Catastrophe">
  504.                 <equip when="precast" set="Catastrophe" />
  505.                 <if advanced='"%DayElement" = "Earth" OR "%DayElement" = "Dark"'>
  506.                     <equip when="precast">
  507.                         <head lock="yes">Mekira-oto +1</head>
  508.                     </equip>
  509.                 </if>
  510.             </elseif>
  511.         </if>
  512.        
  513.         <!-- Spell rules -->
  514.        
  515.         <!-- Ninjutsu rules -->
  516.         <xi:include href="Registry_Include.xml" xpointer="//include[@name='Non_Ninja_Ninjutsu_Rules']/*" />
  517.        
  518.         <if spell="Absorb*|Drain*|Aspir*|Stun*|Endark">
  519.             <precastdelay delay="0.2" />
  520.             <action type="equip" when="precast" set="Fastcast" />
  521.             <action type="equip" when="midcast" set="DarkMagic" />
  522.             <if spell="Drain*|Aspir*">
  523.                 <equip when="midcast" set="Drain/Aspir" />
  524.             </if>
  525.             <if spell="Absorb*">
  526.                 <equip when="midcast" set="Absorbs" />
  527.             </if>
  528.         </if>
  529.         <if spell="Dread Spikes">
  530.             <equip when="precast|midcast" set="DreadSpikes" />
  531.         </if>
  532.         <if spell="Sleep*|Blind|Bind|Poison*|Break">
  533.             <precastdelay delay="0.2" />
  534.             <action type="equip" when="PreCast" set="Fastcast" />
  535.             <action type="equip" when="midcast" set="Enfeebles" />
  536.         </if>
  537.         <if spell="Stun">
  538.             <equip when="precast" set="Stun" />
  539.         </if>
  540.        
  541.         <!-- JA rules -->
  542.         <if spell="Spectral Jig">
  543.             <precastdelay delay="0.2" />
  544.             <action type="command" when="precast">cancel 71</action>
  545.         </if>
  546.         <if spell="Nether Void">
  547.             <equip when="precast">
  548.                 <legs lock="yes">Bale Flanchard +2</legs>
  549.             </equip>
  550.         </if>
  551.         <if spell="Diabolic Eye">
  552.             <equip when="precast">
  553.                 <hands lock="yes">Abyss Gauntlets +2</hands>
  554.             </equip>
  555.         </if>
  556.         <if spell="Dark Seal">
  557.             <equip when="precast">
  558.                 <head lock="yes">Abyss Burgeonet +2</head>
  559.             </equip>
  560.         </if>
  561.     </rules>
  562. </spellcast>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement