Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" ?>
- <!--
- ===================================================
- ||
- || Aikar's BLM SpellCast Template
- ||
- || This file is designed to be easily used by others.
- || Simply editing in your own gear and modifying the variables up top
- || should be all that is needed to make use of this file.
- ||
- || Please be sure to configure the variables prior to use.
- ||
- || If you have any questions - Please post on the forums.
- ===================================================
- -->
- <spellcast>
- <config RequireVersion="2.22" />
- <variables>
- <!-- Sleep timers, announces to chat when sleep is wearing off. Set to 0 to not use. -->
- <!-- (note: this is sort of very obvious usage of 3rd party programs, so turn off when around people you dont trust -->
- <var name="SleepTimers">1</var>
- <var name="Ring">0</var> <!--Leave this in, I'm too lazy to fix it properly-->
- <var name="LightGrip">0</var>
- <var name="DarkGrip">1</var>
- <var name="ThunderGrip">1</var>
- <var name="IceGrip">1</var>
- <var name="FireGrip">0</var>
- <var name="WindGrip">1</var>
- <var name="WaterGrip">0</var>
- <var name="EarthGrip">1</var>
- <var name="LightGrip2">Light Grip</var>
- <var name="DarkGrip2">Dark Grip</var>
- <var name="ThunderGrip2">Thunder Grip</var>
- <var name="IceGrip2">Ice Grip</var>
- <var name="FireGrip2">Fire Grip</var>
- <var name="WindGrip2">Wind Grip</var>
- <var name="WaterGrip2">Water Grip</var>
- <var name="EarthGrip2">Earth Grip</var>
- <!-- Elemental Staffs, input what staff to use for each element here -->
- <var name="IceStaff">Aquilo's Staff</var>
- <var name="DarkStaff">Pluto's Staff</var>
- <var name="ThunderStaff">Indra's Staff +2</var>
- <var name="WindStaff">Auster's Staff</var>
- <var name="FireStaff">Vulcan's Staff</var>
- <var name="EarthStaff">Terra's Staff</var>
- <var name="LightStaff">Apollo's Staff</var>
- <var name="WaterStaff">Neptune's Staff</var>
- <!-- Elemental Obi's, set to 1 for the ones you have. -->
- <var name="DarkObi">1</var>
- <var name="LightObi">1</var>
- <var name="ThunderObi">1</var>
- <var name="IceObi">1</var>
- <var name="FireObi">0</var>
- <var name="WindObi">1</var>
- <var name="WaterObi">1</var>
- <var name="EarthObi">0</var>
- </variables>
- <sets>
- <group name="Main" default="yes">
- <set name="Standard">
- <main>$EarthStaff</main>
- <ammo>Hedgehog bomb</ammo>
- <neck>Twilight Torque</neck>
- <lear>Loquacious Earring</lear>
- <head>Duelist's chapeau</head>
- <rear>Estq. Earring</rear>
- <body>Estq. Sayon +2</body>
- <hands>Serpentes cuffs</hands>
- <lring>Dark Ring</lring>
- <rring>Jelly Ring</rring>
- <back>Umbra Cape</back>
- <waist>Siegel Sash</waist>
- <legs>Blood Cuisses</legs>
- <feet>Serpentes sabots</feet>
- <sub>Bugard Leather Strap +1</sub>
- </set>
- <set name="Resting">
- <main>$DarkStaff</main>
- <ammo>Clarus Stone</ammo>
- <body>Estq. Sayon +2</body>
- <sub>Bugard Leather Strap +1</sub>
- <waist>Austerity belt</waist>
- <head>Duelist's chapeau</head>
- <feet>Serpentes sabots</feet>
- <hands>Serpentes cuffs</hands>
- <neck>Eidolon Pendant</neck>
- <legs>Sagacity lappas</legs>
- <back>Felicitas cape</back>
- </set>
- <set name="ElementalMagic">
- <main>$%SpellElementStaff</main>
- <sub>Bugard Leather Strap +1</sub>
- <ammo>WitchStone</ammo>
- <neck>Artemis' medal</neck>
- <lear>Hecate's Earring</lear>
- <rear>novio Earring</rear>
- <head>Wlk. chapeau +1</head>
- <body>Estq. Sayon +2</body>
- <hands>Eradico Mitts</hands>
- <lring>Diamond Ring</lring>
- <rring>Diamond Ring</rring>
- <back>Potentia Cape</back>
- <legs>Estqr. Fuseau +2</legs>
- <feet>Theurgia Clogs</feet>
- <waist>Cognition Belt</waist>
- </set>
- <set name="DarkMagic" BaseSet="ElementalMagic">
- <main>Pluto's staff</main>
- <hands>Crimson finger gauntlets</hands>
- <neck>Dark Torque</neck>
- <legs>Blood Cuisses</legs>
- <lear>Estoqueur's Earring</lear>
- <rear>Abyssal Earring</rear>
- <back>Merciful Cape</back>
- <body>Goliard Saio</body>
- <waist>Witch Sash</waist>
- </set>
- <set name="EnfeeblingMagic">
- <main>$%SpellElementStaff</main>
- <sub>Reign Grip</sub>
- <body>Estq. Sayon +2</body>
- <head>Duelist's chapeau</head>
- <hands>Estq. Ganthrt. +2</hands>
- <back>Altruistic Cape</back>
- <neck>Enfeebling Torque</neck>
- <lear>Estq. Earring</lear>
- <legs>Nashira seraweels</legs>
- <feet>Goliard Clogs</feet>
- <waist>Witch Sash</waist>
- </set>
- <set name="HealingMagic">
- <main>$LightStaff</main>
- <ammo>Hedgehog bomb</ammo>
- <sub>Reign Grip</sub>
- <neck>Estoqueur's Collar</neck>
- <lear>Loquacious Earring</lear>
- <head>Wlk. Chapeau +1</head>
- <rear>Estq. Earring</rear>
- <body>Goliard saio</body>
- <hands>Serpentes cuffs</hands>
- <lring>Solemn Ring Ring</lring>
- <rring>Karka Ring</rring>
- <back>Sunbeam Cape</back>
- <waist>Witch Sash</waist>
- <legs>Sagacity Lappas</legs>
- <feet>Serpentes sabots</feet>
- </set>
- <set name="EnhancingMagic" />
- <set name="Fastcast" base="Standard">
- <main>Terra's Staff</main>
- <lear>Loquacious earring</lear>
- <body>Goliard Saio</body>
- <head>Wlk. Chapeau +1</head>
- <legs>Nashira Seraweels</legs>
- <waist lock="yes">Velocious Belt</waist>
- </set>
- <set name="Ability" />
- <set name="Ninjutsu" />
- <set name="Unknown" />
- <!--
- <set name="Melee" BaseSet="Standard"/>
- <main lock="true"></main>
- <sub lock="true"></sub>
- <ammo lock="true" />
- </set>
- -->
- </group>
- </sets>
- <rules>
- <if Spell="Escape|Warp|Warp II|Retrace|Teleport-*|Reraise|Tractor"> <action type="return" /> </if>
- <!-- set of gear to equip when finished casting a spell or coming back from resting mp (idle set) -->
- <equip when="Idle|aftercast" set="Standard" />
- <aftercastdelay delay="0.3" />
- <if spell="Refresh*">
- <equip>
- <legs>Estqr. Fuseau +2</legs>
- </equip>
- </if>
- <if spell="Phalanx*">
- <equip>
- <head>Duelist's Chapeau</head>
- <body>Estq. Sayon +2</body>
- <back>Sunbeam Cape</back>
- <neck>Estoqueur's Collar</neck>
- <hands>Estq. Ganthrt. +2</hands>
- <waist>Witches Sash</waist>
- <lear>Estq. Earring</lear>
- <lring>Solemn Ring</lring>
- <legs>Sagacity Lappas</legs>
- <rear>Star Earring</rear>
- <rring>Karka Ring</rring>
- <feet>Estq. Houseaux +2</feet>
- </equip>
- </if>
- <if spell="Slow*">
- <equip>
- <head>Duelist's Chapeau</head>
- <body>Estq. Sayon +2</body>
- <back>Sunbeam Cape</back>
- <neck>Estoqueur's Collar</neck>
- <hands>Estq. Ganthrt. +2</hands>
- <waist>Witches Sash</waist>
- <lear>Estq. Earring</lear>
- <lring>Solemn Ring</lring>
- <legs>Sagacity Lappas</legs>
- <rear>Star Earring</rear>
- <rring>Karka Ring</rring>
- <feet>Estq. Houseaux +2</feet>
- </equip>
- </if>
- <if spell="Paralyze*">
- <equip>
- <head>Duelist's Chapeau</head>
- <body>Estq. Sayon +2</body>
- <back>Sunbeam Cape</back>
- <neck>Estoqueur's Collar</neck>
- <hands>Estq. Ganthrt. +2</hands>
- <waist>Witches Sash</waist>
- <lear>Estq. Earring</lear>
- <lring>Solemn Ring</lring>
- <legs>Sagacity Lappas</legs>
- <rear>Star Earring</rear>
- <rring>Karka Ring</rring>
- <feet>Estq. Houseaux +2</feet>
- </equip>
- </if>
- <if Spell="Haste|Blink|Erase|Regen*|protec*|shel*">
- <equip>
- <body>Goliard Saio</body>
- <head>Wlk. Chapeau +1</head>
- <waist>Velocious Belt</waist>
- <legs>Nashira Seraweels</legs>
- <back>Estoqueur's Cape</back>
- <feet>Estq. Houseaux +2</feet>
- </equip>
- </if>
- <if Spell="Stoneskin">
- <equip when="precast">
- <main>Neptune's staff</main>
- <sub>Reign Grip</sub>
- <head>Wlk. Chapeau +1</head>
- <legs>Haven Hose</legs>
- <body>Estq. Sayon +2</body>
- <hands>Estq. Ganthrt. +2</hands>
- <neck>Stone Gorget</neck>
- <feet>Estq. Houseaux +2</feet>
- <rring>Karka Ring</rring>
- <waist>Siegel Sash</waist>
- <rear>Loquac. earring</rear>
- <lear>Star Earring</lear>
- <lring>solemn Ring</lring>
- <back>Sunbeam cape</back>
- </equip>
- </if>
- <if Spell="Banish*">
- <equip when="precast">
- <main>Teiwaz</main>
- </equip>
- </if>
- <if Spell="Utsusemi*">
- <equip when="Precast" set="FastCast" />
- </if>
- <else>
- <!-- Elemental Grip checks. Are we casting an enfeeble, or are we casting on a resistant mob? -->
- <if mode="OR" NotSkill="ElementalMagic" Spell="Frost|Drown|Rasp|Burn|Shock|Choke" SpellTargetName="Tiamat|Genbu|Suzaku|Seiryu|Byakko|Kirin|Jormungand|Ouryu|Vrtra|Cerberus|Khimaira|Nidhogg|Tinnin|Sarameya|Tyger|Jailer of Love">
- <if Advanced='"$%SpellElementGrip" == "1"'>
- <equip when="midcast">
- <sub lock="true">%SpellElement Grip</sub>
- </equip>
- </if>
- </if>
- <!-- if were handling spells -->
- <if Skill="*Magic">
- <!-- if this is enfeebling magic (nukes/dot's, then do special handling -->
- <if Skill="EnfeeblingMagic">
- <equip set="EnfeeblingMagic" when="PreCast" />
- </if>
- <else>
- <!-- for any other type of spell, just equip matching set name. -->
- <equip when="precast" Set="%Skill" />
- </else>
- </if>
- <else>
- <equip when="aftercast" Set="Standard" />
- </else>
- <!-- so i can see in general how much my drain did. If Ring=0 then its a dangerous spot and shouldnt drop HP. -->
- <if Spell="Drain" Advanced="$Ring==1">
- <equip set="MinusHP" />
- </if>
- <!-- Handle Elemental Obi's -->
- <if Advanced='("%SpellElement" = "%WeatherElement" OR "%SpellElement" = "%DayElement") AND "$%SpellElementObi" = "1"'>
- <if Element="Dark"><equip when="midcast"><waist lock="yes">Anrin Obi</waist></equip></if>
- <elseif Element="Light"><equip when="midcast"><waist lock="yes">Korin Obi</waist></equip></elseif>
- <elseif Element="Thunder"><equip when="midcast"><waist lock="yes">Rairin Obi</waist></equip></elseif>
- <elseif Element="Ice"><equip when="midcast"><waist lock="yes">Hyorin Obi</waist></equip></elseif>
- <elseif Element="Fire"><equip when="midcast"><waist lock="yes">Karin Obi</waist></equip></elseif>
- <elseif Element="Wind"><equip when="midcast"><waist lock="yes">Furin Obi</waist></equip></elseif>
- <elseif Element="Water"><equip when="midcast"><waist lock="yes">Suirin Obi</waist></equip></elseif>
- <elseif Element="Earth"><equip when="midcast"><waist lock="yes">Dorin Obi</waist></equip></elseif>
- </if>
- <!-- Handle Twilight Cape -->
- <if Advanced='("%SpellElement" = "%WeatherElement" OR "%SpellElement" = "%DayElement") AND "$%SpellElementObi" = "1"'>
- <if Element="Dark">
- <equip when="midcast">
- <Back lock="yes">Twilight Cape</Back>
- </equip>
- </if>
- <elseif Element="Light">
- <equip when="midcast">
- <Back lock="yes">Twilight Cape</Back>
- </equip>
- </elseif>
- <elseif Element="Thunder">
- <equip when="midcast">
- <Back lock="yes">Twilight Cape</Back>
- </equip>
- </elseif>
- <elseif Element="Ice">
- <equip when="midcast">
- <Back lock="yes">Twilight Cape</Back>
- </equip>
- </elseif>
- <elseif Element="Fire">
- <equip when="midcast">
- <Back lock="yes">Twilight Cape</Back>
- </equip>
- </elseif>
- <elseif Element="Wind">
- <equip when="midcast">
- <Back lock="yes">Twilight Cape</Back>
- </equip>
- </elseif>
- <elseif Element="Water">
- <equip when="midcast">
- <Back lock="yes">Twilight Cape</Back>
- </equip>
- </elseif>
- <elseif Element="Earth">
- <equip when="midcast">
- <Back lock="yes">Twilight Cape</Back>
- </equip>
- </elseif>
- </if>
- <!-- Handle AFv2 Pants, but do not equip pants if we already have Weather x2 and day bonuses from obi alone as obi alone hits the 35% damage cap.
- <if Advanced='(!((regex)%Weather=^.* x2$(/regex) AND "%WeatherElement" = "%SpellElement" AND "$%SpellElementObi" = "1") OR !("%WeatherElement" = "%spellElement")) AND ("%SpellElement" = "%DayElement" AND "$BLMAF2Pants" = "1") AND ("%skill"="ElementalMagic")'>
- <equip when="midcast">
- <legs lock="yes">Sorcerer's Tonban</legs>
- </equip>
- </if> -->
- <!-- Timers for when sleep is wearing off. -->
- <if advanced='"$SleepTimers"="1"'>
- <if Spell="Sleep II|Sleepga II">
- <command when="aftercast">spellcast var inc sleepid;wait 45;input /echo [$sleepid:%spell] <%target> Wearing off in 45s</command>
- <command when="aftercast">wait 75;input /echo [$sleepid:%spell] <%target> Wearing off in 15s</command>
- <command when="aftercast">wait 85;input /echo [$sleepid:%spell] <%target> Wearing off in 5s;spellcast var dec sleepid;</command>
- </if>
- <elseif Spell="Sleep|Sleepga">
- <command when="aftercast">spellcast var inc sleepid;wait 45;input /echo [$sleepid:%spell] <%target> Wearing off in 15s</command>
- <command when="aftercast">wait 55;input /echo [$sleepid:%spell] <%target> Wearing off in 5s;spellcast var dec sleepid;</command>
- </elseif>
- </if>
- <!-- auto cancel sneak/utsu/stoneskin/blink when recasting them. Requires Cancel Plugin -->
- <if Spell="Sneak" BuffActive="Sneak" SpellTargetType="Self">
- <command when="midcast">cancel 71</command>
- <midcastdelay delay="1.3" />
- </if>
- <if spell="Utsusemi: Ichi" BuffActive="Copy Image">
- <midcastdelay delay="2.0" />
- <equip when ="midcast"><body>Goliard Saio</body></equip>
- <command when="midcast">cancel 66</command>
- </if>
- <elseif Spell="Stoneskin" BuffActive="Stoneskin">
- <command when="midcast">cancel 37</command>
- <midcastdelay delay="2.0" />
- </elseif>
- <elseif Spell="Utsusemi: Ichi" BuffActive="Copy Image">
- <command when="midcast">cancel 66</command>
- <midcastdelay delay="1.0" />
- </elseif>
- <elseif Spell="Blink" BuffActive="Blink">
- <command when="midcast">cancel 36</command>
- <midcastdelay delay="4.0" />
- </elseif>
- <if Spell="Utsusemi: Ichi">
- <equip when ="midcast" set="Standard" />
- <midcastdelay delay="2.5" />
- </if>
- <if notskill="Ninjutsu">
- <!-- finally, equip our staff! -->
- <equip when="midcast">
- <main>$%SpellElementStaff</main>
- <sub>$%SpellElementGrip2</sub>
- </equip>
- </if>
- </else>
- </rules>
- </spellcast>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement