Drk Spellcast Help

Language: JP EN DE FR
New Items
2023-11-19
users online
Forum » FFXI » General » Drk Spellcast Help
Drk Spellcast Help
 Sylph.Ballzack
Offline
Server: Sylph
Game: FFXI
user: Achelies
Posts: 65
By Sylph.Ballzack 2011-04-05 06:26:08
Link | Quote | Reply
 
Needed some help with this Drk Spellcast. It seems fine but it finds alot of erros in the sc and quite honestly Im too nubbish to know how to fix it so was wondering someone could give me a hand. 'Disclaimer' I dont not own this sc and I realize I do not have a relic but would like to make it work for my Drk. Thanks.


<?xml version="1.0" ?>

<!-- This template requires the use of of AutoExec in order to trigger a gear swap to standard TP gear when Aftermath wears off while engaged, as I use two different gear sets depending upon if the buff is active or not. -->

<spellcast>
<config RequireVersion="2.18" />
<variables>
<!-- Sleep timers, announces to echo when sleep is wearing off. Set to 0 to not use. -->
<var name="SleepTimers">1</var>
<var name="DarkObi">1</var>
</variables>
<sets>
<group name="Main" default="yes">
<set name="Standard">
<main>Apocalypse</main>
<sub>Pole Grip</sub>
<ammo>White Tathlum</ammo>
<head>Bale Burgeonet +2</head>
<neck>Bale Choker</neck>
<lear>Ethereal Earring</lear>
<rear>Bale Earring</rear>
<body>Grim Cuirass +1</body>
<hands>Garden Bangles</hands>
<lring>Dark Ring</lring>
<rring>Dark Ring</rring>
<back>Shadow Mantle</back>
<waist>Goading Belt</waist>
<legs>Blood Cuisses</legs>
<feet>Bale Sollerets +2</feet>
</set>
<set name="Melee">
<main>Apocalypse</main>
<sub>Pole Grip</sub>
<ammo>White Tathlum</ammo>
<head>Bale Burgeonet +2</head>
<neck>Bale Choker</neck>
<lear>Brutal Earring</lear>
<rear>Bale Earring</rear>
<body>Bale Cuirass +2</body>
<hands>Bale Gauntlets +2</hands>
<lring>Hoard Ring</lring>
<rring>Rajas Ring</rring>
<back>Tactical Mantle</back>
<waist>Goading Belt</waist>
<legs>Homam Cosciales</legs>
<feet>Ace's Sabatons</feet>
</set>
<set name="MeleeAftermath" BaseSet="Melee">
<ammo>White Tathlum</ammo>
<head>Bale Burgeonet +2</head>
<neck>Bale Choker</neck>
<lear>Brutal Earring</lear>
<rear>Bale Earring</rear>
<body>Bale Cuirass +2</body>
<hands>Bale Gauntlets +2</hands>
<lring>Hoard Ring</lring>
<rring>Rajas Ring</rring>
<back>Tactical Mantle</back>
<waist>Goading Belt</waist>
<legs>Bale Flanchard +2</legs>
<feet>Ace's Sabatons</feet>
</set>
<set name="Souleater" BaseSet="Melee">
<ammo>White Tathlum</ammo>
<head>Bale Burgeonet +2</head>
<neck>Bale Choker</neck>
<lear>Brutal Earring</lear>
<rear>Bale Earring</rear>
<body>Gloom Breastplate</body>
<hands>Bale Gauntlets +2</hands>
<lring>Hoard Ring</lring>
<rring>Rajas Ring</rring>
<back>Tactical Mantle</back>
<waist>Goading Belt</waist>
<legs>Homam Cosciales</legs>
<feet>Ace's Sabatons</feet>
</set>
<set name="SouleaterAftermath" BaseSet="Melee">
<ammo>White Tathlum</ammo>
<head>Bale Burgeonet +2</head>
<neck>Bale Choker</neck>
<lear>Brutal Earring</lear>
<rear>Bale Earring</rear>
<body>Gloom Breastplate</body>
<hands>Bale Gauntlets +2</hands>
<lring>Hoard Ring</lring>
<rring>Rajas Ring</rring>
<back>Tactical Mantle</back>
<waist>Goading Belt</waist>
<legs>Bale Flanchard +2</legs>
<feet>Ace's Sabatons</feet>
</set>
<set name="WSAres" BaseSet="Melee">
<ammo>Bomb Core</ammo>
<head>Varangian Helm</head>
<neck>Soil Gorget</neck>
<lear>Brutal Earring</lear>
<rear>Bale Earring</rear>
<body>Grim Cuirass +1</body>
<hands>Heafoc Mitts</hands>
<lring>Spiral Ring</lring>
<rring>Rajas Ring</rring>
<back>Atheling Mantle</back>
<waist>Soil Belt</waist>
<legs>Bale Flanchard +2</legs>
<feet>Bale Sollerets +2</feet>
</set>
<set name="WSHecatomb" BaseSet="Melee">
<ammo>Bomb Core</ammo>
<head>Varangian Helm</head>
<neck>Snow Gorget</neck>
<lear>Brutal Earring</lear>
<rear>Bale Earring</rear>
<body>Grim Cuirass +1</body>
<hands>Heafoc Mitts</hands>
<lring>Spiral Ring</lring>
<rring>Rajas Ring</rring>
<back>Atheling Mantle</back>
<waist>Sentry Belt</waist>
<legs>Bale Flanchard +2</legs>
<feet>Bale Sollerets +2</feet>
</set>
<set name="EnfeeblingMagic">
<head>Homam Zucchetto</head>
<neck>Bale Choker</neck>
<lear>Loquacious Earring</lear>
<rear>Abyssal Earring</rear>
<body>Chaos Cuirass</body>
<hands>Master Caster's Bracelets</hands>
<lring>Balrahn's Ring</lring>
<rring>Omega Ring</rring>
<back>Abyss Cape</back>
<waist>Ocean Rope</waist>
<legs>Jet Seraweels</legs>
<feet>Bale Sollerets +2</feet>
</set>
<set name="DarkMagic">
<ammo>Phantom Tathlum</ammo>
<head>Chaos Burgeonet +1</head>
<neck>Dark Torque</neck>
<lear>Dark Earring</lear>
<rear>Abyssal Earring</rear>
<body>Demon's Harness</body>
<hands>Blood Finger Gauntlets</hands>
<lring>Spiral Ring</lring>
<rring>Omega Ring</rring>
<back>Abyss Cape</back>
<waist>Anrin Obi</waist>
<legs>Bale Flanchard +2</legs>
<feet>Bale Sollerets +2</feet>
</set>
<set name="MagReduction">
<ammo>Phantom Tathlum</ammo>
<head>Coral Visor +1</head>
<neck>Twilight Torque</neck>
<lear>Ethereal Earring</lear>
<rear>Merman's Earring</rear>
<body>Coral Scale Mail +1</body>
<hands>Coral Finger Gauntlets +1</hands>
<lring>Dark Ring</lring>
<rring>Dark Ring</rring>
<back>Salvus Mantle</back>
<waist>Goading Belt</waist>
<legs>Coral Cuisses +1</legs>
<feet>Coral Greaves +1</feet>
</set>
<set name="PhysReduction">
<ammo>White Tathlum</ammo>
<head>Darksteel Cap +1</head>
<neck>Twilight Torque</neck>
<lear>Brutal Earring</lear>
<rear>Ethereal Earring</rear>
<body>Grim Cuirass +1</body>
<hands>Heavy Gauntlets</hands>
<lring>Jelly Ring</lring>
<rring>Dark Ring</rring>
<back>Metallon Mantle</back>
<waist>Goading Belt</waist>
<legs>Blitzer Poleyn</legs>
<feet>Ruffian Leggings</feet>
</set>
<set name="ElementalMagic">
<ammo>Phantom Tathlum</ammo>
<head>Demon Helm +1</head>
<neck>Uggalepih Pendant</neck>
<lear>Moldavite Earring</lear>
<rear>Abyssal Earring</rear>
<body>Abyss Cuirass</body>
<hands>Abyss Gauntlets +1</hands>
<lring>Spiral Ring</lring>
<rring>Omega Ring</rring>
<back>Abyss Cape</back>
<waist>Ocean Rope</waist>
<legs>Jet Seraweels</legs>
<feet>Bale Sollerets +2</feet>
</set>
<set name="Stun" BaseSet="DarkMagic">
<head lock>Bale Burgeonet +2</head>
<neck lock>Dark Torque</neck>
<lear lock>Loquacious Earring</lear>
<rear lock>Abyssal Earring</rear>
<body lock>Demon's Harness</body>
<hands lock>Bale Gauntlets +2</hands>
<lring lock>Blitz Ring</lring>
<rring lock>Omega Ring</rring>
<back lock>Abyss Cape</back>
<waist lock>Goading Belt</waist>
<legs lock>Homam Cosciales</legs>
<feet lock>Ace's Sabatons</feet>
</set>
<set name="DreadSpikes">
<ammo>Happy Egg</ammo>
<head lock>Saurian Helm</head>
<neck lock>Ritter Gorget</neck>
<lear lock>Bloodgem Earring</lear>
<rear lock>Cassie Earring</rear>
<body lock>Bale Cuirass +2</body>
<hands lock>Wave Gages</hands>
<lring lock>Omega Ring</lring>
<rring lock>Bomb Queen Ring</rring>
<back lock>Aenotherus mantle</back>
<waist lock>Ocean Sash</waist>
<legs lock>Homam Cosciales</legs>
<feet lock>Marine M Boots</feet>
</set>
</group>
</sets>
<rules>
<!-- utility: if you have no target currently, and casting a spell that can be cast on self, then cast on self (buffs). -->
<if ValidTargets="*Self*" TargetType="None" SpellTarget="<t>">
<action type="ChangeTarget" target="<me>" />
</if>
<!-- utility: if targetting a monster, but casting a spell that can not be cast on monsters, then cast on self (buffs). -->
<if SpellTarget="<t>" TargetType="MONSTER" NotValidTarget="*Enemy*" ValidTarget="*Self*">
<action type="changetarget" target="<me>" />
</if>
<!-- dont parse this file if under level 73... ie capped areas -->
<if MLVLLT="73"> <action type="return" /> </if>
<!-- set of gear to equip when finished casting a spell or coming back from resting mp (idle set) -->
<action type="equip" when="Idle" set="Standard" />

<if status="engaged">
<if BuffActive="Aftermath">
<if BuffActive="Souleater">
<action type="equip" when="engaged" set="SouleaterAftermath" />
</if>
<else>
<action type="equip" when="engaged" set="MeleeAftermath" />
</else>
</if>
<else>
<if BuffActive="Souleater">
<action type="equip" when="engaged" set="Souleater" />
</if>
<else>
<action type="equip" when="engaged" set="Melee" />
</else>
</else>
</if>

<rule Spell="Stun">
<action type="equip" set="Stun" when="precast" />
<!-- Drop Hasso during Stun to reduce recast time and reapplies Hasso. Requires Cancel plugin. -->
<!-- Hasso is in a text file as opposed to just a command because it requires an additional 1.5s delay to use the ability, but I want the gear swapped back earlier. -->
<-- <if BuffActive="Hasso">
<action type="command" when="precast">cancel 353</action>
<action type="Command" when="aftercast">exec hasso.txt</action>
</if> -->
<if status="engaged">
<if BuffActive="Aftermath">
<if BuffActive="Souleater">
<action type="equip" when="done" set="SouleaterAftermath" />
</if>
<else>
<action type="equip" when="done" set="MeleeAftermath" />
</else>
</if>
<else>
<if BuffActive="Souleater">
<action type="equip" when="done" set="Souleater" />
</if>
<else>
<action type="equip" when="done" set="Melee" />
</else>
</else>
</if>
<if status="idle">
<action type="equip" when="done" set="Standard" />
</if>
</rule>

<rule Spell="Dread Spikes">
<action type="equip" set="DreadSpikes" when="precast" />
<if mode="AND" TimeGT="5.59" TimeLT="18.00">
<action type="equip" when="midcast"><ammo>Fenrir's Stone</ammo></action>
</if>
<!-- <action type="equip" when="aftercast"> -->
<if status="engaged">
<if BuffActive="Aftermath">
<if BuffActive="Souleater">
<action type="equip" when="done" set="SouleaterAftermath" />
</if>
<else>
<action type="equip" when="done" set="MeleeAftermath" />
</else>
</if>
<else>
<if BuffActive="Souleater">
<action type="equip" when="done" set="Souleater" />
</if>
<else>
<action type="equip" when="done" set="Melee" />
</else>
</else>
</if>
<if status="idle">
<action type="equip" when="done" set="Standard" />
</if>
</rule>

<rule Skill="DarkMagic">
<if mode="AND" spellNOT="Stun" spellNOT="Dread Spikes">
<action type="equip" set="DarkMagic" when="precast" />
<if Spell="Absorb-ACC|Absorb-STR|Absorb-DEX|Absorb-VIT|Absorb-AGI|Absorb-INT|Absorb-MND|Absorb-CHR">
<action when="midcast" type="command">input /equip Hands "Vicious Mufflers"</action>
</if>
<if Advanced='("%SpellElement" = "%WeatherElement" OR "%SpellElement" = "%DayElement") AND "$%SpellElementObi" = "1"'>
<if Element="Dark">
<action type="equip" when="midcast"><waist lock="yes">Anrin Obi</waist></action>
</if>
</if>
<if status="engaged">
<if BuffActive="Aftermath">
<if BuffActive="Souleater">
<action type="equip" when="done" set="SouleaterAftermath" />
</if>
<else>
<action type="equip" when="done" set="MeleeAftermath" />
</else>
</if>
<else>
<if BuffActive="Souleater">
<action type="equip" when="done" set="Souleater" />
</if>
<else>
<action type="equip" when="done" set="Melee" />
</else>
</else>
</if>
<if status="idle">
<action type="equip" when="done" set="Standard" />
</if>
</if>
</rule>

<rule Skill="EnfeeblingMagic">
<action type="equip" when="precast" Set="EnfeeblingMagic" />
<if Advanced='("%SpellElement" = "%WeatherElement" OR "%SpellElement" = "%DayElement") AND "$%SpellElementObi" = "1"'>
<if Element="Dark">
<action type="equip" when="midcast"><waist lock="yes">Anrin Obi</waist></action>
</if>
</if>
<if status="engaged">
<if BuffActive="Aftermath">
<if BuffActive="Souleater">
<action type="equip" when="done" set="SouleaterAftermath" />
</if>
<else>
<action type="equip" when="done" set="MeleeAftermath" />
</else>
</if>
<else>
<if BuffActive="Souleater">
<action type="equip" when="done" set="Souleater" />
</if>
<else>
<action type="equip" when="done" set="Melee" />
</else>
</else>
</if>
<if status="idle">
<action type="equip" when="done" set="Standard" />
</if>
</rule>

<if Spell="Souleater">
<action type="equip" Set="Souleater" />
</if>

<rule Skill="ElementalMagic">
<action type="equip" when="precast" Set="ElementalMagic" />
<if status="engaged">
<if BuffActive="Aftermath">
<if BuffActive="Souleater">
<action type="equip" when="done" set="SouleaterAftermath" />
</if>
<else>
<action type="equip" when="done" set="MeleeAftermath" />
</else>
</if>
<else>
<if BuffActive="Souleater">
<action type="equip" when="done" set="Souleater" />
</if>
<else>
<action type="equip" when="done" set="Melee" />
</else>
</else>
</if>
<if status="idle">
<action type="equip" when="done" set="Standard" />
</if>
</rule>

<rule CommandPrefix="/weaponskill">
<if Spell="Catastrophe">
<action type="Equip" when="Precast" set="WSAres" />
<action when="done" type="command">input /ma "Fire V" Lorax</action>
</if>
<else>
<action type="Equip" when="Precast" set="WSHecatomb" />
<if BuffActive="Aftermath">
<action type="Equip" when="done" set="MeleeAftermath" />
</if>
<else>
<action type="Equip" when="done" set="Melee" />
</else>
</else>
</rule>

<!-- Dummy Spell for AutoExec to fire off in order to switch to melee gear from aftermath melee gear when Aftermath wears off while in combat. -->

<if spell="Water V">
<if status="engaged">
<if BuffActive="Souleater">
<action type="equip" when="precast" set="Souleater" />
</if>
<else>
<action type="equip" when="precast" set="Melee" />
</else>
</if>
<action type="cancelspell"/>
<action type="return"/>
</if>

<!-- Dummy Spell for after Catastrophe, since it will check for the presence of aftermath before weaponskill executes otherwise. -->

<if spell="Fire V">
<if status="engaged">
<if BuffActive="Aftermath">
<if BuffActive="Souleater">
<action type="equip" when="precast" set="SouleaterAftermath" />
</if>
<else>
<action type="equip" when="precast" set="MeleeAftermath" />
</else>
</if>
<else>
<if BuffActive="Souleater">
<action type="equip" when="precast" set="Souleater" />
</if>
<else>
<action type="equip" when="precast" set="Melee" />
</else>
</else>
<action type="cancelspell"/>
<action type="return"/>
</if>

<!-- Handle Elemental Obi's -->
<!--
<if Advanced='("%SpellElement" = "%WeatherElement" OR "%SpellElement" = "%DayElement") AND "$%SpellElementObi" = "1"'>
<if Element="Dark">
<action type="equip" when="midcast"><waist lock="yes">Anrin Obi</waist></action>
</if>
</if>
-->
<!-- Timers for when sleep is wearing off. -->

<if advanced='"$SleepTimers"="1"'>
<if Spell="Sleep II">
<action type="command" when="aftercast">spellcast var inc sleepid;wait 45;input /echo [$sleepid:%spell] <%target> off in 45sec</action>
<action type="command" when="aftercast">wait 75;input /echo [$sleepid:%spell] <%target> Wearing off in 15sec</action>
<action type="command" when="aftercast">wait 85;input /echo [$sleepid:%spell] <%target> Wearing off in 5sec;spellcast var dec sleepid;</action>
</if>
<elseif Spell="Sleep">
<action type="command" when="aftercast">spellcast var inc sleepid;wait 30;input /echo [$sleepid:%spell] <%target> Wearing off in 30sec</action>
<action type="command" when="aftercast">wait 45;input /echo [$sleepid:%spell] <%target> Wearing off in 15sec;spellcast var dec sleepid;</action>
<action type="command" when="aftercast">wait 55;input /echo [$sleepid:%spell] <%target> Wearing off in 5sec;spellcast var dec sleepid;</action>
</elseif>
</if>


</rules>
</spellcast>
Log in to post.