pld4ever

Smn

Aug 20th, 2013
270
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?xml version="1.0"?>
  2. <!--Created by ddaydj
  3. Last Updated 2011/11/17
  4. Read comments before changing anything, ESPECIALLY in the rules section. You should only need to make changes to the variables and sets.
  5. Updated by Shalafi of Cerberus
  6. Added Moon Phase note for Fenrir's Ecliptic Howl, Ecliptic Growl & Lunar Cry - Credit to Wolftamer of Cerberus for code snippet
  7. Added support for G15 keyboard, auto assigning abilities based on pet - - Credit to Wolftamer of Cerberus for code snippet
  8. Added support for Avatar's Favor
  9. Added support for Physical and Magical BloodPacts
  10. Added support Morana's Pigaches
  11. Added support for Tatsumaki Sitagoromo (ASA Legs) Elemental Siphon
  12. Added support for Balrahn's Ring in Assault/Salvage
  13.  
  14. Your FFXI Macro for Elemental Siphon needs to be as follows:
  15. //sc var set ElementalSiphon 1
  16. /ma "Air Spirit" <me>
  17. /wait 5
  18. /ja "Elemental Siphon" <me>
  19. /wait 2
  20. /pet "Release" <me>
  21. -->
  22. <spellcast xmlns:xi="http://www.w3.org/2001/XInclude">
  23. <config Debug="false" ShowGearSwaps="False" />
  24. <variables Clear="True">
  25. <!-- Do not change these -->
  26. <var Name="ElementalSiphon">0</var>
  27. <var Name="ElementalStaff">$LightStaff</var>
  28. <var Name="PetName">None</var>
  29. <var Name="PetElement">None</var>
  30. <var Name="NoneStrength">-1</var>
  31. <var Name="LightStrength">-1</var>
  32. <var Name="DarkStrength">-1</var>
  33. <var Name="FireStrength">6</var>
  34. <var Name="IceStrength">5</var>
  35. <var Name="WindStrength">4</var>
  36. <var Name="EarthStrength">3</var>
  37. <var Name="ThunderStrength">2</var>
  38. <var Name="WaterStrength">1</var>
  39. <!-- Set this to your HP before Convert HP to MP equipment and after HP+ equipment -->
  40. <var Name="BaseHP">1214</var>
  41. <!-- Set this to the percentage of TP you want to start locking weapons at -->
  42. <var Name="LockTP">100</var>
  43. <!-- Set these to the Elemental Staves you use, even if you don't use them with Avatars -->
  44. <var Name="LightStaff">Uffrat +1</var>
  45. <var Name="DarkStaff">Uffrat +1</var>
  46. <var Name="FireStaff">Uffrat +1</var>
  47. <var Name="IceStaff">Uffrat +1</var>
  48. <var Name="WindStaff">Uffrat +1</var>
  49. <var Name="EarthStaff">Uffrat +1</var>
  50. <var Name="ThunderStaff">Uffrat +1</var>
  51. <var Name="WaterStaff">Uffrat +1</var>
  52. <!-- Set these to 1 if you want to use that piece of equipment, otherwise set to 0 -->
  53. <var Name="CarbuncleMitts">0</var>
  54. <var Name="ConjurersRing">0</var>
  55. <var Name="ElementalStaves">1</var>
  56. <var Name="EvokersGages">0</var>
  57. <var Name="KaruraHachigane">0</var>
  58. <var Name="MoranasPigaches">0</var>
  59. <var Name="CallersBracers">1</var>
  60. <var Name="SummonersDoublet">0</var>
  61. <var Name="SummonersHorn">0</var>
  62. <var Name="SummonersSpats">0</var>
  63. <!-- Set this to 1 if you want to use Karura Hachigane during Wind weather instead of Summoner's Horn, otherwise set to 0 -->
  64. <var Name="KHachiPriority">0</var>
  65. <!-- Set this to 1 if using Tatsumaki Sitagoromo (ASA Legs) for Elemental Siphon, otherwise set to 0 -->
  66. <var Name="ASALegs">1</var>
  67. <var name="DiabolosRope">1</var>
  68. <!-- set this to 1 if using Caller's Feet +1, 2 for +2, for Elemental Siphon, otherwise set to 0 -->
  69. <var name="AF3feet">2</var>
  70. <!--set this to 1 if using Call. Bracers +1, 2 for the +2 for Mana Cede, otherwise set to 0 -->
  71. <var name="AF3Hands">2</var>
  72. <!-- Set this to 1 if using Balrahn's Ring for Assault/Salvage, otherwise set to 0 -->
  73. <var Name="BalrahnsRing">0</var>
  74. <!-- Set this to 1 to prioritize minus perpetuation (Perp Set) over skill for Avatar's Favor, otherwise set to 0 -->
  75. <var Name="PerpPriority">1</var>
  76. </variables>
  77. <sets>
  78. <group Name="Default" Default="Yes">
  79. <!-- This will be the BaseSet for all Pets. Recommened Perpetuation and MP equipment -->
  80. <set Name="Pet">
  81. <main>Uffrat +1</main>
  82. <sub>Vox Grip</sub>
  83. <ammo>Convocaller</ammo>
  84. <head>Smn. horn +2</head>
  85. <neck>Caller's Pendant</neck>
  86. <rear>Gifted Earring</rear>
  87. <lear>Loquac. Earring</lear>
  88. <body>Call. Doublet +2</body>
  89. <hands>Call. Bracers +2</hands>
  90. <lring>Evoker's Ring</lring>
  91. <rring>Bifrost Ring</rring>
  92. <back>Ebullient cape</back>
  93. <waist>Mujin obi</waist>
  94. <legs>Caller's Spats +2</legs>
  95. <feet>Caller's Pgch. +2</feet>
  96. </set>
  97. <!-- Set of gear to equip when coming back from resting mp (idle set) and no pet is out -->
  98. <set Name="NoPet" BaseSet="Pet">
  99. <main>Uffrat +1</main>
  100. <head>Caller's Horn +2</head>
  101. <hands>Weather. Cuffs</hands>
  102. <feet>Herald's Gaiters</feet>
  103. <waist>Mujin Obi</waist>
  104. <neck>Twilight Torque</neck>
  105. <legs>Tatsumaki Sitagoromo</legs>
  106. </set>
  107.  
  108. <!-- MP Recovered while healing equipment -->
  109. <set Name="Resting" BaseSet="Pet">
  110. <main>Chatoyant staff</main>
  111. <sub>Vox Grip</sub>
  112. <head>Caller's Horn +2</head>
  113. <neck>Caller's Pendant</neck>
  114. <rear>Loquac. Earring</rear>
  115. <lear>Gifted Earring</lear>
  116. <rring>Bifrost Ring</rring>
  117. <body>Pluviale</body>
  118. <waist>Mujin obi</waist>
  119. <legs>Caller's spats +2</legs>
  120. <feet>Chelona boots</feet>
  121. </set>
  122. <!-- Blood Pact ability Delay equipment -->
  123. <!-- Smn. Horn +2= -5 -->
  124. <!-- Smn. Bracers +2= -4 -->
  125. <!-- Smn. Pigaches +2= -4 -->
  126. <!-- Tiresias' cape= -3 -->
  127. <set Name="BP_Delay">
  128. <head>Smn. Horn +2</head>
  129. <hands>Smn. Bracers +2</hands>
  130. <feet>Smn. Pigaches +2</feet>
  131. <back>Tiresias' Cape</back>
  132. </set>
  133. <!-- Summoning magic skill equipment -->
  134. <set Name="BP_Skill">
  135. <main>Soulscourge</main>
  136. <sub>Vox Grip</sub>
  137. <head>Caller's Horn +2</head>
  138. <neck>Caller's Pendant</neck>
  139. <body>Call. Doublet +2</body>
  140. <lring>Evoker's Ring</lring>
  141. <rring>Fervor ring</rring>
  142. <back>Astute cape</back>
  143. <waist>Cimmerian sash</waist>
  144. <legs>Caller's Spats +2</legs>
  145. <hands>Smn. Bracers +2</hands>
  146. <feet>Rubeus boots</feet>
  147. </set>
  148. <!-- Enhances Avatar Physical atk/acc equipment -->
  149. <set Name="BP_Physical">
  150. <main>Soulscourge</main>
  151. <waist>Mujin obi</waist>
  152. <body>Call. Doublet +2</body>
  153. <legs>Caller's Spats +2</legs>
  154. <hands>Smn. Bracers +2</hands>
  155. <feet>Smn. Pigaches +2</feet>
  156. <neck>Sacrifice Torque</neck>
  157. </set>
  158. <!-- Enhances Avatar Magical atk/acc equipment -->
  159. <set Name="BP_Magical">
  160. <main>Uffrat +1</main>
  161. <head>Smn. horn +2</head>
  162. <waist>Caller's sash</waist>
  163. <body>Call. Doublet +2</body>
  164. <neck>Eidolon Pendant</neck>
  165. <back>Tiresias' Cape</back>
  166. <legs>Caller's Spats +2</legs>
  167. <feet>Caller's Pgch. +2</feet>
  168. </set>
  169. <!-- Equipment to be used if Astral Flow is active -->
  170. <set Name="AstralFlow">
  171. <legs>Caller's Spats +2</legs>
  172. <head>Smn. horn +2</head>
  173. </set>
  174. <!-- Mind and Enhancing Magic Skill equipment for Stoneskin -->
  175. <set Name="Stoneskin">
  176. <waist>Siegel Sash</waist>
  177. <main>Kirin's Pole</main>
  178. <neck>Stone Gorget</neck>
  179. <rear>Earthcry earring</rear>
  180. <body>Heka's kalasiris</body>
  181. <hands>Carapacho cuffs</hands>
  182. <lring>Prolix ring</lring>
  183. <back>Merciful cape</back>
  184. <legs>Haven hose</legs>
  185. <feet>Chelona boots</feet>
  186. <ammo>Impatiens</ammo>
  187. <rring>Veneficium ring</rring>
  188. </set>
  189. <!-- Minus perpetuation equipment to use during Avatar's Favor with PerpPriority enabled -->
  190. <set Name="Perp">
  191. <body>Call. Doublet +2</body>
  192. <feet>Caller's Pgch. +2</feet>
  193. </set>
  194. <set name="ManaCede">
  195. <hands>Call. Bracers +2</hands>
  196. </set>
  197. </group>
  198. <group name="Acc" inherit="Default">
  199. <!-- Enhances Avatar Physical atk/acc equipment -->
  200. <set Name="BP_Physical">
  201. <body>Call. Doublet +2</body>
  202. <legs>Caller's Spats +2</legs>
  203.  
  204. </set>
  205. </group>
  206. </sets>
  207. <!--!!ATTENTION!!
  208. You shouldn't need to change anything from here on-->
  209. <rules>
  210. <!-- Increasing delay as during testing we found that some gear was swtiching too fast for the benefits to take effect before switching to aftercast gear -->
  211. <aftercastdelay delay="3.0" />
  212. <!-- Utility: if you have no target currently, and casting a spell that can be cast on self, then cast on self (buffs) -->
  213. <if validtargets="*Self*" targettype="None" spelltarget="&lt;t&gt;">
  214. <changetarget target="&lt;me&gt;" />
  215. </if>
  216. <!-- Utility: if targeting a monster, but casting a spell that can not be cast on monsters, then cast on self (buffs) -->
  217. <if spelltarget="&lt;t&gt;" targettype="MONSTER" notvalidtarget="*Enemy*" validtarget="*Self*">
  218. <changetarget target="&lt;me&gt;" />
  219. </if>
  220. <!-- Dont parse this file if under level 73... ie capped areas -->
  221. <if mlvllt="73">
  222. <return />
  223. </if>
  224. <!-- Disables equipment switching that would cause loss of TP. lock does not work because of changes with $ElementalStaff -->
  225. <if tpgt="$lockTP">
  226. <disable slot="Main|Sub|Range" />
  227. </if>
  228. <else>
  229. <enable slot="Main|Sub|Range" />
  230. </else>
  231. <!-- Avoids crash by not allowing gear changes when porting -->
  232. <if spell="Teleport*|Warp*|Recall*|Retrace">
  233. <return />
  234. </if>
  235. <!-- Equips resting gear when resting -->
  236. <equip when="Resting" set="Resting" />
  237. <!-- Equips Conjurer's Ring if Latent effect is active and enabled -->
  238. <if advanced='$ConjurersRing=1 AND "$Petname"!="None" AND %HP&lt;$BaseHP*.76 AND %TP&lt;100'>
  239. <equip when="MidCast|AfterCast">
  240. <rring lock="True">Conjurer's Ring</rring>
  241. </equip>
  242. </if>
  243. <!-- Equips Balrahn's Ring if enabled and in Assault, Nyzul or Salvage area -->
  244. <if advanced="$BalrahnsRing=1" area="Nyzul*|Leujaoam*|Mamool*|Periqia|Lebros*|Ilrusi*|*Remnants">
  245. <equip when="Idle|Aftercast|Engaged">
  246. <lring lock="True">Balrahn's Ring</lring>
  247. </equip>
  248. </if>
  249. <if type="SummonerPact">
  250. <if spell="*Spirit" advanced="$ElementalSiphon=1">
  251. <var cmd="set ElementalSiphon 0" />
  252. <!--- To ensure skill gear in leg slot is used for the Siphon -->
  253. <if advanced="$SummonersSpats=1">
  254. <var cmd="set SummonersSpats 2" />
  255. </if>
  256. <!-- Checks if Air Spirit is best to use for Elemental Siphon -->
  257. <if spell="Air Spirit" advanced='"%Weather"="Wind x2" OR "%DayElement"!="Ice" AND "%WeatherElement"="Wind" OR "%DayElement"="Wind" AND "%WeatherElement"="None"'/>
  258. <else>
  259. <!-- Checks if Weather Element is stronger than Day Element -->
  260. <if advanced='"%WeatherElement"!="None" AND ("%Weather"="%WeatherElement x2" OR $%WeatherElementStrength!=$%DayElementStrength-1 OR "%WeatherElement"="Fire" AND "%DayElement"!="Water")'>
  261. <changespell spell="%WeatherElement Spirit" />
  262. </if>
  263. <else>
  264. <changespell spell="%DayElement Spirit" />
  265. </else>
  266. </else>
  267. </if>
  268. <var cmd="set Petname %spell" />
  269. <var cmd="set PetElement %spellElement" />
  270. <var cmd="set ElementalStaff $%spellElementStaff" />
  271. <!-- Equips matching Elemental Staff if enabled -->
  272. <if advanced="$ElementalStaves=1">
  273. <equip>
  274. <main>$ElementalStaff</main>
  275. </equip>
  276. </if>
  277. <!-- Create Alias for BloodPacts -->
  278. <if spell = "Carbuncle">
  279. <action type = "Command">alias 75Nuke input /pet "Holy Mist" &lt;t&gt;</action>
  280. <action type = "Command">alias 65Nuke /;</action>
  281. <action type = "Command">alias atkPact /;</action>
  282. <action type = "Command">alias bufPact input /pet "Healing Ruby II" &lt;me&gt;</action>
  283. <action type = "Command">alias abfPact input /pet "Shining Ruby" &lt;me&gt;;</action>
  284. <action type = "Command">alias debPact input /pet "Poison Nails" &lt;t&gt;;</action>
  285. <action type = "Command">alias a70Pact input /pet "Meteorite" &lt;t&gt;;</action>
  286. </if>
  287. <elseif Spell = "Diabolos">
  288. <action type = "Command">alias 75Nuke input /pet "Night Terror" &lt;t&gt;</action>
  289. <action type = "Command">alias 65Nuke input /pet "Ultimate Terror" &lt;t&gt;</action>
  290. <action type = "Command">alias atkPact input /pet "Somnolence" &lt;t&gt;</action>
  291. <action type = "Command">alias bufPact input /pet "Noctoshield" &lt;me&gt;</action>
  292. <action type = "Command">alias abfPact input /pet "Dream Shroud" &lt;me&gt;</action>
  293. <action type = "Command">alias a70Pact input /pet "Nether Blast" &lt;t&gt;</action>
  294. </elseif>
  295. <elseif Spell = "Fenrir">
  296. <action type = "Command">alias 75Nuke input /pet "Lunar Bay" &lt;t&gt;;</action>
  297. <action type = "Command">alias 65Nuke /;</action>
  298. <action type = "Command">alias atkPact input /pet "Lunar Roar" &lt;t&gt;</action>
  299. <action type = "Command">alias bufPact input /pet "Ecliptic Growl" &lt;me&gt;</action>
  300. <action type = "Command">alias abfPact input /pet "Ecliptic Howl" &lt;me&gt;</action>
  301. <action type = "Command">alias debPact input /pet "Lunar Cry" &lt;t&gt;</action>
  302. <action type = "Command">alias a70Pact input /pet "Eclipse Bite" &lt;t&gt;</action>
  303. </elseif>
  304. <elseif spell = "Garuda">
  305. <action type = "Command">alias 75Nuke input /pet "Wind Blade" &lt;t&gt;;</action>
  306. <action type = "Command">alias 65Nuke input /pet "Aero IV" &lt;t&gt;;</action>
  307. <action type = "Command">alias atkPact input /pet "Fleet Wind" &lt;me&gt;;</action>
  308. <action type = "Command">alias bufPact input /pet "Hastega" &lt;me&gt;;</action>
  309. <action type = "Command">alias abfPact input /pet "Aerial Armor" &lt;me&gt;;</action>
  310. <action type = "Command">alias debPact input /pet "Whispering Wind" &lt;me&gt;;</action>
  311. <action type = "Command">alias a70Pact input /pet "Predator Claws" &lt;t&gt;;</action>
  312. </elseif>
  313. <elseif spell = "Ifrit">
  314. <action type = "Command">alias 75Nuke input /pet "Meteor Strike" &lt;t&gt;;</action>
  315. <action type = "Command">alias 65Nuke input /pet "Fire IV" &lt;t&gt;;</action>
  316. <action type = "Command">alias atkPact input /pet "Double Punch" &lt;t&gt;;</action>
  317. <action type = "Command">alias bufPact input /pet "Inferno Howl" &lt;t&gt;;</action>
  318. <action type = "Command">alias abfPact input /pet "Crimson Howl" &lt;me&gt;;</action>
  319. <action type = "Command">alias debPact /;</action>
  320. <action type = "Command">alias a70Pact input /pet "Flaming Crush" &lt;t&gt;;</action>
  321. </elseif>
  322. <elseif spell = "Leviathan">
  323. <action type = "Command">alias 75Nuke input /pet "Grand Fall" &lt;t&gt;;</action>
  324. <action type = "Command">alias 65Nuke input /pet "Water IV" &lt;t&gt;;</action>
  325. <action type = "Command">alias atkPact input /pet "Tail Whip" &lt;t&gt;;</action>
  326. <action type = "Command">alias bufPact input /pet "Spring Water" &lt;me&gt;;</action>
  327. <action type = "Command">alias abfPact /;</action>
  328. <action type = "Command">alias debPact input /pet "Tidal Roar" &lt;t&gt;;</action>
  329. <action type = "Command">alias a70Pact input /pet "Spinning Dive" &lt;t&gt;;</action>
  330. </elseif>
  331. <elseif spell = "Ramuh">
  332. <action type = "Command">alias 65Nuke input /pet "Thunder IV" &lt;t&gt;;</action>
  333. <action type = "Command">alias 75Nuke input /pet "Thunderstorm" &lt;t&gt;;</action>
  334. <action type = "Command">alias atkPact input /pet "Thunderspark" &lt;t&gt;;</action>
  335. <action type = "Command">alias bufPact input /pet "Lightning Armor" &lt;me&gt;;</action>
  336. <action type = "Command">alias abfPact input /pet "Rolling Thunder" &lt;me&gt;;</action>
  337. <action type = "Command">alias debPact /;</action>
  338. <action type = "Command">alias a70Pact input /pet "Chaotic Strike" &lt;t&gt;;</action>
  339. </elseif>
  340. <elseif spell = "Shiva">
  341. <action type = "Command">alias 75Nuke input /pet "Heavenly Strike" &lt;t&gt;;</action>
  342. <action type = "Command">alias 65Nuke input /pet "Blizzard IV" &lt;t&gt;;</action>
  343. <action type = "Command">alias atkPact input /pet "Double Slap" &lt;t&gt;;</action>
  344. <action type = "Command">alias bufPact input /pet "Frost Armor" &lt;me&gt;;</action>
  345. <action type = "Command">alias abfPact /;</action>
  346. <action type = "Command">alias debPact input /pet "Sleepga" &lt;t&gt;;</action>
  347. <action type = "Command">alias a70Pact input /pet "Rush" &lt;t&gt;;</action>
  348. </elseif>
  349. <elseif spell = "Titan">
  350. <action type = "Command">alias 65Nuke input /pet "Stone IV" &lt;t&gt;;</action>
  351. <action type = "Command">alias 75Nuke input /pet "Geocrush" &lt;t&gt;;</action>
  352. <action type = "Command">alias atkPact input /pet "Megalith Throw" &lt;t&gt;;</action>
  353. <action type = "Command">alias bufPact input /pet "Earthen Ward" &lt;me&gt;;</action>
  354. <action type = "Command">alias abfPact /;</action>
  355. <action type = "Command">alias debPact input /pet "Rock Buster" &lt;t&gt;;</action>
  356. <action type = "Command">alias a70Pact input /pet "Mountain Buster" &lt;t&gt;;</action>
  357. </elseif>
  358. </if>
  359. <if type="BloodPact*">
  360. <!-- Equips Avatar enhancing equipment for Physical Blood Pact: Rage -->
  361. <if spell="Poison Nails|Moonlit Charge|Crescent Fang|Eclipse Bite|Punch|Burning Strike|Double Punch|Flaming Crush|Rock Throw|Rock Buster|Megalith Throw|Mountain Buster|Barracuda Dive|Tail Whip|Spinning Dive|Claw|Predator Claws|Axe Kick|Double Slap|Rush|Shock Strike|Chaotic Strike|Camisado">
  362. <equip when="PreCast" set="BP_delay" />
  363. <equip when="MidCast" set="BP_skill|BP_Physical" />
  364. <!--Equips enhance specific Avatar attributes equipment-->
  365. <if advanced='$EvokersGages=1 AND "$Petname"="Leviathan"'>
  366. <equip when="MidCast">
  367. <hands>Evoker's Gages</hands>
  368. </equip>
  369. </if>
  370. <if advanced='$KaruraHachigane=1 AND "$Petname"="Garuda"'>
  371. <equip when="MidCast">
  372. <head>Karura Hachigane</head>
  373. </equip>
  374. </if>
  375. </if>
  376. <!-- Equips Avatar Enhancing equipment for Magical Blood Pact: Rage -->
  377. <elseif spell="Searing Light|Meteorite|Howling Moon|Inferno|*II|*IV|Meteor Strike|Earthen Fury|Geocrush|Tidal Wave|Grand Fall|Aerial Blast|Wind Blade|Diamond Dust|Heavenly Strike|Judgment Bolt|Thunderspark|Thunderstorm|Ruinous Omen|Nether Blast|Somnolence|Nightmare|Zantetsuken|Holy Mist|Lunar Bay|Night Terror">
  378. <equip when="PreCast" set="BP_delay" />
  379. <equip when="MidCast" set="BP_skill|BP_Magical" />
  380. <!-- Equips specific Enhance Avatar attributes equipment -->
  381. <if advanced='$MoranasPigaches=1 AND "$Petname"="Shiva"'>
  382. <equip when="MidCast">
  383. <feet>Morana's Pigaches</feet>
  384. </equip>
  385. </if>
  386. </elseif>
  387. <!-- Only uses Blood Pact delay gear if Summoning magic skill and Enhance Avatar attributes equipment aren't need -->
  388. <elseif spell="*Ruby*|Lunar*|Ecliptic*|Crimson Howl|Earthen Ward|Slowga|Spring Water|Aerial Armor|Whispering Wind|Hastega|*Armor|Sleepga|Rolling Thunder|Ultimate Terror|Noctoshield|Dream Shroud|Perfect Defense">
  389. <equip when="PreCast" set="BP_delay" />
  390. <equip when="MidCast" set="BP_skill" />
  391. <!-- Prints Fenrir boosts basebased on moon phase -->
  392. <if spell="Ecliptic Howl">
  393. <if advanced="%MOONPCT &gt; 89">
  394. <action type="Var" cmd="set BPMOON Moon @ %Moonpct% [Ecliptic Howl] Accuracy 25 - Evasion 1" />
  395. </if>
  396. <elseif advanced="%MOONPCT &gt; 74">
  397. <action type="Var" cmd="set BPMOON Moon @ %Moonpct% [Ecliptic Howl] Accuracy 21 - Evasion 5" />
  398. </elseif>
  399. <elseif advanced="%MOONPCT &gt; 59">
  400. <action type="Var" cmd="set BPMOON Moon @ %Moonpct% [Ecliptic Howl] Accuracy 17 - Evasion 9" />
  401. </elseif>
  402. <elseif advanced="%MOONPCT &gt; 39">
  403. <action type="Var" cmd="set BPMOON Moon @ %Moonpct% [Ecliptic Howl] Accuracy 13 - Evasion 13" />
  404. </elseif>
  405. <elseif advanced="%MOONPCT &gt; 24">
  406. <action type="Var" cmd="set BPMOON Moon @ %Moonpct% [Ecliptic Howl] Accuracy 9 - Evasion 17" />
  407. </elseif>
  408. <elseif advanced="%MOONPCT &gt; 9">
  409. <action type="Var" cmd="set BPMOON Moon @ %Moonpct% [Ecliptic Howl] Accuracy 5 - Evasion 21" />
  410. </elseif>
  411. <else>
  412. <action type="Var" cmd="set BPMOON Moon @ %Moonpct% [Ecliptic Howl] Accuracy 1 - Evasion 25" />
  413. </else>
  414. <if advanced='%PartyCount &gt; 1 and "$ShowBPStat"="1"'>
  415. <action type="command" when="Precast">input /p $BPMOON</action>
  416. </if>
  417. <else>
  418. <action type="AddToChat" color="204">$BPMOON</action>
  419. </else>
  420. </if>
  421. <!-- Prints Fenrir boosts based on moon phase -->
  422. <if spell="Ecliptic Growl">
  423. <if advanced="%MOONPCT &gt; 89">
  424. <action type="Var" cmd="set BPMOON Moon @ %Moonpct% [Ecliptic Growl] STR/DEX/VIT 7 - INT/MND/CHR/AGI 1" />
  425. </if>
  426. <elseif advanced="%MOONPCT &gt; 74">
  427. <action type="Var" cmd="set BPMOON Moon @ %Moonpct% [Ecliptic Growl] STR/DEX/VIT 6 - INT/MND/CHR/AGI 2" />
  428. </elseif>
  429. <elseif advanced="%MOONPCT &gt; 59">
  430. <action type="Var" cmd="set BPMOON Moon @ %Moonpct% [Ecliptic Growl] STR/DEX/VIT 5 - INT/MND/CHR/AGI 3" />
  431. </elseif>
  432. <elseif advanced="%MOONPCT &gt; 39">
  433. <action type="Var" cmd="set BPMOON Moon @ %Moonpct% [Ecliptic Growl] STR/DEX/VIT 4 - INT/MND/CHR/AGI 4" />
  434. </elseif>
  435. <elseif advanced="%MOONPCT &gt; 24">
  436. <action type="Var" cmd="set BPMOON Moon @ %Moonpct% [Ecliptic Growl] STR/DEX/VIT 3 - INT/MND/CHR/AGI 5" />
  437. </elseif>
  438. <elseif advanced="%MOONPCT &gt; 9">
  439. <action type="Var" cmd="set BPMOON Moon @ %Moonpct% [Ecliptic Growl] STR/DEX/VIT 2 - INT/MND/CHR/AGI 6" />
  440. </elseif>
  441. <else>
  442. <action type="Var" cmd="set BPMOON Moon @ %Moonpct% [Ecliptic Growl] STR/DEX/VIT 1 - INT/MND/CHR/AGI 7" />
  443. </else>
  444. <if advanced='%PartyCount &gt; 1 and "$ShowBPStat"="1"'>
  445. <action type="command" when="Precast">input /p $BPMOON</action>
  446. </if>
  447. <else>
  448. <action type="AddToChat" color="204">$BPMOON</action>
  449. </else>
  450. </if>
  451. <!-- Prints Fenrir boosts based on moon phase -->
  452. <if spell="Lunar Cry">
  453. <if advanced="%MOONPCT &gt; 89">
  454. <action type="Var" cmd="set BPMOON Moon @ %Moonpct% [Lunar Cry] Enemy Acc Down 31 - Enemy Eva Down 1" />
  455. </if>
  456. <elseif advanced="%MOONPCT &gt; 74">
  457. <action type="Var" cmd="set BPMOON Moon @ %Moonpct% [Lunar Cry] Enemy Acc Down 26 - Enemy Eva Down 6" />
  458. </elseif>
  459. <elseif advanced="%MOONPCT &gt; 59">
  460. <action type="Var" cmd="set BPMOON Moon @ %Moonpct% [Lunar Cry] Enemy Acc Down 21 - Enemy Eva Down 11" />
  461. </elseif>
  462. <elseif advanced="%MOONPCT &gt; 39">
  463. <action type="Var" cmd="set BPMOON Moon @ %Moonpct% [Lunar Cry] Enemy Acc Down 16 - Enemy Eva Down 16" />
  464. </elseif>
  465. <elseif advanced="%MOONPCT &gt; 24">
  466. <action type="Var" cmd="set BPMOON Moon @ %Moonpct% [Lunar Cry] Enemy Acc Down 11 - Enemy Eva Down 21" />
  467. </elseif>
  468. <elseif advanced="%MOONPCT &gt; 9">
  469. <action type="Var" cmd="set BPMOON Moon @ %Moonpct% [Lunar Cry] Enemy Acc Down 6 - Enemy Eva Down 26" />
  470. </elseif>
  471. <else>
  472. <action type="Var" cmd="set BPMOON Moon @ %Moonpct% [Lunar Cry] Enemy Acc Down 1 - Enemy Eva Down 31" />
  473. </else>
  474. <if advanced='%PartyCount &gt; 1 AND "$ShowBPStat"="1"'>
  475. <action type="command" when="Precast">input /p $BPMOON</action>
  476. </if>
  477. <else>
  478. <action type="AddToChat" color="204">$BPMOON</action>
  479. </else>
  480. </if>
  481. </elseif>
  482. <else>
  483. <equip when="PreCast" set="BP_delay" />
  484. <equip when="MidCast" set="BP_skill" />
  485. </else>
  486. </if>
  487. <!--AF3 Hands Day/Pet Rule-->
  488. <if advanced='"%petelement"="%dayelement" AND $AF3hands=1'>
  489. <equip>
  490. <hands>Call. Bracers +1</hands>
  491. </equip>
  492. </if>
  493. <elseif advanced='"%petelement"="%dayelement" AND $AF3hands=2'>
  494. <equip>
  495. <hands>Call. Bracers +2</hands>
  496. </equip>
  497. </elseif>
  498. <!--AF3 Hands on Windsday with Garuda-->
  499. <if advanced='"$Petname"="Garuda"'>
  500. <if advanced='$KaruraHachigane=1 AND ("%WeatherElement"!="Wind" OR ("%WeatherElement"="Wind" AND $KHachiPriority=1))'>
  501. <equip when="AfterCast">
  502. <head>Karura Hachigane</head>
  503. <hands>Call. Bracers +2</hands>
  504. </equip>
  505. </if>
  506. </if>
  507. <!-- Equips Summoning magic skill equipment for Elemental Siphon -->
  508. <if spell="Elemental Siphon">
  509. <equip set="BP_skill" />
  510. <if advanced="$ASALegs=1">
  511. <equip>
  512. <legs>Tatsumaki Sitagoromo</legs>
  513. </equip>
  514. </if>
  515. <if advanced="$AF3feet=1">
  516. <equip>
  517. <feet>Caller's Pgch. +1</feet>
  518. </equip>
  519. </if>
  520. <elseif advanced="$AF3feet=2">
  521. <equip>
  522. <feet>Caller's Pgch. +2</feet>
  523. </equip>
  524. </elseif>
  525. <if advanced="$SummonersSpats=2">
  526. <var cmd="set SummonersSpats 1" />
  527. </if>
  528. </if>
  529. <!-- Equips Summoner's Spats for Spirits, if enabled -->
  530. <if spell="*Spirit">
  531. <equip set="BP_skill" />
  532. <if advanced="$SummonersSpats=1">
  533. <equip when="AfterCast">
  534. <legs>Summoner's Spats</legs>
  535. </equip>
  536. </if>
  537. </if>
  538. <if spell="Avatar's Favor">
  539. <equip set="BP_skill" />
  540. <!-- Forces minus perpetuation gear, if enabled -->
  541. <if advanced="$PerpPriority=1">
  542. <equip when="MidCast" set="Perp" />
  543. <equip when="AfterCast" set="Pet" />
  544. </if>
  545. </if>
  546. <if spell="Mana Cede">
  547. <equip set="ManaCede" />
  548. </if>
  549. <!-- Equips increased speed gear when idle & no avatar; pet gear with avatar out -->
  550. <if advanced='"$Petname"!="None"'>
  551. <if spell="*Spirit">
  552. <equip set="BP_skill" />
  553. <if advanced="$SummonersSpats=1">
  554. <equip when="AfterCast">
  555. <legs>Summoner's Spats</legs>
  556. </equip>
  557. </if>
  558. </if>
  559. <else>
  560. <equip when="AfterCast" set="Pet" />
  561. <!-- Equips Summoner's Horn on matching weather if enabled -->
  562. <if advanced='$SummonersHorn=1 AND "%WeatherElement"="$PetElement"'>
  563. <equip when="AfterCast">
  564. <head>Smn. Horn +2</head>
  565. </equip>
  566. </if>
  567. <!-- Equips Summoner's AF3 Hands on matching day if enabled -->
  568. <if advanced='$Callersbracers=1 AND "%DayElement"="$PetElement"'>
  569. <equip when="AfterCast">
  570. <hands>Call. Bracers +2</hands>
  571. </equip>
  572. </if>
  573. <!-- Equips Karura Hachigane for Garuda if enabled -->
  574. <if advanced='"$Petname"="Garuda"'>
  575. <if advanced='$KaruraHachigane=1 AND ("%WeatherElement"!="Wind" OR ("%WeatherElement"="Wind" AND $KHachiPriority=1))'>
  576. <equip when="AfterCast">
  577. <head>Karura Hachigane</head>
  578. </equip>
  579. </if>
  580. </if>
  581. <!--Equips Diabolos's Rope for Diabolos if enabled-->
  582. <if advanced='$DiabolosRope=1 AND "$Petname"="Diabolos"'>
  583. <equip when="AfterCast">
  584. <waist>Diabolos's Rope</waist>
  585. </equip>
  586. </if>
  587. <!-- Equips Carbuncle Mitts for Carbuncle if enabled -->
  588. <elseif advanced='$CarbuncleMitts=1 AND "$Petname"="Carbuncle"'>
  589. <equip when="AfterCast">
  590. <body>Call. Doublet +2</body>
  591. <hands>Carbuncle Mitts</hands>
  592. </equip>
  593. </elseif>
  594. <!-- Equips Evoker's Gages for Leviathan if in Besieged -->
  595. <elseif advanced='$EvokersGages=1 AND "$Petname"="Leviathan"' buffactive="Besieged">
  596. <equip when="AfterCast">
  597. <hands>Evoker's Gages</hands>
  598. </equip>
  599. </elseif>
  600. <!-- Equips specific Enhance Avatar attributes equipment -->
  601. <elseif advanced='$MoranasPigaches=1 AND "$Petname"="Shiva"'>
  602. <equip when="MidCast">
  603. <feet>Morana's Pigaches</feet>
  604. </equip>
  605. </elseif>
  606. <if buffactive="Avatar's Favor">
  607. <equip when="AfterCast" set="BP_skill" />
  608. <!-- Forces minus perpetuation gear -->
  609. <if advanced="$PerpPriority=1">
  610. <equip when="AfterCast" set="Perp" />
  611. </if>
  612. <!-- Equips Summoner's Horn on matching weather if enabled -->
  613. <if advanced='$SummonersHorn=1 AND "%WeatherElement"="$PetElement"'>
  614. <equip when="AfterCast">
  615. <head>Smn. Horn +2</head>
  616. </equip>
  617. </if>
  618. <!-- Equips Summoner's Doublet on matching day if enabled -->
  619. <if advanced='$SummonersDoublet=1 AND "%DayElement"="$PetElement"'>
  620. <equip when="AfterCast">
  621. <body>Summoner's Dblt.</body>
  622. </equip>
  623. </if>
  624. <if advanced='"$Petname"="Garuda"'>
  625. <if advanced='$KaruraHachigane=1 AND ("%WeatherElement"!="Wind" OR ("%WeatherElement"="Wind" AND $KHachiPriority=1))'>
  626. <equip when="AfterCast">
  627. <head>Karura Hachigane</head>
  628. </equip>
  629. </if>
  630. </if>
  631. <!-- Equips Carbuncle Mitts for Carbuncle if enabled -->
  632. <elseif advanced='$CarbuncleMitts=1 AND "$Petname"="Carbuncle"'>
  633. <equip when="AfterCast">
  634. <hands>Carbuncle Mitts</hands>
  635. </equip>
  636. </elseif>
  637. <!-- Equips Evoker's Gages for Leviathan if in Besieged -->
  638. <elseif advanced='$EvokersGages=1 AND "$Petname"="Leviathan"' buffactive="Besieged">
  639. <equip when="AfterCast">
  640. <hands>Evoker's Gages</hands>
  641. </equip>
  642. </elseif>
  643. <!-- Equips specific Enhance Avatar attributes equipment -->
  644. <elseif advanced='$MoranasPigaches=1 AND "$Petname"="Shiva"'>
  645. <equip when="MidCast">
  646. <feet>Morana's Pigaches</feet>
  647. </equip>
  648. </elseif>
  649. </if>
  650. <if buffactive="AstralFlow">
  651. <equip when="AfterCast" set="AstralFlow" />
  652. </if>
  653. </else>
  654. </if>
  655. <else>
  656. <equip when="Idle|AfterCast" set="NoPet" />
  657. </else>
  658. <!-- Adds a message to the chat log to show Pet Actions, helpful when reviewing a battle -->
  659. <if spell="Assault" advanced='"%targettype"="Monster" AND "$Petname"!="None"'>
  660. <addtochat color="56">%Playername uses %spell on the %Target.</addtochat>
  661. </if>
  662. <if spell="Retreat|Release" advanced='"$Petname"!="None"'>
  663. <addtochat color="56">%Playername uses %spell.</addtochat>
  664. <if spell="Release">
  665. <var cmd="set Petname None" />
  666. <var cmd="set PetElement None" />
  667. <var cmd='set ElementalStaff "$EarthStaff"' />
  668. <equip when="Idle|AfterCast" set="NoPet" />
  669. </if>
  670. </if>
  671. <!-- White Magic Rules -->
  672. <if spell="Cur*">
  673. <equip when="MidCast">
  674. <main>Arka IV</main>
  675. <ammo>Impatiens</ammo>
  676. <rear>Loquac. earing</rear>
  677. <rring>Veneficium ring</rring>
  678. <hands>Weather. cuffs</hands>
  679. <body>Heka's kalasiris</body>
  680. <back>Tempered cape</back>
  681. <legs>Magavan slops</legs>
  682. <feet>Rubeus boots</feet>
  683. </equip>
  684. </if>
  685. <if spell="Stoneskin">
  686. <midcastdelay delay="6" />
  687. <equip when="MidCast" set="Stoneskin" />
  688. </if>
  689. <!-- Equip boosts for sneak & invisible -->
  690. <if spell="Sneak|Invisible">
  691. <equip when="MidCast">
  692. <back>Skulker's Cape</back>
  693. </equip>
  694. </if>
  695. <!-- Auto cancel sneak/utsu/stoneskin/blink when recasting them. Requires Cancel Plugin -->
  696. <if spell="Sneak" buffactive="Sneak" advanced='"%spelltarget"="%Playername" OR "%spelltarget"="&lt;me&gt;" OR ("%target"="%Playername" AND "%spelltarget"="&lt;t&gt;")'>
  697. <cmd when="MidCast">cancel 71</cmd>
  698. <midcastdelay delay="2.1" />
  699. </if>
  700. <if spell="Utsusemi: Ichi" buffactive="Copy Image">
  701. <midcastdelay delay="1.6" />
  702. <cmd when="MidCast">cancel 66</cmd>
  703. </if>
  704. <elseif spell="Stoneskin" buffactive="Stoneskin">
  705. <cmd when="MidCast">cancel 37</cmd>
  706. <midcastdelay delay="4.8" />
  707. </elseif>
  708. <elseif spell="Blink" buffactive="Blink">
  709. <cmd when="MidCast">cancel 36</cmd>
  710. <midcastdelay delay="4.5" />
  711. </elseif>
  712. </rules>
  713. </spellcast>
RAW Paste Data