Advertisement
S0mas0l

geoskill

Mar 29th, 2013
893
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.47 KB | None | 0 0
  1. <!---
  2. Written by:
  3. Windower Forum: Original Author Genesisx (Modified by Quetzacoatl for Geomancy Magic Skill Ups (Main job and Sub job = Geo/*))
  4. Last Updated: 10/31/11
  5. Current Version: Geoskill.xml v1
  6. --->
  7. <spellcast xmlns:xi="http://www.w3.org/2001/XInclude">
  8. <!--- SpellCast Configurations --->
  9. <config
  10. Debug="false"
  11. ShowSpellInfo="false"
  12. ShowGearSwaps="false"
  13. />
  14. <!--- SpellCast Variables --->
  15. <variables clear="true">
  16. <var name="SkillUp">1</var> <!--- /Heal Break DO NOT ALTER --->
  17. <var name="FirstSetup">0</var> <!--- First Run Display Var DO NOT ALTER--->
  18. <var name="SkillCycle">1</var> <!--- Spell Cycle NO NOT ALTER --->
  19. <var name="CurrentSpell">Protect</var> <!--- Spell Cycle NO NOT ALTER --->
  20.  
  21. <!--- You can alter these variables, Time is in seconds --->
  22. <var name="Show.Debug">False</var> <!--- Show Process/Debug Info True/False --->
  23.  
  24.  
  25. <var name="RestTime4Indi">3</var> <!--- Set REST time for Indi type spells --->
  26. <var name="RestTime4temper">5</var> <!--- Set REST time for haste and temper --->
  27.  
  28. </variables>
  29.  
  30. <sets>
  31. <!--- Specify Resting / Standard gear if desired --->
  32. <group default="yes" name="Job">
  33. <set name = "Standard" />
  34. <set name = "Resting Gear" />
  35. </group>
  36. </sets>
  37.  
  38. <rules>
  39. <!--- Setup Gear and /Heal Break Variable for Resting & Idle --->
  40. <equip when="idle" set="Standard" />
  41. <equip when="resting" set="Resting Gear" />
  42.  
  43. <!--- Setup First Run Notification --->
  44. <if advanced='$FirstSetup != 1'>
  45. <command>bind ^escape input /echo Exiting.;reload spellcast;unbind ^escape;</command>
  46. <addtochat color="121">-- SkillUp.Xml v1.5 ---</addtochat>
  47. <addtochat color="121">Press CTRL+Escape at anytime to unload spellcast and exit SkillUp.Xml</addtochat>
  48. <addtochat color="121">To start cast this spell:</addtochat>
  49. <addtochat color="121">Indi-Poison</addtochat>
  50. <var cmd="set FirstSetup 1" />
  51. <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="67">Debug Process:: Show First Run Note</addtochat></if>
  52. </if>
  53.  
  54. <if status ="Idle">
  55. <if MPPLT="15">
  56. <command when="midcast">wait 5;input /heal on;wait 5;input /ma "$currentspell"</command>
  57. <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="67">Debug Process:: Low MP detected sending /heal on action in 5 sec.</addtochat></if>
  58. <return />
  59. </if>
  60. <elseif notbuffactive="refresh" job="GEO/RDM" SubJobLvlGT="40" >
  61. <changespell spell="Refresh" />
  62. <changetarget target="<me>" />
  63. <command when="aftercast">wait 3;input /ma "$currentspell"</command>
  64. </elseif>
  65. <elseif notbuffactive="haste" >
  66. <changespell spell="Haste" />
  67. <changetarget target="<me>" />
  68. <command when="aftercast">wait 3;input /ma "$currentspell"</command>
  69. </elseif>
  70. </if>
  71.  
  72. <if spell="Indi-Poison" > <!--- Geomancy Magic Skill-Up Segment --->
  73. <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="67">Debug Process:: Geomancy Spell Detected, Geomancy Segment.</addtochat></if>
  74. <var cmd="set currentspell Indi-Poison" />
  75. <if advanced='$SkillCycle > 15'>
  76. <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="67">Debug Process:: Incorrect variable detected for this group, resetting to 1.</addtochat></if>
  77. <var cmd="set SkillCycle 1" />
  78. <command>wait $RestTime4Protect;input /ma "$currentspell"</command>
  79. <cancelspell />
  80. </if>
  81. <elseif advanced='$SkillCycle = 1'>
  82. <command when="aftercast">wait $RestTime4Indi;input /ma "$currentspell"</command>
  83. <var cmd="set SkillCycle 2" />
  84. <changespell spell="Indi-Poison" />
  85. <changetarget target="<me>" />
  86. <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="67">Debug Process:: Cycle Process 1 Processed.</addtochat></if>
  87. </elseif>
  88. <elseif advanced='$SkillCycle = 2'>
  89. <command when="aftercast">wait $RestTime4Indi;input /ma "$currentspell"</command>
  90. <var cmd="set SkillCycle 3" />
  91. <changespell spell="Indi-Precision" />
  92. <changetarget target="<me>" />
  93. <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="67">Debug Process:: Cycle Process 2 Processed.</addtochat></if>
  94. </elseif>
  95. <elseif advanced='$SkillCycle = 3'>
  96. <command when="aftercast">wait $RestTime4Indi;input /ma "$currentspell"</command>
  97. <var cmd="set SkillCycle 4" />
  98. <changespell spell="Indi-Regen" />
  99. <changetarget target="<me>" />
  100. <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="67">Debug Process:: Cycle Process 3 Processed.</addtochat></if>
  101. </elseif>
  102. <elseif advanced='$SkillCycle = 4'>
  103. <command when="aftercast">wait $RestTime4Indi;input /ma "$currentspell"</command>
  104. <var cmd="set SkillCycle 5" />
  105. <changespell spell="Indi-Attunement" />
  106. <changetarget target="<me>" />
  107. <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="67">Debug Process:: Cycle Process 4 Processed.</addtochat></if>
  108. </elseif>
  109. <elseif advanced='$SkillCycle = 5'>
  110. <command when="aftercast">wait $RestTime4Indi;input /ma "$currentspell"</command>
  111. <var cmd="set SkillCycle 6" />
  112. <changespell spell="Ind-Focus" />
  113. <changetarget target="<me>" />
  114. <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="67">Debug Process:: Cycle Process 5 Processed.</addtochat></if>
  115. </elseif>
  116. <elseif advanced='$SkillCycle = 6'>
  117. <command when="aftercast">wait $RestTime4Indi;input /ma "$currentspell"</command>
  118. <var cmd="set SkillCycle 1" />
  119. <changespell spell="Indi-Voidance" />
  120. <changetarget target="<me>" />
  121. <!-- Debug info --> <if advanced='"$Show.Debug" == "True"'><addtochat color="67">Debug Process:: Cycle Process 6 Processed.</addtochat></if>
  122. </elseif>
  123. </if>
  124. </rules>
  125. </spellcast>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement