usnapoleon

MikeJ777 new drg xml

Jul 25th, 2011
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.06 KB | None | 0 0
  1. <?xml version="1.0" ?>
  2. <spellcast xmlns:xi="http://www.w3.org/2001/XInclude">
  3. <config RequireVersion="2.40" debug="false" showgearswaps="false" quickcommands="true" showspellinfo="false" />
  4. <sets>
  5. <group default="yes" name="Standard">
  6. <set name="Idle">
  7. <head>Lancer's Mezail +1</head>
  8. <neck>Lancer's Torque</neck>
  9. <lear>Fowling Earring</lear>
  10. <rear>Brutal Earring</rear>
  11. <body>Lancer's Plactart +1</body>
  12. <hands>Lancer's Vambraces +1</hands>
  13. <lring>Heed Ring</lring>
  14. <rring>Rajas Ring</rring>
  15. <back>Atheling Mantle</back>
  16. <waist>Goading Belt</waist>
  17. <legs>Lancer's Cuissots +1</legs>
  18. <feet>Lancer's Scynbalds +1</feet>
  19. <ammo></ammo>
  20. </set>
  21. <set name="Engaged" baseset="Idle">
  22. <neck>Agasaya's Collar</neck>
  23. <hands>Dusk Gloves</hands>
  24. <legs>Ace's Hose</legs>
  25. <feet>Ace's Leggings</feet>
  26. </set>
  27. <set name="WS" baseset="engaged">
  28. <head>Twilight Helm</head>
  29. <neck>Lancer's Torque</neck>
  30. <hands>Lancer's Vambraces +1</hands>
  31. <lring>Spiral Ring</lring>
  32. <waist>Warwolf Belt</waist>
  33. <legs>Lancer's Cuissots +1</legs>
  34. <feet>Lancer's Scynbalds +1</feet>
  35. </set>
  36. </group>
  37. </sets>
  38. <rules>
  39. <!-- special case rules first -->
  40. <if status = "dead">
  41. <cancelspell />
  42. <return />
  43. </if>
  44. <!--Rules to stop parsing if you can't perform an action-->
  45. <if BuffActive="Sleep|Petrification|Stun|Terror|Charm">
  46. <return/>
  47. </if>
  48. <elseif Type="*Magic|BardSong|Ninjutsu" BuffActive="Silence">
  49. <return/>
  50. </elseif>
  51. <elseif Type="Weaponskill|JobAbility|PetCommand" BuffActive="Amnesia">
  52. <cancelspell/>
  53. <return/>
  54. </elseif>
  55. <if type="Weaponskill">
  56. <castdelay delay=".2" />
  57. <equip when="precast" set="WS" />
  58. <equip when="aftercast" set="%status" />
  59. </if>
  60. <if skill="JobAbility">
  61. <if spell="*Jump">
  62. <castdelay delay=".2" />
  63. <equip when="precast" set="WS" />
  64. <equip when="aftercast" set="%status" />
  65. </if>
  66. <else>
  67. <equip when="precast|aftercast" set="%status" />
  68. </else>
  69. </if>
  70. <if spell="Utsusemi: Ichi">
  71. <defaulttarget target="&lt;me&gt;" />
  72. <castdelay delay=".2" />
  73. <equip when="precast" set="Utsusemi" />
  74. <!-- The next 4 lines are used to cancel shadows incase you have Ni active -->
  75. <!-- 66 is for 1 shadow, 446 is for 2 shadows, 445 is if you have 3 shadows active -->
  76. <!-- No way to program Spellcast to discern if Ichi or Ni is active, deal with it -->
  77. <midcastdelay delay="2.5" />
  78. <command when="midcast">cancel 66</command>
  79. <command when="midcast">cancel 446</command>
  80. <command when="midcast">cancel 445</command>
  81. <equip when="aftercast" set="%status" />
  82. </if>
  83. <if spell="Utsusemi: Ni">
  84. <defaulttarget target="&lt;me&gt;" />
  85. <castdelay delay=".2" />
  86. <equip when="precast" set="Utsusemi" />
  87. <equip when="aftercast" set="%status" />
  88. </if>
  89. <if status="engaged">
  90. <equip when="engaged|aftercast" set="engaged" />
  91. </if>
  92. <if status="idle">
  93. <equip when="idle|aftercast" set="idle" />
  94. </if>
  95. </rules>
  96. </spellcast>
Advertisement
Add Comment
Please, Sign In to add comment