Guest User

COR.xml

a guest
Sep 20th, 2011
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.89 KB | None | 0 0
  1. <?xml version="1.0" ?>
  2.  
  3. <!-- Corsair version 1.0 -->
  4. <!-- Changes -->
  5.  
  6. <spellcast>
  7. <!-- GUILDWORK -->
  8. <guildwork
  9. character="Drjones"
  10. server="Valefor"
  11. description="Corsair"
  12. job="COR"
  13. />
  14.  
  15. <sets>
  16. <!--This is where you would define your SpellCast equipment sets and groups-->
  17.  
  18. <!-- Default group -->
  19. <group name="COR" default="yes">
  20.  
  21. <set name="Idle" >
  22. </set>
  23.  
  24. <set name="Resting" >
  25. </set>
  26.  
  27. <set name="PDT">
  28. </set>
  29.  
  30. <set name="MDT">
  31. </set>
  32.  
  33. <set name="TP" >
  34. <main>Royal Archer's Sword</main>
  35. <head>Legionnaire's Cap</head>
  36. <body>Legionnaire's Harness</body>
  37. <hands>Battle Gloves</hands>
  38. <lring>Courage Ring</lring>
  39. <rring>Courage Ring</rring>
  40. <legs>Brais</legs>
  41. <feet>Mettle Leggings</feet>
  42. </set>
  43.  
  44. <set name="PreShot">
  45. <range>Bandit's Gun +1</range>
  46. <ammo>$TPBullet</ammo>
  47. </set>
  48.  
  49. <set name="RangeTP">
  50. <range>Bandit's Gun +1</range>
  51. <ammo>$TPBullet</ammo>
  52. </set>
  53.  
  54. <set name="QuickDraw">
  55. <ammo>$QDBullet</ammo>
  56. </set>
  57.  
  58. <set name="PhantomRoll" >
  59. </set>
  60.  
  61. </group>
  62. </sets>
  63.  
  64. <!-- VARIABLES -->
  65. <variables>
  66. <!-- variable to regulate what set is used for aftercast -->
  67. <var name="AfterCast">Idle</var>
  68.  
  69. <!-- Variables governing bullet use, can be changed as ammo supply dictates -->
  70. <var name="TPBullet">Bronze Bullet</var>
  71. <var name="WSBullet">Bronze Bullet</var>
  72. <var name="QDBullet">Bronze Bullet</var>
  73.  
  74. </variables>
  75.  
  76. <!-- RULES -->
  77. <rules>
  78. <if spell="autoset"> <!-- this makes it so when you change status (rest, idle, engage), your gear changes -->
  79. <equip when="resting" set="Resting" /> <!-- when resting, equip resting -->
  80. <equip when="idle" set="Idle" />
  81. <!-- Equip our TP set if we engage -->
  82. <equip when="engaged" set="TP" />
  83. </if>
  84.  
  85. <!-- Ranged Attack -->
  86. <if CommandPrefix="/range">
  87. <equip when="precast" set="PreShot" />
  88. <equip when="midcast" set="RangeTP" />
  89. <equip when="aftercast" set="$AfterCast" />
  90. </if>
  91.  
  92. <!-- Job Abilities -->
  93. <if type="JobAbility">
  94.  
  95. <!-- QUICK DRAW -->
  96. <if spell="Earth Shot|Water Shot|Wind Shot|Fire Shot|Ice Shot|Thunder Shot|Dark Shot|Light Shot">
  97. <equip when="precast" set="QuickDraw" />
  98. <equip when="aftercast" set="$AfterCast" />
  99. </if> <!-- End if Quick Draw -->
  100.  
  101. <!-- PHANTOM ROLL -->
  102. <if spell="*roll">
  103. <equip when="precast" set="PhantomRoll" />
  104. <equp when="aftercast" set="$AfterCast" />
  105. </if>
  106.  
  107. </if> <!-- End if JobAbility -->
  108.  
  109. <!-- Weapon Skills -->
  110. <elseif type="Weaponskill">
  111.  
  112. </elseif> <!-- End if Weaponskill -->
  113.  
  114. </rules>
  115. </spellcast>
Advertisement
Add Comment
Please, Sign In to add comment