Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" ?>
- <spellcast>
- <config
- RequireVersion="2.18"
- ShowGearSwaps="false"
- Debug="true"
- ShowSpellInfo="false"
- HideErrors="false"
- />
- <variables clear="false">
- <var name="IceStaff">Aquilo's Staff</var>
- <var name="DarkStaff">Pluto's Staff</var>
- <var name="LightStaff">Light Staff</var>
- <var name="ThunderStaff">Indra's Staff +2</var>
- <var name="WaterStaff">Water Staff</var>
- <var name="WindStaff">Wind Staff</var>
- <var name="EarthStaff">Earth Staff</var>
- <var name="FireStaff">Fire Staff</var>
- <var name="DarkObi">0</var>
- <var name="LightObi">0</var>
- <var name="ThunderObi">0</var>
- <var name="IceObi">0</var>
- <var name="FireObi">0</var>
- <var name="WindObi">0</var>
- <var name="WaterObi">0</var>
- <var name="EarthObi">0</var>
- <var name="LightGrip">0</var>
- <var name="DarkGrip">0</var>
- <var name="ThunderGrip">1</var>
- <var name="IceGrip">1</var>
- <var name="FireGrip">0</var>
- <var name="WindGrip">0</var>
- <var name="WaterGrip">0</var>
- <var name="EarthGrip">0</var>
- <var name="Gaiters">0</var>
- <var name="Ring">0</var>
- <var name="CureBot">0</var>
- </variables>
- <sets>
- <group default="yes" name="WHM|Melee">
- <set name="Standard">
- <main>$LightStaff</main>
- <sub>Bugard Leather Strap +1</sub>
- <ammo>Incantor Stone</ammo>
- <head>Cleric's Cap</head>
- <neck>Noetic Torque</neck>
- <lear>Loquacious Earring</lear>
- <rear>Gifted Earring</rear>
- <body>Noble's Tunic</body>
- <hands>Cleric's Mitts</hands>
- <rring>Star Ring</rring>
- <lring>Star Ring</lring>
- <back>Eloquence Cape +1</back>
- <waist>Penitent's Rope</waist>
- <legs>Jet Seraweels</legs>
- <feet>Rostrum Pumps</feet>
- </set>
- <set name="MaxMP" BaseSet="Standard">
- <main>Kirin's Pole</main>
- <sub>Ice Grip</sub>
- <head>Zenith Crown</head>
- <neck>Uggalepih Pendant</neck>
- <lring>Bifrost Ring</lring>
- <rring>Ether Ring</rring>
- </set>
- <set name="Resting" BaseSet="Standard">
- <body>Errant Hpl.</body>
- <main>$DarkStaff</main>
- <sub>Ariesian Grip</sub>
- <legs>Baron's Slops</legs>
- <waist>Austerity Belt</waist>
- <back>Felicitas Cape</back>
- <rear>Antivenom Earring</rear>
- <neck>Eidolon Pendant</neck>
- </set>
- <set name="Haste" BaseSet="Standard">
- </set>
- <set name="WeakenedMinusHP" BaseSet="Standard">
- </set>
- <set name="MinusHP" BaseSet="Standard">
- </set>
- <set name="Melee" BaseSet="Standard">
- <main lock="true" />
- <sub lock="true" />
- <ammo lock="true" />
- <feet>Healer's Duckbills</feet>
- <hands>Healer's Mitts</hands>
- </set>
- <set name="WS" BaseSet="Melee">
- <head>Hlr. Cap</head>
- <hands>Hlr. Mitts</hands>
- </set>
- <set name="Healing" BaseSet="Standard">
- <!--main>$LightStaff</main-->
- <legs>Lore Slops</legs>
- <hands>Augur's Gloves</hands>
- <ammo>Incantor Stone</ammo>
- <rring>Solemn Ring</rring>
- <back>Orison Cape</back>
- <head>Walahra Turban</head>
- </set>
- <set name="DarkMagic" BaseSet="Standard">
- </set>
- <set name="Enhancing" BaseSet="Standard">
- <head>Hlr. Cap</head>
- </set>
- <set name="Banish" BaseSet="Divine">
- <main>$LightStaff</main>
- </set>
- <set name="Divine" BaseSet="Standard">
- <legs>Healer's Pantaln.</legs>
- <main>$WaterStaff</main>
- </set>
- <set name="EnfeeblingBase" BaseSet="Standard">
- <body>Healer's Briault</body>
- </set>
- <set name="Enfeebling-BlackMagic" BaseSet="EnfeeblingBase">
- </set>
- <set name="Enfeebling-WhiteMagic" BaseSet="EnfeeblingBase">
- </set>
- </group>
- </sets>
- <rules>
- <if advanced='"$CureBot"="1"' Spell="Cure">
- <if TargetHPPLT="75" TargetType="Player" TargetHPPGT="0">
- <if TargetHPPLT="50">
- <action type="changespell" spell="Cure V" />
- </if>
- <else>
- <action type="changespell" spell="Cure III" />
- </else>
- <action type="command" when="aftercast">wait .3;cure</action>
- </if>
- <else>
- <action type="cancelspell" />
- <action type="command">wait .3;cure</action>
- <action type="return" />
- </else>
- </if>
- <action type="equip"><rear></rear></action>
- <!--if SpellTarget="<t>" TargetType="MONSTER" NotValidTarget="*Enemy*" ValidTarget="*Self*">
- <action type="changetarget" target="<me>" />
- </if>
- <if MLVLLT="73"> <action type="return" /> </if-->
- <!-- 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>
- <elseif Element="Light"><action type="equip" when="midcast"><waist lock="yes">Korin Obi</waist></action></elseif>
- <elseif Element="Thunder"><action type="equip" when="midcast"><waist lock="yes">Rairin Obi</waist></action></elseif>
- <elseif Element="Ice"><action type="equip" when="midcast"><waist lock="yes">Hyorin Obi</waist></action></elseif>
- <elseif Element="Fire"><action type="equip" when="midcast"><waist lock="yes">Karin Obi</waist></action></elseif>
- <elseif Element="Wind"><action type="equip" when="midcast"><waist lock="yes">Furin Obi</waist></action></elseif>
- <elseif Element="Water"><action type="equip" when="midcast"><waist lock="yes">Suirin Obi</waist></action></elseif>
- <elseif Element="Earth"><action type="equip" when="midcast"><waist lock="yes">Dorin Obi</waist></action></elseif>
- </if>
- <action type="equip" when="AfterCast" set="Standard" />
- <action type="equip" when="Resting" set="Resting" />
- <action type="equip" when="Engaged" set="Melee" />
- <action type="equip" when="Idle" set="Standard" />
- <if Mode="OR" Status="Engaged" Group="*Melee">
- <action type="equip" when="aftercast|idle" set="Melee" />
- <if equipsub="Prudence Rod" NotEquipAmmo="Virtue Stone">
- <action type="addtochat">Equipping Virtue stones</action>
- <action type="equip" when="precast|midcast|aftercast"><ammo lock="true">Virtue Stone</ammo></action>
- </if>
- <action type="equip" when="precast|midcast|aftercast|autoset|idle|resting">
- <main lock="t" />
- <sub lock="t" />
- <range lock="t" />
- <ammo lock="t" />
- </action>
- <if type="WeaponSkill">
- <action type="equip" set="WS" />
- <action type="precastdelay" delay=".4" />
- <if BuffActive="Allied Tags" NotBuffActive="Haste">
- <action type="command" when="aftercast">wait 2;haste me</action>
- </if>
- </if>
- <if MPPLT="65">
- <action type="equip" when="aftercast|idle">
- </action>
- </if>
- </if>
- <action type="equip" when="midcast">
- <main>$%SpellElementStaff</main>
- </action>
- <if Skill="HealingMagic">
- <if MPLT="60">
- <!-- Show Spell Info for cures only when low on MP -->
- <action type="ShowSpellInfo" />
- </if>
- <if Spell="Cure IV">
- <!-- Evil Spell -->
- <action type="ChangeSpell" Spell="Cure V" />
- </if>
- <if NotBuffActive="Light Arts">
- <if Spell="Cure V" MPLT="135">
- <action type="ChangeSpell" Spell="Cure III" />
- </if>
- <if Spell="Cure III" MPLT="46">
- <action type="ChangeSpell" Spell="Cure II" />
- </if>
- <if Spell="Cure II" MPLT="24">
- <action type="CancelSpell" />
- <action type="addtochat" color="56">[ERROR] Not enough MP To cast Cure! ~</action>
- </if>
- </if>
- <else> <!-- Light Arts is Active - -10% MP Cost -->
- <if NotBuffActive="Penury">
- <if Spell="Cure V" MPLT="122">
- <action type="ChangeSpell" Spell="Cure III" />
- </if>
- <if Spell="Cure III" MPLT="42">
- <action type="ChangeSpell" Spell="Cure II" />
- </if>
- <if Spell="Cure II" MPLT="22">
- <action type="CancelSpell" />
- <action type="addtochat" color="56">[ERROR] Not enough MP To cast Cure! ~</action>
- </if>
- </if>
- <else> <!-- Penury is Active - -50% MP Cost -->
- <if Spell="Cure V" MPLT="68">
- <action type="ChangeSpell" Spell="Cure III" />
- </if>
- <if Spell="Cure III" MPLT="23">
- <action type="ChangeSpell" Spell="Cure II" />
- </if>
- <if Spell="Cure II" MPLT="12">
- <action type="CancelSpell" />
- <action type="addtochat" color="56">[ERROR] Not enough MP To cast Cure! ~</action>
- </if>
- </else>
- </else>
- <if NotSpell="*Raise*|*na">
- <action type="MidCastDelay" delay=".8" />
- <action type="Equip" when="Midcast" Set="Healing" />
- <if NotGroup="Melee" NotStatus="Engaged" Advanced='$Ring==1'>
- <if advanced='((string)"%SubJob"=="BLM" AND (float)(%HP)/766 > 0.759) OR ((string)"%SubJob"=="SMN" AND (float)%HP/747 > 0.759) OR ((string)"%SubJob"=="SCH" AND (float)%HP/852 > 0.759) '>
- <if NotBuffActive="Weakness">
- <action type="Equip" when="Precast" Set="MinusHP" />
- <if SubJob="SCH">
- <action type="equip">
- <lring>Ether Ring</lring>
- </action>
- </if>
- </if>
- <else>
- <action type="Equip" when="Precast" Set="WeakenedMinusHP" />
- </else>
- </if>
- </if>
- <elseif Advanced='$Ring != 1'>
- <action type="Equip" when="Midcast" Set="Healing" />
- </elseif>
- </if>
- <else> <!-- *Raise*/*na -->
- <action type="equip" set="Standard" />
- </else>
- </if> <!-- end healing magic-->
- <else>
- <if Skill="EnhancingMagic">
- <action type="equip" when="midcast" set="Enhancing" />
- <if Spell="Bar*">
- <action type="MidCastDelay" delay="0" />
- <action type="Equip" when="midcast">
- <body>Blessed Briault</body>
- </action>
- </if>
- <elseif Spell="Teleport*|Recall*">
- <action type="command">input /p Teleporting to - %spell - </action>
- <action type="command" when="aftercast">input /p And were off to - %spell -! </action>
- </elseif>
- </if>
- <elseif Skill="Ninjutsu">
- <action type="equip" when="midcast" set="Haste" />
- <if spell="Utsusemi: Ichi" BuffActive="Copy Image">
- <action type="midcastdelay" delay="3.0" />
- <action type="Command" when="midcast">cancel 66</action>
- </if>
- </elseif>
- <elseif Skill="DarkMagic">
- <action type="Equip" when="Midcast" Set="DarkMagic" />
- </elseif>
- <elseif Skill="EnfeeblingMagic">
- <action type="equip" when="midcast" set="Enfeebling-%Type" />
- </elseif>
- <elseif Skill="DivineMagic">
- <action type="Equip" when="Midcast" Set="Divine" />
- <if spell="Banish*|Holy">
- <action type="Equip" when="Midcast" Set="Banish" />
- </if>
- </elseif>
- <if Advanced='"$%SpellElementGrip" == "1"'>
- <action type="equip" when="midcast">
- <sub lock="true">%SpellElement Grip</sub>
- </action>
- </if>
- </else>
- <if Spell="Cure*|Cura*">
- <action type="Equip" when="Precast"><feet lock="true"></feet></action>
- </if>
- <elseif CastTimeGT="1.5">
- <action type="Equip" when="Precast"><feet lock="true"></feet></action>
- </elseif>
- <action type="equip" when="precast"><rear lock="t"></rear></action>
- <if Spell="Repose">
- <action type="command" when="aftercast">spellcast var inc sleepid;wait 45;input /p [$sleepid:%spell] <%Target> Wearing off in 45s</action>
- <action type="command" when="aftercast">wait 75;input /p [$sleepid:%spell] <%Target>Wearing off in 15s</action>
- <action type="command" when="aftercast">wait 85;input /p [$sleepid:%spell] <%Target>Wearing off in 5s;spellcast var dec sleepid;</action>
- </if>
- <elseif Spell="Sleep*">
- <action type="command" when="aftercast">spellcast var inc sleepid;wait 45;input /p [$sleepid:%spell] <%Target>Wearing off in 15s</action>
- <action type="command" when="aftercast">wait 55;input /p [$sleepid:%spell] <%Target>Wearing off in 5s;spellcast var dec sleepid;</action>
- </elseif>
- <if Spell="Tractor|Raise*">
- <if Area="Dynamis*|Hazhalm*">
- <action type="command">input /l Casting %spell on %spelltarget</action>
- </if>
- <else>
- <action type="command">input /p Casting %spell on %spelltarget</action>
- </else>
- </if>
- <!-- utility: if targetting a monster, but casting a spell that can not be cast on monsters, then cast on self (buffs). -->
- <if SpellTargetType="MONSTER" NotValidTarget="*Enemy*" ValidTarget="*Self*">
- <action type="changetarget" target="<me>" />
- </if>
- <if SpellTargetType="NONE" ValidTarget="*Self*">
- <action type="changetarget" target="<me>" />
- </if>
- <if Spell="Sneak" BuffActive="Sneak" advanced='"%SpellTargetName"="%PlayerName"'>
- <action type="command" when="midcast">cancel 71</action>
- <action type="midcastdelay" delay="2.3" />
- </if>
- <elseif Spell="Stoneskin" BuffActive="Stoneskin">
- <action type="command" when="midcast">cancel 37</action>
- <action type="midcastdelay" delay="5.9" />
- </elseif>
- <elseif Spell="Blink" BuffActive="Blink">
- <action type="command" when="midcast">cancel 36</action>
- <action type="midcastdelay" delay="5.2" />
- </elseif>
- <if Advanced="$Gaiters=1">
- <if NotStatus="Engaged">
- <action type="equip" when="aftercast">
- </action>
- </if>
- <else>
- <action type="equip" when="Idle">
- </action>
- </else>
- </if>
- </rules>
- </spellcast>
Add Comment
Please, Sign In to add comment