Advertisement
sanriku

drg test

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