Advertisement
sanriku

sanriku_drg

May 7th, 2013
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 11.68 KB | None | 0 0
  1. <?xml version="1.0" ?>
  2.  
  3. <spellcast xmlns:xi="http://www.w3.org/2001/XInclude">
  4.  
  5.     <config
  6.             RequireVersion="2.30"
  7.             Debug="False"
  8.             ShowGearSwaps="False" />
  9.            
  10.         <guildwork
  11.        character="Sanriku"
  12.        server="Quetzalcoatl"
  13.        description="Does what it does, and covers all but a convert set."
  14.        job="drg"/>
  15.            
  16.     <variables>
  17.         <var name="PRing">0</var>
  18.     </variables>
  19.    
  20.     <sets>
  21.  
  22.         <group default="yes" name="DRG">
  23.             <set name="Standard" />
  24.             <set name="Engaged-SAM|WAR|THF|DRK|NIN">
  25.                 <lring>Tyrant's Ring</lring>
  26.                 <ammo>Thew Bomblet</ammo>
  27.                 <head>Phorcys Salade</head>
  28.                 <neck>Asperity Necklace</neck>
  29.                 <body>Lancer's Plackart +2</body>
  30.                 <hands>Karieyh Moufles</hands>
  31.                 <lear>Bladeborn Earring</lear>
  32.                 <rear>Steelflash Earring</rear>
  33.                 <legs>Phorcys Dirs</legs>
  34.                 <waist>Goading Belt</waist>
  35.                 <feet>Lncr. Schynbld. +2</feet>
  36.                 <back>Atheling Mantle</back>
  37.                 <rring>Rajas Ring</rring>
  38.             </set>
  39.            
  40.             <set name="Engaged-RDM|WHM|BLU|BLM|SCH">
  41.                 <lring>Dark Ring</lring>
  42.                 <ammo>Thew Bomblet</ammo>
  43.                 <head>Mekira-oto</head>
  44.                 <neck>Wiglen Gorget</neck>
  45.                 <body>Mekira Meikogai</body>
  46.                 <hands>Karieyh Moufles</hands>
  47.                 <lear>Ethereal Earring</lear>
  48.                 <rear>Brutal Earring</rear>
  49.                 <legs>Phorcys Dirs</legs>
  50.                 <waist>Zoran's Belt</waist>
  51.                 <feet>Phorcys Schuhs</feet>
  52.                 <back>Metallon Mantle</back>
  53.                 <rring>Dark Ring</rring>
  54.             </set>
  55.  
  56.             <set name="Idle-SAM|WAR|THF|DRK|NIN">
  57.                 <lring>Dark Ring</lring>
  58.                 <ammo>Thew Bomblet</ammo>
  59.                 <head>Ogier's Helm</head>
  60.                 <neck>Wiglen Gorget</neck>
  61.                 <body>Mekira Meikogai</body>
  62.                 <hands>Karieyh Moufles</hands>
  63.                 <lear>Ethereal Earring</lear>
  64.                 <rear>Brutal Earring</rear>
  65.                 <legs>Blitzer Poleyn</legs>
  66.                 <waist>Nierenschutz</waist>
  67.                 <feet>Phorcys Schuhs</feet>
  68.                 <back>Metallon Mantle</back>
  69.                 <rring>Dark Ring</rring>
  70.             </set>
  71.  
  72.             <set name="Idle-RDM|WHM|BLU|BLM|SCH">
  73.                 <lring>Dark Ring</lring>
  74.                 <ammo>Thew Bomblet</ammo>
  75.                 <head>Twilight Helm</head>
  76.                 <neck>Wiglen Gorget</neck>
  77.                 <body>Twilight Mail</body>
  78.                 <hands>Karieyh Moufles</hands>
  79.                 <lear>Ethereal Earring</lear>
  80.                 <rear>Brutal Earring</rear>
  81.                 <legs>Blitzer Poleyn</legs>
  82.                 <waist>Nierenschutz</waist>
  83.                 <feet>Phorcys Schuhs</feet>
  84.                 <back>Metallon Mantle</back>
  85.                 <rring>Dark Ring</rring>
  86.             </set>
  87.            
  88.             <set name="PDT">
  89.                 <lring>Dark Ring</lring>
  90.                 <ammo>Thew Bomblet</ammo>
  91.                 <head>Ogier's Helm</head>
  92.                 <neck>Wiglen Gorget</neck>
  93.                 <body>Mekira Meikogai</body>
  94.                 <hands>Karieyh Moufles</hands>
  95.                 <lear>Ethereal Earring</lear>
  96.                 <rear>Brutal Earring</rear>
  97.                 <legs>Blitzer Poleyn</legs>
  98.                 <waist>Nierenschutz</waist>
  99.                 <feet>Phorcys Schuhs</feet>
  100.                 <back>Metallon Mantle</back>
  101.                 <rring>Dark Ring</rring>
  102.             </set>
  103.            
  104.             <set name="Town">
  105.                 <ammo>Thew Bomblet</ammo>
  106.                 <head>Twilight Helm</head>
  107.                 <neck>Lancer's Torque</neck>
  108.                 <body>Twilight Mail</body>
  109.                 <hands>Lancer's Vambraces +2</hands>
  110.                 <lear>Ethereal Earring</lear>
  111.                 <rear>Brutal Earring</rear>
  112.                 <legs>Lncr. Cuissots +2</legs>
  113.                 <waist>Goading Belt</waist>
  114.                 <lring>Tyrant's Ring</lring>
  115.                 <rring>Rajas Ring</rring>
  116.                 <feet>Lncr. Schynbld. +2</feet>
  117.                 <back>Atheling Mantle</back>
  118.             </set>
  119.  
  120.             <set name="WSGEAR" baseset="standard">
  121.                 <ammo>Thew Bomblet</ammo>
  122.                 <head>Mekira-oto</head>
  123.                 <neck>Justiciar's Torque</neck>
  124.                 <body>Phorcys Korazin</body>
  125.                 <hands>Lancer's Vambraces +2</hands>
  126.                 <lear>Kemas Earring</lear>
  127.                 <legs>Karieyh Brayettes</legs>
  128.                 <waist>Caudata Belt</waist>
  129.                 <lring>Vulcan's Ring</lring>
  130.                 <feet>Karieyh Sollerets</feet>
  131.             </set> 
  132.            
  133.             <set name="Drakes" baseset="WSGEAR">
  134.                 <ammo>Thew Bomblet</ammo>
  135.                 <head>Karieyh Morion</head>
  136.                 <body>Karieyh Haubert</body>
  137.                 <hands>Lancer's Vambraces +2</hands>
  138.                 <lear>Kemas Earring</lear>
  139.                 <legs>Lncr. Cuissots +2</legs>
  140.                 <waist>Caudata Belt</waist>
  141.                 <lring>Vulcan's Ring</lring>
  142.                 <feet>Karieyh Sollerets</feet>
  143.             </set>
  144.  
  145.             <set name="SD" baseset="WSGEAR">
  146.                 <ammo>Thew Bomblet</ammo>
  147.                 <head>Mekira-oto</head>
  148.                 <neck>Justiciar's Torque</neck>
  149.                 <body>Phorcys Korazin</body>
  150.                 <hands>Lancer's Vambraces +2</hands>
  151.                 <lear>Kemas Earring</lear>
  152.                 <legs>Karieyh Brayettes</legs>
  153.                 <waist>Caudata Belt</waist>
  154.                 <lring>Vulcan's Ring</lring>
  155.                 <feet>Karieyh Sollerets</feet>
  156.             </set>
  157.            
  158.             <set name="jump" baseset="WSGEAR">
  159.                 <head>Twilight Helm</head>
  160.                 <body>Twilight Mail</body>
  161.                 <waist>Anguinus Belt</waist>
  162.                 <hands>Lncr. Vmbrc. +2</hands>
  163.                 <legs>Karieyh Brayettes</legs>
  164.                 <lring>Tyrant's Ring</lring>
  165.                 <feet>Phorcys Schuhs</feet>
  166.             </set>
  167.  
  168.             <set name="high jump" baseset="WSGEAR">
  169.                 <head>Twilight Helm</head>
  170.                 <body>Twilight Mail</body>
  171.                 <waist>Anguinus Belt</waist>
  172.                 <hands>Lncr. Vmbrc. +2</hands>
  173.                 <legs>Karieyh Brayettes</legs>
  174.                 <lring>Tyrant's Ring</lring>
  175.                 <feet>Phorcys Schuhs</feet>
  176.             </set>
  177.  
  178.             <set name="Spirit jump" baseset="WSGEAR">
  179.                 <body>Kudzu Aketon</body>
  180.                 <waist>Anguinus Belt</waist>
  181.                 <hands>Lncr. Vmbrc. +2</hands>
  182.                 <legs>Lncr. Cuissots +2</legs>
  183.                 <lring>Tyrant's Ring</lring>
  184.                 <feet>Lncr. Schynbld. +2</feet>
  185.             </set>
  186.  
  187.             <set name="Soul jump" baseset="WSGEAR">
  188.                 <body>Kudzu Aketon</body>
  189.                 <waist>Anguinus Belt</waist>
  190.                 <hands>Lncr. Vmbrc. +2</hands>
  191.                 <legs>Lncr. Cuissots +2</legs>
  192.                 <lring>Tyrant's Ring</lring>
  193.                 <feet>Phorcys Schuhs</feet>
  194.             </set>
  195.  
  196.             <set name="PreBreath">
  197.                 <head>Drachen Armet</head>
  198.             </set>
  199.  
  200.             <set name="Breath">
  201.                 <head>Wyrm Armet</head>
  202.                 <neck>Lancer's Torque</neck>
  203.                 <body>Wyvern Mail</body>
  204.                 <hands>Ostreger Mitts</hands>
  205.                 <legs>Drachen Brais +1</legs>
  206.                 <waist>Glassblower's Belt</waist>
  207.                 <feet>Wyrm Greaves +2</feet>
  208.                 <back>Lancer's Pelerine</back>
  209.                 <rear>Lancer's Earring</rear>
  210.             </set>
  211.  
  212.  
  213.             <set name="Resting" baseset="idle">
  214.                 <body>Drachen Mail +1</body>
  215.             </set>
  216.  
  217.             <set name ="Call Wyvern" baseset ="%Status-%SubJob">
  218.                 <body>Wyrm Mail</body>
  219.             </set>
  220.            
  221.             <set name ="Angon" baseset ="%Status-%SubJob">
  222.                 <ammo>Angon</ammo>
  223.             </set>
  224.            
  225.             <set name="Apoc" baseset="%Status-%SubJob">
  226.                 <head>Twilight Helm</head>
  227.                 <body>Twilight Mail</body>
  228.             </set>
  229.  
  230.             <set name="Haste" baseset="standard">
  231.                 <head>Lancer's Mezail +2</head>
  232.                 <waist>Goading Belt</waist>
  233.                 <rear>Loquacious Earring</rear>
  234.             </set>
  235.  
  236.             <set name="Spirit Link" baseset="Apoc">
  237.                 <hands>Lncr. Vmbrc. +2</hands>
  238.             </set>
  239.  
  240.             <set name="ALLSet" baseset="%Status-%SubJob">
  241.                 <sub>Pole Grip</sub>
  242.                 <ammo>Thew Bomblet</ammo>
  243.             </set>
  244.            
  245.         </group>
  246.  
  247.     </sets>
  248.  
  249.     <rules>
  250.    
  251.         <!-- Auto Re-Equip -->
  252.         <if advanced='("%EquipBody"="empty" AND "%EquipHead"="empty")'>
  253.             <if mainjob="DRG">
  254.                 <equip set="AllSet" />
  255.             </if>
  256.         </if>
  257.        
  258.         <!-- Autoset -->
  259.             <if spell="autoset">
  260.                 <equip when="Engaged" set="Engaged-%Subjob" />
  261.                 <equip when="Idle" set="Idle-%Subjob" />
  262.             </if>
  263.        
  264.         <!-- Auto Zombie Code! -->
  265.         <if BuffActive="Weakness">
  266.             <action type="equip" when="idle|engaged|precast|midcast|aftercast">
  267.                 <head lock="yes">Twilight Helm</head>
  268.                 <body lock="yes">Twilight Mail</body>
  269.             </action>
  270.         </if>
  271.        
  272.         <!-- Prouesse Ring --> 
  273.         <if advanced='"$PRing" = "1"'>
  274.             <action type="equip" when="engaged|precast|midcast|aftercast">
  275.                 <lring lock="yes">Prouesse Ring</lring>
  276.             </action>
  277.         </if>
  278.        
  279.     <!-- Weapon Skill Rules -->
  280.         <if type="Weaponskill">
  281.             <precastdelay delay="0.4" />
  282.             <midcastdelay delay="0.9" />
  283.             <equip when="Aftercast" set ="%Status-%SubJob" />
  284.                 <if spell="Double Thrust|Raiden Thrust|Skewer|Thunder Thrust|Vorpal Thrust|Impulse Drive|Penta Thrust|Sonic Thrust">
  285.                     <equip when="precast" set="WSGEAR" />
  286.                 </if>
  287.                 <elseif spell="Drakesbane|Wheeling Thrust">
  288.                     <equip when="precast" set="Drakes" />
  289.                 </elseif>
  290.                 <elseif spell="Stardiver">
  291.                     <equip when="precast" set="SD" />
  292.                 </elseif>
  293.             <if SubJob="SAM|NIN|WAR|THF|DNC" notBuffactive="Spirit Surge" PetIsValid="True">
  294.                 <if NotBuffactive="Embrava|March">
  295.                     <aftercastdelay delay="1.8"/>
  296.                     <equip when="Midcast" Set="Breath" />
  297.                 </if>
  298.             </if>
  299.         </if>
  300.  
  301.         <!-- Job Ability Rules -->
  302.         <if Spell="Call Wyvern">
  303.             <equip when="Precast" set="Call Wyvern" />
  304.             <aftercastdelay delay="1" />
  305.             <equip when="Aftercast" set ="%Status-%SubJob" />
  306.         </if>
  307.            
  308.         <if Spell="Angon">
  309.             <equip when="Precast" set="Angon" />
  310.             <precastdelay delay="1" />
  311.             <equip when="aftercast" set="%Status-%SubJob" />
  312.             <aftercastdelay delay="1" />
  313.         </if>
  314.  
  315.         <if spell="Spirit Jump" petisvalid="true">
  316.             <action type="equip" when="precast" set="Spirit jump" />
  317.             <action type="Aftercastdelay" delay="1" />
  318.             <equip when="Aftercast" set ="%Status-%SubJob" />
  319.         </if>
  320.             <elseif spell="Spirit Jump" petisvalid="false">
  321.                 <changespell spell="Jump" />
  322.             </elseif>
  323.         <if spell="Soul Jump" petisvalid="true">
  324.             <equip when="precast" set="Soul jump" />
  325.             <Aftercastdelay delay="1" />
  326.             <equip when="Aftercast" set ="%Status-%SubJob" />
  327.         </if>
  328.             <elseif spell="Soul Jump" petisvalid="false">
  329.                 <changespell spell="High Jump" />
  330.             </elseif>
  331.        
  332.         <if spell="Jump">
  333.             <action type="equip" when="precast" set="jump" />
  334.             <action type="Aftercastdelay" delay="1" />
  335.             <equip when="Aftercast" set ="%Status-%SubJob" />
  336.         </if>
  337.         <if spell="High Jump">
  338.             <action type="equip" when="precast" set="high jump" />
  339.             <action type="Aftercastdelay" delay="1" />
  340.             <equip when="Aftercast" set ="%Status-%SubJob" />
  341.         </if>
  342.        
  343.         <if spell="Spirit Link">
  344.             <action type="Precastdelay" delay=".4" />
  345.             <action type="equip" when="precast" set="Spirit Link" />
  346.             <action type="Aftercastdelay" delay="2" />
  347.             <equip when="Aftercast" set ="%Status-%SubJob" />
  348.         </if>
  349.  
  350.         <!-- Breath Rules -->
  351.         <if spell="Foot Kick|Power Attack|Wild Oats|Head Butt|Pollen|Dia*|Protect*|Blinda|Silena|Regen|Paralyna|Cursna|Erase|Poison*|Bar*" petisvalid="true">
  352.             <action type="equip" when="precast" set="PreBreath" />
  353.             <action type="Midcastdelay" delay="1.5" />
  354.             <action type="equip" when="Midcast" set="Breath" />
  355.             <action type="Aftercastdelay" delay="5" />
  356.             <equip when="Aftercast" set ="%Status-%SubJob" />
  357.         </if>
  358.  
  359.         <if spell="*Breath">
  360.             <action type="equip" when="precast" set="Breath" />
  361.             <action type="Aftercastdelay" delay="6" />
  362.             <equip when="Aftercast" set ="%Status-%SubJob" />
  363.         </if>
  364.  
  365.         <!-- Utsusemi Rules -->
  366.         <if spell="Utsusemi: Ichi">
  367.             <action type="Equip" when="precast" set="Haste" />
  368.             <action type="midcastdelay" delay="2.8" />
  369.             <action type="Equip" when="Aftercast" set="%SubJob-%Status" />
  370.                 <if BuffActive="Copy Image*">
  371.                     <action type="Command" when="midcast">cancel 66</action>
  372.                     <action type="Command" when="midcast">cancel 444</action>
  373.                     <action type="Command" when="midcast">cancel 445</action>
  374.                     <action type="Command" when="midcast">cancel 446</action>
  375.                 </if>
  376.         </if>
  377.        
  378.         <if spell="Utsusemi: Ni">
  379.                 <Equip when="precast" set="Haste"/>
  380.                 <Equip when="aftercast" set="%Status-%SubJob" />
  381.         </if>
  382.  
  383.         <!-- Misc Rules -->
  384.         <if Area="*Windurst*|*San d'Oria*|*Bastok*|*Jeuno*|*Whitegate|Al Zahbi" NotArea="Dynamis*|*[S]" NotBuffActive="Besieged">
  385.             <action type="Equip" when="precast" set="Town" />
  386.         </if>
  387.        
  388.         <if status="KO">
  389.             <cancelspell />
  390.             <return />
  391.         </if>
  392.  
  393.     </rules>
  394.  
  395. </spellcast>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement