Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--
- Original author: Xellan (Bismarck server).
- The newest versions will be available at http://guildwork.com/characters/ffxi/bismarck/xellan/spellcast
- Thank you to Hitetsu of Slyph for the Lunge Obi Rules script, at http://www.ffxiah.com/forum/topic/37175/rune-fencer-spellcast-help/
- Future versions of this script will avoid the Fomor WS triggers, and will use ClassTriggers instead. I simply have yet to find a
- comprehensive explantion of how to script for these, and trying to use Motenten's spellcasts as a guide have yet rendered working
- results, although I am grateful for all of the work they have done with regards to both scripting and the DPS calculators spreadsheets.
- Future versions of this script will also include more rules for alternate weapons and weaponskills, but at this time I have found no
- need for anything other than Resolution, although I'm sure axes, swords, clubs, and great axes must have merit as well, particularly
- Ruinator.
- Macro or bind the following: /ws "Dancing Chains" <t>
- This will change your gear to whatever set is defined in the "engaged" variable if you are engaged. If you are idle, it will
- put on your idle set.
- Macro or bind the following: /ws "Foxfire" <t>
- This will toggle the "engaged" variable from standard setup to PDT to MDT, then start back over at the standard set.
- Macro or bind the following: /ws "Grim Halo" <t>
- This will swap you to your PDT gear set. You will stay in this set until you send another command through spellcast. Usually,
- I will hit my Aegis Schism macro to get back in "engaged" or idle set.
- Macro or bind the following: /ws Vulcan Shot <t>
- This will swap you to your MDT gear set. You will stay in this set until you send another command through spellcast. Usually,
- I will hit my Aegis Schism macro to get back in "engaged" or idle set.
- Macro or bind the following: /ja "$Rune" <me>
- This will use your currently selected Rune. The default is Ignis.
- Macro or bind the following: /ws "Shackled Fists" <t>
- This will toggle your currently engaged Rune. The default is Ignis. The cycle order is Ignis/Fire > Gelus/Ice > Flabra/Wind >
- Tellus/Earth> Unda/Water > Sulpor/Thunder > Lux/Light > Tenebrae/Dark, and back to the start.
- -->
- <spellcast xmlns:xi="http://www.w3.org/2001/XInclude">
- <guildwork
- character="Xellan"
- server="Bismarck"
- description=""
- job="RUN" />
- <config
- Debug="true"
- HideErrors="true"
- ShowGearSwaps="false" />
- <sets>
- <group name="Rune Fencer" Default="true">
- <!-- Set: Standard -->
- <set name="Standard" >
- <!-- Goal gear (Skadi +1 head/legs) renders 16.5 TP/hit sub Sam (25 gear + 15 Job Trait), 82.5 in 5 hits.
- Multi-hits from gear:
- Double Attack:
- Pole Grip 2
- Asperity 2
- Earring Set 7
- Thaumas Coat 3
- Epona's Ring 3
- Atheling Mantle 3
- Twilight Belt 3
- Thaumas Nails 3
- _________________
- Total 26 + swings/100: 26
- Triple Attack:
- Thaumas Coat 3
- Epona's Ring 3
- _________________
- Total 6 + swings/100: 12
- Quadruple Attack:
- Thaumas Coat 3
- _________________
- Total 3 + swings/100: 9
- Total Multi-hits: + swings/100: 47 -->
- <main>Bereaver</main>
- <sub>Pole Grip</sub>
- <ammo>Hagneia Stone</ammo>
- <head>Ocelomeh Headpiece</head>
- <!--<head>Skadi's Visor +1</head>-->
- <neck>Asperity Necklace</neck>
- <lear>Bladeborn Earring</lear>
- <rear>Steelflash Earring</rear>
- <body>Thaumas Coat</body>
- <hands>Thaumas Gloves</hands>
- <lring>Epona's Ring</lring>
- <rring>Rajas Ring</rring>
- <back>Atheling Mantle</back>
- <waist>Twilight Belt</waist>
- <legs>Thaumas Kecks</legs>
- <!--<legs>Skadi's Cuisses +1</legs>-->
- <feet>Thaumas Nails</feet>
- </set>
- <!-- Set: Idle Regen -->
- <set name="IdleRegen" BaseSet="Standard" >
- <head>Ocelomeh Headpiece</head>
- <neck>Wiglen Gorget</neck>
- <body>Khepri Jacket</body>
- <lring>Paguroidea Ring</lring>
- <rring>Sheltered Ring</rring>
- <feet>Hermes' Sandals</feet>
- <!--<feet>Skadi's Jambeaux +1</feet>-->
- </set>
- <!-- Set: Idle Refresh -->
- <set name="IdleRefresh" Baseset="IdleRegen" >
- <head>Wivre Hairpin</head>
- <body>Orvail Robe</body>
- </set>
- <!-- Set: WS -->
- <!-- Resolution Store TP returns: 19.5 TP w/ 5-hits sub Sam (10 gear + 15 Job Trait) (5 hits)
- (82.5 from 5-hit TP build +19.5 TP Resolution return = 101 TP) -->
- <set name="WS" BaseSet="Standard" >
- <head>Thurandaut Chapeau</head>
- <neck>Breeze Gorget</neck>
- <lear>Bladeborn Earring</lear>
- <rear>Steelflash Earring</rear>
- <body>Thurandaut Tabard</body>
- <hands>Thaumas Gloves</hands>
- <lring>Epona's Ring</lring>
- <rring>Rajas Ring</rring>
- <back>Atheling Mantle</back>
- <waist>Breeze Belt</waist>
- <legs>Thaumas Kecks</legs>
- <feet>Thaumas Nails</feet>
- </set>
- <!-- Set: PDT (Grim Halo) -->
- <set name="PDT" baseset="Standard">
- <neck>Wiglen Gorget</neck>
- <lear>Ethereal Earring</lear>
- <rear>Colossus's Earring</rear>
- <lring>Dark Ring</lring>
- <rring>Dark Ring</rring>
- <feet>Thurandaut Boots</feet>
- </set>
- <!-- Set: MDT (Vulcan Shot) -->
- <!-- Magic Defense Values
- Shell V: 62/256
- Cleric's Pantaloons +2 +5/256
- Sheltered Ring: +5/256
- Embolden: *2
- 144/256
- 56.25% reduction
- Twilight Torque: 5%
- Dark Ring x2: 10%
- Colossus's Mantle: 2%
- Total Embolden Shell V Value: 73.25% reduction
- Magic Defense Bonus
- Job Trait +22
- Phalanx Damage Reduced 36 damage per hit
- Ducal Guard (under 50% HP): 87.625% reduction? -->
- <set name="MDT" baseset="Standard">
- <neck>Twilight Torque</neck>
- <lring>Dark Ring</lring>
- <rring>Dark Ring</rring>
- <back>Colossus's Mantle</back>
- </set>
- <!-- Set: Vallation: A rampart or entrenchment, or the process or technique of constructing ramparts. -->
- <set name="Vallation" BaseSet="Standard" />
- <!-- Set: Pflug: German for plow -->
- <set name="Pflug" Baseset="Standard" />
- <!-- Set: Valiance: Heroism -->
- <set name="Valiance" BaseSet="Standard" />
- <!-- Set: Liement: An action in which one fencer forces the opponent's blade into a diagonally opposite line (that is, from high line
- to low line on the opposite side, or vice versa) by taking it with the guard and forte of his own blade.-->
- <set name="Liement" BaseSet="Standard" />
- <!-- Set: Lunge -->
- <set name="Lunge" BaseSet="Standard" >
- <head>Thaumas Hat</head>
- <neck>Stoicheion Medal</neck>
- <body>Hedera Cotehardie</body>
- <lear>Hecate's Earring</lear>
- <rear>Strophadic Earring</rear>
- <lring>Balrahn's Ring</lring>
- <legs>Orvail Pants</legs>
- </set>
- <!-- Set: Gambit -->
- <set name="Gambit" BaseSet="Standard" />
- <!-- Set: Embolden -->
- <set name="Embolden" BaseSet="Standard" />
- <!-- Set: One For All - (Unus pro omnibus, omnes pro uno) -->
- <set name="One For All" BaseSet="Standard" />
- <!-- Set: Precast -->
- <set name="Fastcast" > <!-- Currently +17% -->
- <head>Athos's Chapeau</head> <!-- +2% -->
- <lear>Loquacious Earring</lear> <!-- +2$ -->
- <!--<lring>Prolix Ring</lring>--> <!-- +2% -->
- <hands>Thaumas Gloves</hands> <!-- +4% -->
- <legs>Orvail Pants</legs> <!-- +5% -->
- <feet>Chelona Boots</feet> <!-- +4% -->
- </set>
- <!-- Set: Enhancing Precast-->
- <set name="EnhancingFastcast" BaseSet="Fastcast" >
- <waist>Siegel Sash</waist>
- </set>
- <!-- Set: Reecast -->
- <!-- Haste primary, Conserve MP where available -->
- <set name="Recast" Baseset="Fastcast" > <!-- Haste: Capped -->
- <head>Ocelomeh Headpiece</head> <!-- 6% -->
- <lear>Loquacious Earring</lear>
- <body>Hedera Cotehardie</body> <!-- 6% -->
- <hands>Thaumas Gloves</hands> <!-- 3% -->
- <waist>Twilight Belt</waist> <!-- 7% -->
- <legs>Thaumas Kecks</legs> <!-- 6% -->
- </set>
- <!-- Set: Enhancing Skill -->
- <set name="EnhancingSkill" Baseset="Recast" ><!-- +12/44 possible -->
- <neck>Colossus's Torque</neck> <!-- +7 skill -->
- <!--<body>Manasa Chausuble</body>--> <!-- +12 skill -->
- <!--<legs>Portent Pants</legs>--> <!-- +15 skill -->
- <back>Merciful Cape</back> <!-- +5 skill -->
- <!--<waist>Olympus Sash</waist>--> <!-- +5 skill -->
- </set>
- <!-- Set: Spikes -->
- <set name="Spikes" Baseset="Recast" > <!-- Int: 52 -->
- <rear>Strophadic Earring</rear> <!-- +3 -->
- <body>Orvail Robe</body> <!-- +18 -->
- <hands>Orvail Cuffs</hands> <!-- +15 -->
- <legs>Orvail Pants</legs> <!-- +16 -->
- </set>
- <!-- Set: Steps -->
- <set name="Steps" BaseSet="Standard" />
- <!-- Set: Waltzes -->
- <set name="Waltzes" BaseSet="Standard" ><!-- 61 self, 47 other -->
- <head>Orvail Corona</head> <!-- 14C -->
- <body>Orvail Robe</body> <!-- 18C -->
- <hands>Orvail Cuffs</hands> <!-- 15C -->
- <feet>Turandaut Boots</feet> <!-- 14V -->
- </set>
- </group>
- </sets>
- <variables clear="true">
- <var name="Engaged">Standard</var>
- <var name="When">midcast</var>
- <var name="Rune">Ignis</var>
- </variables>
- <rules>
- <!-- Rule: Automatic Recast -->
- <if CommandPrefix="/ma|/nin|/ma*|/nin*" >
- <action type="Command" when="Precast">input /recast "%Spell"</action>
- </if>
- <!-- Rule: Abyssea -->
- <if area="Abyssea*">
- <if advanced='"$when" = "midcast"'>
- <var cmd="set when precast" />
- </if>
- </if>
- <else>
- <if advanced='"$when" = "precast"'>
- <var cmd="set when midcast" />
- </if>
- </else>
- <!-- Rule: Autosets -->
- <command when="engaged|idle|aftercast">wait .3; Dancing Chains</command>
- <!-- Rules: Ninjutsu -->
- <if type="Ninjutsu">
- <if spell="Utsusemi*|Tonko*|Monomi*" >
- <if notbuffactive="Amnesia|Silence|Mute|Sleep|Stun|Petrify|Terror|Charm">
- <equip when="Precast" set="FastCast" />
- <equip when="$when" set="Recast" />
- <if spell="Utsusemi: Ichi">
- <action type="midcastdelay" delay="2.5" />
- <cmd when="$when">cancel 66</cmd>
- </if>
- <elseif spell="Monomi*" BuffActive="Sneak">
- <action type="midcastdelay" delay=".7" />
- <cmd when="$when">cancel 71</cmd>
- </elseif>
- </if>
- <else>
- <addtochat>Unable to act.</addtochat>
- <action type="CancelSpell" />
- <return />
- </else>
- </if>
- <else>
- <return />
- </else>
- </if>
- <!-- Rules: White Magic -->
- <if type="WhiteMagic" >
- <if notbuffactive="Amnesia|Silence|Mute|Sleep|Stun|Petrify|Terror|Charm" >
- <equip when="Precast" set="FastCast" />
- <equip when="$when" set="Recast" />
- <if spell="Sneak*" BuffActive="Sneak">
- <midcastdelay delay="1.4" />
- <cmd when="midcast">cancel 71</cmd>
- </if>
- <if Skill="EnhancingMagic">
- <equip when="Precast" set="EnhancingFastCast" />
- <if Spell="Stoneskin">
- <equip when="$when" set="EnhancingSkill" >
- <waist>Siegel Sash</waist>
- </equip>
- </if>
- <elseif Spell="Bar*|Phalanx" >
- <equip when="$when" set="EnhancingSkill" />
- </elseif>
- <elseif Spell="Aquaveil|Blink|Foil|Refresh|Regen*" >
- <equip when="$when" set="Recast" />
- </elseif>
- <elseif Spell="Protect*|Shell*" >
- <equip when="Precast|$when" >
- <rring>Sheltered Ring</rring>
- </equip>
- </elseif>
- </if>
- <else>
- <return />
- </else>
- </if>
- <else>
- <addtochat>Unable to act.</addtochat>
- <action type="CancelSpell" />
- <return />
- </else>
- </if>
- <!-- Rules: Black Magic -->
- <if type="BlackMagic">
- <if notbuffactive="Amnesia|Silence|Mute|Sleep|Stun|Petrify|Terror|Charm" >
- <equip when="Precast" set="FastCast" />
- <equip when="$when" set="Recast" />
- <if Spell="*Spikes">
- <equip when="$when" set="Spikes" />
- </if>
- <else>
- <return />
- </else>
- </if>
- <else>
- <addtochat>Unable to act.</addtochat>
- <action type="CancelSpell" />
- <return />
- </else>
- </if>
- <!-- Rule: Lunge -->
- <if spell="Lunge" >
- <equip when="precast" set="%Spell" />
- </if>
- <!--Rule: Lunge Obis (Author Sylph.Hitetsu -->
- <if mode="and" spell="Lunge" buffactive="Ignis|Unda|Sulpor|Flabra|Tellus|Gelus|Lux|Tenebrae">
- <if mode="and" buffactive="Ignis" Advanced='("Fire" = "%WeatherElement" OR "Fire" = "%DayElement")'>
- <equip when="precast">
- <waist lock="yes">Karin Obi</waist>
- </equip>
- </if>
- <elseif mode="and" buffactive="Unda" Advanced='("Water" = "%WeatherElement" OR "Water" = "%DayElement")'>
- <equip when="precast">
- <waist lock="yes">Suirin Obi</waist>
- </equip>
- </elseif>
- <elseif mode="and" buffactive="Sulpor" Advanced='("Thunder" = "%WeatherElement" OR "Thunder" = "%DayElement")'>
- <equip when="precast">
- <waist lock="yes">Rairin Obi</waist>
- </equip>
- </elseif>
- <elseif mode="and" buffactive="Flabra" Advanced='("Wind" = "%WeatherElement" OR "Wind" = "%DayElement")'>
- <equip when="precast">
- <waist lock="yes">Furin Obi</waist>
- </equip>
- </elseif>
- <elseif mode="and" buffactive="Tellus" Advanced='("Earth" = "%WeatherElement" OR "Earth" = "%DayElement")'>
- <equip when="precast">
- <waist lock="yes">Dorin Obi</waist>
- </equip>
- </elseif>
- <elseif mode="and" buffactive="Gelus" Advanced='("Ice" = "%WeatherElement" OR "Ice" = "%DayElement")'>
- <equip when="precast">
- <waist lock="yes">Hyorin Obi</waist>
- </equip>
- </elseif>
- <elseif mode="and" buffactive="Lux" Advanced='("Light" = "%WeatherElement" OR "Light" = "%DayElement")'>
- <equip when="precast">
- <waist lock="yes">Korin Obi</waist>
- </equip>
- </elseif>
- <elseif mode="and" buffactive="Tenebrae" Advanced='("Dark" = "%WeatherElement" OR "Dark" = "%DayElement")'>
- <equip when="precast">
- <waist lock="yes">Anrin Obi</waist>
- </equip>
- </elseif>
- </if>
- <!-- Rules: Dancer Job Abilities -->
- <!-- Rule: Steps -->
- <if spell="*Step*" >
- <action type="equip" when="Precast" set="Steps" />
- </if>
- <!-- Rule: Sambas -->
- <if spell="*Samba*" >
- <if mode="AND" spell="Drain Samba II" TPLT="25" >
- <cancelspell />
- <return />
- </if>
- <elseif mode="AND" spell="Haste Samba" TPLT="35" >
- <cancelspell />
- <return />
- </elseif>
- </if>
- <!-- Rule: Spectral Jig -->
- <if spell="Spectral Jig" >
- <action type="command" When="PreCast">cancel 71</action>
- </if>
- <!-- Rule: Waltzes -->
- <if spell="*Waltz*" >
- <if mode="AND" spell="Curing Waltz" TPLT="20" >
- <cancelspell />
- <return />
- </if>
- <elseif mode="AND" spell="Curing Waltz II" TPLT="35" >
- <cancelspell />
- <return />
- </elseif>
- <elseif mode="AND" spell ="Curing Waltz III" TPLT="50" >
- <cancelspell />
- <return />
- </elseif>
- <elseif mode="AND" spell ="Divine Waltz" TPLT="40" >
- <cancelspell />
- <return />
- </elseif>
- <elseif mode="AND" spell ="Healing Waltz" TPLT="20" >
- <cancelspell />
- <return />
- </elseif>
- <elseif spell="Healing Waltz" >
- <return />
- </elseif>
- <action type="equip" when="precast" set="Waltzes" />
- </if>
- <!-- Rule: User-defined proxies (Dancing Chains, Foxfire, Vulcan Shot, Grim Halo) -->
- <if type="Weaponskill" >
- <!-- Rule: User-defined BaseSet (Dancing Chains) -->
- <if spell="Dancing Chains" >
- <if status="Idle" >
- <if MPPLT="90" >
- <equip when="precast" set="IdleRefresh" />
- </if>
- <else>
- <equip when="precast" set="IdleRegen" />
- </else>
- </if>
- <elseif status="engaged" >
- <equip when="precast" set="$engaged" />
- </elseif>
- <cancelspell />
- </if>
- <!-- Rule: Toggle Runes (Ignis/Fire > Gelus/Ice > Flabra/Wind > Tellus/Earth
- > Unda/Water > Sulpor/Thunder > Lux/Light > Tenebrae/Dark)-->
- <elseif spell="Shackled Fists" >
- <if advanced='"$Rune" = "Ignis"' >
- <var cmd="set Rune Gelus" />
- </if>
- <elseif advanced='"$Rune" = "Gelus"' >
- <var cmd="set Rune Flabra" />
- </elseif>
- <elseif advanced='"$Rune" = "Flabra"' >
- <var cmd="set Rune Tellus" />
- </elseif>
- <elseif advanced='"$Rune" = "Tellus"' >
- <var cmd="set Rune Sulpor" />
- </elseif>
- <elseif advanced='"$Rune" = "Sulpor"' >
- <var cmd="set Rune Unda" />
- </elseif>
- <elseif advanced='"$Rune" = "Unda"' >
- <var cmd="set Rune Lux" />
- </elseif>
- <elseif advanced='"$Rune" = "Lux"' >
- <var cmd="set Rune Tenebrae" />
- </elseif>
- <elseif advanced='"$Rune" = "Tenebrae"' >
- <var cmd="set Rune Ignis" />
- </elseif>
- <command>input /echo ~~~Rune Enchantment is now [$Rune]~~~</command>
- <cancelspell />
- <return />
- </elseif>
- <!-- Rule: Toggle Standard / PDT / MDT -->
- <elseif spell="Foxfire">
- <if advanced='"$engaged" = "MDT"'>
- <var cmd="set engaged Standard" />
- </if>
- <elseif advanced='"$engaged" = "Standard"'>
- <var cmd="set engaged PDT" />
- </elseif>
- <else>
- <var cmd="set engaged MDT" />
- </else>
- <if status="engaged">
- <command>wait .3;sc set $engaged; input /echo ~~~Engaged set is now $engaged~~~</command>
- </if>
- <else>
- <command>sc set idleregen; input /echo ~~~Engaged set is now [$engaged]~~~</command>
- </else>
- <cancelspell />
- <return />
- </elseif>
- <!-- Rule: PDT Set (Grim Halo) -->
- <elseif spell="Grim Halo">
- <equip when="precast" set="PDT" />
- <cancelspell />
- <return />
- </elseif>
- <!-- Rule: MDT Set (Vulcan Shot) -->
- <elseif spell="Vulcan Shot">
- <equip when="precast" set="MDT" />
- <cancelspell />
- <return />
- </elseif>
- <!-- Rules: Actual Weapon Skills -->
- <!-- Rule: Weapon Skill TP/distance check -->
- <elseif commandprefix="/ws|/weaponskill" >
- <if mode="OR" TPLT="100" TargetDistanceGT="5.9" >
- <cancelspell />
- <cmd>input /echo WARNING: Target is too far or insufficient TP.</cmd>
- <return />
- </if>
- <else>
- <equip when="precast" set="WS" />
- </else>
- </elseif>
- </if>
- </rules>
- </spellcast>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement