Advertisement
Belgaer

Food Script for SSU2 Plus

Feb 26th, 2013
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 4.12 KB | None | 0 0
  1. <!---
  2.    Orignally Written by:
  3.        Windower Forum: Genesisx
  4.     Maintained by since Version 1.6:
  5.         FFXI AH: MilkMansKid
  6.    Last Updated: 09/28/2012
  7.    Current Version: Skillup.xml v1.8
  8.    --->
  9. <spellcast xmlns:xi="http://www.w3.org/2001/XInclude">
  10.     <!--- SpellCast Configurations --->
  11.     <config
  12.        Debug="false"
  13.        ShowSpellInfo="false"
  14.        ShowGearSwaps="false"
  15.        />
  16.     <!--- SpellCast Variables --->
  17.     <variables clear="true">
  18.         <var name="SkillUp">1</var>  <!--- /Heal Break DO NOT ALTER --->
  19.         <var name="FirstSetup">0</var> <!--- First Run Display Var DO NOT ALTER--->
  20.         <var name="SkillCycle">1</var> <!--- Spell Cycle NO NOT ALTER --->
  21.        
  22.         <!--- You can alter these variables, Time is in seconds --->
  23.         <var name="Show.Debug">False</var> <!--- Show Process/Debug Info True/False --->
  24.          
  25.         <var name="RestTime4Smn">3</var> <!--- Set REST time for SMN Skill --->
  26.         <var name="RestTime4Cure">3</var> <!--- Set REST time for Healing Skill --->
  27.         <var name="RestTime4Protect">4</var> <!--- Set REST time for Protect Shell Enhancing Skill --->
  28.         <var name="RestTime4Bar">5</var> <!--- Set REST time for Bar type spells --->
  29.         <var name="RestTime4Blaze">5</var> <!--- Set REST time for Blaze Spikes --->
  30.         <var name="RestTime4Etude">3</var> <!--- Set REST time for Etude spells --->
  31.        
  32.         <!--- You can alter these variables, to use Skill UP food or not to. Make sure you have enough food for how ever long you plan to skill up for or it will just keep trying to eat food!--->
  33.         <var name="UseFood">True</var> <!--- Use skill-up food True/False --->
  34.         <var name="FoodName">B.E.W. Pitaru</var> <!--- Valid Magic Food: Stuffed Pitaru, Poultry Pitaru, Seafood Pitaru, B.E.W Pitaru --->
  35.        
  36.         <!--- Recommended you change this spell to the name of the trigger spell for the type
  37.               of magic you going to be skilling up if you plan to use food AND/OR some form of
  38.               Refresh from main/subjob! Otherwise when you first goto run it make sure you manually
  39.               ate the food AND/OR casted the refresh/ballad before using the first trigger spell!!!
  40.              
  41.               Valid Names: Carbuncle, Cure, Protect, Barfira, Barfire, Blaze Spikes, Enchanting Etude --->
  42.         <var name="CurrentSpell">Cure</var> <!--- Genesisx recommended not altering; but I do cause other wise it defaults back to cure if you didn't have your refresh AND/OR food eaten before the 1st trigger spell! Which means you have to reload the script before the spell/food wears off and hit the trigger spell again!--->
  43.     </variables>
  44.  
  45.     <sets>
  46.         <!--- Specify Resting / Standard gear if desired --->
  47.         <group default="yes" name="Job">
  48.             <set name="Standard" />
  49.             <set name="Resting Gear" />
  50.         </group>
  51.     </sets>
  52.  
  53.     <rules>
  54.         <!--- Setup Gear and /Heal Break Variable for Resting & Idle --->
  55.         <equip when="idle" set="Standard" />
  56.         <equip when="resting" set="Resting Gear" />
  57.          
  58.         <!--- Setup First Run Notification --->
  59.         <if advanced='$FirstSetup != 1'>
  60.             <command>bind ^escape input /echo Exiting.;reload spellcast;unbind ^escape;</command>
  61.             <addtochat color="121">-- SkillUp.Xml v1.8 ---</addtochat>
  62.             <addtochat color="121">Press CTRL+Escape at anytime to unload spellcast and exit SkillUp.Xml</addtochat>
  63.             <addtochat color="121">To start cast one of these spells:</addtochat>
  64.             <addtochat color="121">Carbuncle, Cure, Protect, Barfira, Barefire, Blaze Spikes, Enchanting Etude</addtochat>
  65.             <var cmd="set FirstSetup 1" />
  66.             <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="67">Debug Process:: Show First Run Note</addtochat></if>
  67.         </if>
  68.  
  69.         <if status ="Idle">
  70.             <if mode="AND" advanced='"$UseFood"=="True"' notbuffactive="food">
  71.                 <changespell spell="Dancing Chains" />
  72.                 <changetarget target="&lt;me&gt;" />
  73.                 <command when="aftercast">wait 3;input /item "$FoodName" &lt;me&gt;</command>
  74.             </if>
  75.         </if>
  76.     </rules>
  77. </spellcast>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement