Guest User

sky's pld help?

a guest
Oct 18th, 2011
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.74 KB | None | 0 0
  1. <?xml version="1.0" ?>
  2. <spellcast>
  3. <config RequireVersion="2.22" />
  4. <guildwork
  5. character="Skylarky"
  6. server="Bismarck"
  7. description="Sky's PLD"
  8. job="PLD"
  9. />
  10. <!-- These variables will be used to store and pass information within the spellcast rules. -->
  11. <variables>
  12. <!-- This variable will store which mode you are in. Note mode is different from set names. -->
  13. <!-- Default is Tp set. -->
  14. <var name="CurrentGear">NormalTPGear</var>
  15. </variables>
  16.  
  17. <!-- These are the various sets that are used by the job -->
  18. <sets>
  19. <group name="PLD" default="yes">
  20. <!-- Tp Set used during the day. -->
  21. <set name="DD">
  22. <ammo>Demonry Stone</ammo>
  23. <head>Walahra Turban</head>
  24. <neck>Peacock Charm</neck>
  25. <lear>Brutal Earring</lear>
  26. <rear>Ethereal Earring</rear>
  27. <body>Askar Korazin</body>
  28. <hands>Creed Guantlets +2</hands>
  29. <lring>Rajas Ring</lring>
  30. <rring></rring>
  31. <back>Atheling Mantle</back>
  32. <waist>Goading Belt</waist>
  33. <legs>Creed Cuisses +2</legs>
  34. <feet>Creed Sabatons +2</feet>
  35. </set>
  36.  
  37.  
  38. <!-- Idle set, used when outside of battle -->
  39. <set name="Idle">
  40. <head>Creed Armet +2</head>
  41. <ammo>Impatiens</ammo>
  42. <neck>Twilight Torque</neck>
  43. <lear>Loq. Earring</lear>
  44. <rear>Ethereal Earring</rear>
  45. <body>Creed Cuirass +2</body>
  46. <hands>Creed Gauntlets +2</hands>
  47. <lring>Dark Ring</lring>
  48. <rring>Dark Ring</rring>
  49. <back>Shadow Mantle</back>
  50. <waist>Nierenshutz</waist>
  51. <legs>Creed Cuisses +2</legs>
  52. <feet>Creed Sabatons +2</feet>
  53. </set>
  54.  
  55. <set name="Cure">
  56. <ammo>Impatiens</ammo>
  57. <head>Creed Armet +2</head>
  58. <neck>Shield Torque</neck>
  59. <lear>Loq. Earring</lear>
  60. <rear>Ethereal Earring</rear>
  61. <body>Creed Cuirass +2</body>
  62. <hands>Creed Guantlets +2</hands>
  63. <lring>Dark Ring</lring>
  64. <rring>Dark Ringy</rring>
  65. <back>Shadow Mantle</back>
  66. <waist>Goading Belt</waist>
  67. <legs>Creed Cuisses +2</legs>
  68. <feet>Creed Sabatons</feet>
  69. </set>
  70.  
  71. <!-- Weaponskill set for Vorpal Blade. -->
  72. <set name="Vorpal">
  73. <head>Optical Hat</head>
  74. <neck>Rancor Collar</neck>
  75. <lear>Brutal Earring</lear>
  76. <rear>Ethereal Earring</rear>
  77. <body>Askar Korazin</body>
  78. <hands>Creed Guantlets +2</hands>
  79. <lring>Rajas Ring</lring>
  80. <rring></rring>
  81. <back>Atheling Mantle</back>
  82. <waist>Anguinus Belt</waist>
  83. <legs>Creed Cuisses +2</legs>
  84. <feet>Creed Sabatons +2</feet>
  85. </set>
  86.  
  87.  
  88. <!-- Set used for ninjutsu. -->
  89. <set name="Flash">
  90. <head>Hero's Galea</head>
  91. <ammo>Impatiens</ammo>
  92. <neck>Creed Collar</neck>
  93. <lear>Loquacious Earring</lear>
  94. <rear>Ethereal Earring</rear>
  95. <body>Creed Cuirass +2</body>
  96. <hands>Creed Guantlets +2</hands>
  97. <lring>Odium Ring</lring>
  98. <rring>Meridian Ring</rring>
  99. <back>Shadow Mantle</back>
  100. <waist>Creed Baudrier</waist>
  101. <legs>Creed Cuisses +2</legs>
  102. <feet>Creed Sabatons +2</feet>
  103. <ammo>Impatiens</ammo>
  104. </set>
  105.  
  106. <set name ="Phalanx" baseset="Flash">
  107. <waist>Siegel Sash</waist>
  108. <neck>Shield Torque</neck>
  109. <lear>Buckler Earring</lear>
  110. <ammo>Impatiens</ammo>
  111. <head>Creed Armet +2</head>
  112. </set>
  113.  
  114. <!-- DD set. -->
  115. <set name="DD">
  116. <head>Walahra Turban</head>
  117. <neck>Peacock Charm</neck>
  118. <lear>Brutal Earring</lear>
  119. <rear>Ethereal Earring</rear>
  120. <body>Askar Korazin</body>
  121. <hands>Creed Guantlets +2</hands>
  122. <lring>Dark Ring</lring>
  123. <rring>Rajas</rring>
  124. <back>Atheling Mantle</back>
  125. <waist>Goading Belt</waist>
  126. <legs>Creed Cuisses +2</legs>
  127. <feet>Creed Sabatons +2</feet>
  128. </set>
  129.  
  130. <!-- Should be using tank set but this is for PDT if needed -->
  131. <set name="DamageDownSet">
  132. <neck>Twilight Torque</neck>
  133. <lear>Ethereal Earring</lear>
  134. <rear>Buckler Earring</rear>
  135. <body>Creed Cuirass +2</body>
  136. <legs>Creed Cuisses +2</legs>
  137. <lring>Dark Ring</lring>
  138. <rring>Dark Ring Ring</rring>
  139. <back>Shaodw Mantle</back>
  140. <waist>Flume Belt</waist>
  141. <hands>Melaco Mittens</hands>
  142. </set>
  143.  
  144. <!-- Magic damage reduction set. -->
  145. <set name="MDEFSet" BaseSet="DamageDownSet">
  146. <ammo>Demonry Stone</ammo>
  147. <head>Noesis Helm</head>
  148. <lear>Merman's Earring</lear>
  149. <rear>Merman's Earring</rear>
  150. <body>Creed Cuirass +2</body>
  151. <back>Salvus Mantle</back>
  152. <rring>Dark Ring</rring>
  153. <lring>Dark Ring</lring>
  154. <waist>Creed Baudrier</waist>
  155. <neck>Twilight Torque</neck>
  156. </set>
  157.  
  158. <!-- Max haste. -->
  159. <set name="Ninjitsu">
  160. <head>Creed Armet +2</head>
  161. <neck>Shield Torque</neck>
  162. <lear>Loq. Earring</lear>
  163. <rear>Buckler Earring</rear>
  164. <body>Creed Cuirass +2</body>
  165. <hands>Creed Guantlets +2</hands>
  166. <lring>Dark Ring</lring>
  167. <rring>Dark Ring</rring>
  168. <back>Boxer's Mantle</back>
  169. <waist>Goading Belt</waist>
  170. <legs>Creed Cuisses +2</legs>
  171. <feet>Creed Sabatons +2</feet>
  172. </set>
  173.  
  174. <set name="Sentinel">
  175. <feet>Valor Leggings</feet>
  176. </set>
  177.  
  178. <set name="Rampart">
  179. <head>Valor Coronet</head>
  180. </set>
  181.  
  182. <set name="Cover">
  183. <body>Valor Surcoat</body>
  184. </set>
  185.  
  186. <set name="Tanking">
  187. <head>Creed Armet +2</head>
  188. <neck>Twilight Torque</neck>
  189. <lear>Ethereal Earring</lear>
  190. <rear>Loq. Earring</rear>
  191. <body>Creed Cuirass +2</body>
  192. <hands>Creed Guantlets</hands>
  193. <lring>Dark Ring</lring>
  194. <rring>Dark Ring</rring>
  195. <back>Shadow Mantle</back>
  196. <waist>Goading Belt</waist>
  197. <legs>Creed Cuisses +2</legs>
  198. <feet>Creed Sabatons +2</feet>
  199. </set>
  200. </group>
  201. </sets>
  202.  
  203. <!-- Here are the rules that specify when to use what set. -->
  204. <rules>
  205. <!-- If a ninjutsu type spell is used, the Ninjutsu set is equipped. -->
  206. <if skill="Ninjutsu">
  207. <action type="castdelay" delay=".2" />
  208. <action type="equip" when="precast" set="Ninjutsu"/>
  209.  
  210. <!-- If the spell is Utsusemi: Ichi, and the cancel plugin is installed, automatically cancel the remaining shadows before spell completion. -->
  211. <if spell="Utsusemi: Ichi" BuffActive="Copy Image">
  212. <action type="midcastdelay" delay="3.0"/>
  213. <command when="midcast">cancel 66</command>
  214. </if>
  215. <!-- The midcast delay (time between start of spell and the action taken, in this case the cancel) will vary depending on fast cast. -->
  216. <!-- Ideally, the delay should take it off slightly before the spell is actually finished. Allow some slight leeway in case of lag. -->
  217. <!-- Note that since the patch which changed shadows to show the amount remaining, this cancel only works if there is 1 shadow remaining. -->
  218. <if spell="Utsusemi: Ni">
  219. <equip when="precast" neck="Twiight Torque" />
  220. </if>
  221. </if>
  222.  
  223. <if spell="Flash">
  224. <equip when="precast" set="Flash" />
  225. </if>
  226.  
  227. <if spell="Cure*">
  228. <equip set="Cure" />
  229. </if>
  230.  
  231. <if spell="Phalanx">
  232. <equip set="Phalanx" />
  233. </if>
  234.  
  235. <!-- If a weaponskill is attempted for use, and the player has at least 100 tp, equip weaponskill gear. -->
  236. <if mode="And" CommandPrefix="/ws|/weaponskill" NotTPLT="100">
  237. <if Spell="Vorpal Blade">
  238. <action type="castdelay" delay=".2" />
  239. <action type="Equip" when="Precast" set="Vorpal" />
  240. </if>
  241. </if>
  242. <!-- Add additional weaponskills here. -->
  243. <if mode="And" CommandPrefix="/ws|/weaponskill" NotTPLT="100">
  244. <if Spell="Aeolian Edge">
  245. <action type="castdelay" delay=".2" />
  246. <action type="Equip" when="Precast" set="Nuke" />
  247. </if>
  248. </if>
  249.  
  250.  
  251.  
  252. <if mode="And" CommandPrefix="/ws|/weaponskill" NotTPLT="100">
  253. <if Spell="Evisceration">
  254. <action type="castdelay" delay=".2" />
  255. <action type="Equip" when="Precast" set="Jin" />
  256. </if>
  257. </if>
  258.  
  259. <if spell="Sentinel">
  260. <action type="castdelay" delay=".2" />
  261. <equip when="Precast" set="Sentinel" />
  262. </if>
  263.  
  264. <if spell="Rampart">
  265. <action type="castdelay" delay=".2" />
  266. <equip when="Precast" set="Rampart" />
  267. </if>
  268. <!-- If magic spell Holy/Banish is attemptd, equip Nuke set. -->
  269. <if spell="Holy*|Banish*">
  270. <equip when="midcast" set="Nuke" />
  271. </if>
  272. <!-- The following are the rules to change modes. These modes dictate what set you will be idling in while engaged. -->
  273. <!-- The modes are changed by attempting "fake spells." I have chosen blu spells which will generally never see use anyway. -->
  274. <!-- Note that if you are not engaged, attempting the spell will still cause a gear swap to occur. -->
  275. <!-- Each must include a cancel spell action, or spellcast will wait for the spells normal duration before changing gear. -->
  276. <!-- The return keeps spellcast from running anything additional in the script. This is desirable as it prevents any normal aftercasts from occuring. -->
  277.  
  278. <!-- If magic spell Grand Slam is attempted, set mode to Defense and equip Defense set. Echo a message showing the mode. -->
  279. <if spell="Grand Slam">
  280. <action type="CancelSpell" />
  281. <action type="equip" set="DamageDownSet"/>
  282. <action type="Var" cmd="Set CurrentGear DEFGear"/>
  283. <action type="Command">input /echo Defense mode</action>
  284. <action type="return"/>
  285. </if>
  286.  
  287. <!-- If magic spell Bludgeon is attempted, set mode to Evasion and equip Evasion set. Echo a message showing the mode. -->
  288. <if spell="Bludgeon">
  289. <action type="CancelSpell" />
  290. <action type="equip" set="Tanking"/>
  291. <action type="Var" cmd="Set TankingGear"/>
  292. <action type="Command">input /echo Tanking Mode</action>
  293. <action type="return"/>
  294. </if>
  295.  
  296. <!-- If magic spell Pollen is attempted, set mode to Magic Defense and equip Magic Defense set. Echo a message showing the mode. -->
  297. <if spell="Pollen">
  298. <action type="CancelSpell" />
  299. <action type="equip" set="MDEFSet"/>
  300. <action type="Var" cmd="Set CurrentGear MDEFGear"/>
  301. <action type="Command">input /echo Magic Defense Mode</action>
  302. <action type="return"/>
  303. </if>
  304.  
  305. <if spell="Foot Kick">
  306. <action type="CancelSpell" />
  307. <action type="equip" set="DD"/>
  308. <action type="Var" cmd="Set CurrentGear DDGear"/>
  309. <action type="Command">input /echo DD Mode</action>
  310. <action type="return"/>
  311. </if>
  312.  
  313. <!-- If magic spell Sandspin is attempted, set mode to Damage and equip Damage set. Echo a message showing the mode. -->
  314. <if spell="Sandspin">
  315. <action type="CancelSpell" />
  316. </if>
  317.  
  318. <!-- These are the rules which state what to equip after a cast/ability or when engaging. The previously set "Mode" will dictate which set is equipped. -->
  319. <if Status="Engaged">
  320. <!-- If set to Tp gear (Damage Mode), equip the proper tp set depending on day or night. -->
  321. <if advanced='("$CurrentGear"="NormalTPGear")'>
  322. <if TimeLT="24.00" TimeGT="0.00">
  323. <action type="equip" when="Engaged|AfterCast" set="DD" />
  324. </if>
  325. </if>
  326.  
  327. <!-- If set to Magic Defense, equip magic defense gear. -->
  328. <elseif advanced='("$CurrentGear"="MDEFGear")'>
  329. <action type="equip" when="Engaged|AfterCast" set="MDEFSet" />
  330. </elseif>
  331.  
  332. <!-- If set to Defense, equip defense gear. -->
  333. <elseif advanced='("$CurrentGear"="DEFGear")'>
  334. <action type="equip" when="Engaged|AfterCast" set="DamageDownSet" />
  335. </elseif>
  336.  
  337. <!-- If set to evasion, equip evasion gear. -->
  338. <elseif advanced='("$CurrentGear"="TankingGear")'>
  339. <action type="equip" when="Engaged|AfterCast" set="Tanking" />
  340. </elseif>
  341. </if>
  342.  
  343. <if buffactive="Sentinel">
  344. <feet lock="yes">Valor Leggings</feet>
  345. </if>
  346.  
  347. <!-- If you are idle (outside of battle), equip the proper set depending on day or night. -->
  348. <if Status="Idle">
  349. <equip when="Idle|Aftercast" set="Idle" />
  350. </if>
  351. </rules>
  352. </spellcast>
  353.  
  354.  
  355.  
  356.  
Advertisement
Add Comment
Please, Sign In to add comment