Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" ?>
- <spellcast xmlns:xi="http://www.w3.org/2001/XInclude">
- <config
- HideErrors="false"
- ShowGearSwaps="false"
- Debug="false"
- ShowSpellInfo="false"
- />
- <!-- R3G1STRY's Ragnarok/Apocalypse DRK XML template v1.3.1
- AutoExec Data needed for this file:
- <autoexec>
- <register event="losebuff_weakness|gainbuff_aftermath|losebuff_aftermath|losebuff_embrava|gainbuff_embrava|losebuff_last resort|gainbuff_last resort" silent="true">input /magic "Dancing Chains"</register>
- </autoexec>
- MUST CALL THE AUTOEXEC FILE DRK_AutoExec.xml
- Registry_Include.xml is needed to use this file. You can find it at http://pastebin.com/u/R3G1STRY. -->
- <!-- CHANGELOG:
- * 9/21/12: Got rid of multiple toggles, now TP gear changes automatically depending on the
- situation. You still have to toggle accuracy sets and Rancor Collar.
- * 10/15/12: Registry_Include.xml now needed to use this file. -->
- <!-- RANDOM NOTES:
- * I only have Ragnarok, so I'm not 100% sure Apoc rules are working as intended, but I'm told they are from
- other people who have used this file. If not, please contact me with the details either through FFXIAH
- or Guildwork. I am currently under the name Registry on the Odin server. -->
- <!-- A QUICK GUIDE TO TOGGLES AND HOW THEY WORK:
- * Certain commands will toggle certain gearsets. When you use a toggle it will continue to put that set
- on after any action. For example... if you use '/magic "Barbed Crescent"' you will toggle to your MDT
- set. If you then use a weaponskill, it will put on that weaponskill's gear. After the weaponskill is
- finished it will put on the MDT set again. To toggle to the current TP set you should be in use the
- macro '/magic "Barbed Crescent"' again.
- * Below is a list of macros you're going to want to have. Some toggles are handled with abilities while
- others are handled with classtriggers. How the macro should look, line by line, is shown. -->
- <!-- MDT macro:
- /magic "Aegis Schism"
- Empty
- Empty
- Empty
- Empty
- Empty
- -->
- <!-- PDT macro:
- /magic "Barbed Crescent" <t>
- Empty
- Empty
- Empty
- Empty
- Empty
- -->
- <!-- Reset macro (Also used as primary AutoExec trigger, if for some reason your
- gear does not properly swap, press this to go back/change to your proper set):
- /magic "Dancing Chains"
- Empty
- Empty
- Empty
- Empty
- Empty
- -->
- <variables clear="true">
- <!-- Used to set current TP Set, do not change -->
- <var name="DD">None</var>
- <var name="Melee">None</var>
- <!-- Used to set PDT/MDT Sets, do not change -->
- <var name="Armor">None</var>
- <!-- Used to load Autoexec file, do not change -->
- <var name="AutoExecRan">No</var>
- </variables>
- <sets>
- <group default="yes" name="Normal">
- <!-- Empty Set, DO NOT alter this. -->
- <set Name="None"></set>
- <!-- Ragnarok TP Sets -->
- <set name="Rag-SJSAM">
- </set>
- <set name="Rag-Embrava-LR-SJSAM">
- </set>
- <set name="Rag-Embrava-SJSAM">
- </set>
- <set name="Rag-LR-SJSAM">
- </set>
- <set name="Rag-SJWAR">
- </set>
- <set name="Rag-Embrava-LR-SJWAR">
- </set>
- <set name="Rag-Embrava-SJWAR">
- </set>
- <set name="Rag-LR-SJWAR">
- </set>
- <set name="Rag-Voidwatch-SJSAM">
- </set>
- <set name="Rag-Voidwatch-Embrava-LR-SJSAM">
- </set>
- <set name="Rag-Voidwatch-Embrava-SJSAM">
- </set>
- <set name="Rag-Voidwatch-LR-SJSAM">
- </set>
- <set name="Rag-Voidwatch-SJWAR">
- </set>
- <set name="Rag-Voidwatch-Embrava-LR-SJWAR">
- </set>
- <set name="Rag-Voidwatch-Embrava-SJWAR">
- </set>
- <set name="Rag-Voidwatch-LR-SJWAR">
- </set>
- <!-- Apocalypse TP Sets -->
- <set name="Apoc-SJSAM">
- </set>
- <set name="Apoc-AM-SJSAM">
- </set>
- <set name="Apoc-Embrava-SJSAM">
- </set>
- <set name="Apoc-LR-SJSAM">
- </set>
- <set name="Apoc-AM-Embrava-SJSAM">
- </set>
- <set name="Apoc-AM-LR-SJSAM">
- </set>
- <set name="Apoc-LR-Embrava-SJSAM">
- </set>
- <set name="Apoc-AM-Embrava-LR-SJSAM">
- </set>
- <set name="Apoc-SJWAR">
- </set>
- <set name="Apoc-AM-SJWAR">
- </set>
- <set name="Apoc-Embrava-SJWAR">
- </set>
- <set name="Apoc-LR-SJWAR">
- </set>
- <set name="Apoc-AM-Embrava-SJWAR">
- </set>
- <set name="Apoc-AM-LR-SJWAR">
- </set>
- <set name="Apoc-Embrava-LR-SJWAR">
- </set>
- <set name="Apoc-AM-Embrava-LR-SJWAR">
- </set>
- <set name="Apoc-Voidwatch-SJWAR">
- </set>
- <set name="Apoc-Voidwatch-AM-SJWAR">
- </set>
- <set name="Apoc-Voidwatch-Embrava-SJWAR">
- </set>
- <set name="Apoc-Voidwatch-LR-SJWAR">
- </set>
- <set name="Apoc-Voidwatch-AM-Embrava-SJWAR">
- </set>
- <set name="Apoc-Voidwatch-AM-LR-SJWAR">
- </set>
- <set name="Apoc-Voidwatch-Embrava-LR-SJWAR">
- </set>
- <set name="Apoc-Voidwatch-AM-Embrava-LR-SJWAR">
- </set>
- <set name="Apoc-Voidwatch-SJSAM">
- </set>
- <set name="Apoc-Voidwatch-AM-SJSAM">
- </set>
- <set name="Apoc-Voidwatch-Embrava-SJSAM">
- </set>
- <set name="Apoc-Voidwatch-LR-SJSAM">
- </set>
- <set name="Apoc-Voidwatch-AM-Embrava-SJSAM">
- </set>
- <set name="Apoc-Voidwatch-AM-LR-SJSAM">
- </set>
- <set name="Apoc-Voidwatch-Embrava-LR-SJSAM">
- </set>
- <set name="Apoc-Voidwatch-AM-Embrava-LR-SJSAM">
- </set>
- <!-- Idle Set -->
- <set name="Idle">
- </set>
- <!-- Just put movement gear here -->
- <set name="Movement">
- </set>
- <!-- PDT Set -->
- <set name="PDT" >
- </set>
- <!-- MDT Set -->
- <set name="MDT">
- </set>
- <!-- Twilight set, mainly used for reference. DO NOT change -->
- <set name="Twilight-Set">
- <head lock="true">Twilight Helm</head>
- <body lock="true">Twilight Mail</body>
- </set>
- <!-- Resolution Set -->
- <set name="Resolution">
- </set>
- <!-- Entropy Set -->
- <set name="Entropy">
- </set>
- <!-- Catastrophe Set -->
- <set name="Catastrophe">
- </set>
- <!-- Utsu Ni Set, use full Haste -->
- <set name="Ni">
- </set>
- <!-- Utsu Ichi Set, use SID/Fastcast -->
- <set name="Ichi">
- </set>
- <!-- Fastcast Set, will only be used during precast -->
- <set name="Fastcast">
- </set>
- <!-- Enfeebling skill gear -->
- <set name="Enfeebles">
- </set>
- <!-- Stun set -->
- <set name="Stun">
- </set>
- <!-- Put full skill here, rules will put on Bale Body +2 for Dread Spikes. -->
- <set name="DarkMagic">
- </set>
- <!-- Drain/Aspir Set -->
- <set name="Drain/Aspir">
- </set>
- <!-- Absorbs Set -->
- <set name="Absorbs">
- </set>
- <!-- Dread Spikes set -->
- <set name="DreadSpikes">
- </set>
- </group>
- </sets>
- <rules>
- <!-- Runs AutoExec File automatically -->
- <if advanced='"$AutoExecRan" = "No"'>
- <addtochat>Loading AutoExec File</addtochat>
- <command>wait 0.5;input //AutoExec Load DRK_Autoexec.xml</command>
- <var cmd="set AutoExecRan Yes" />
- </if>
- <!-- Dancing Chains is the primary AutoExec trigger, it can also be used
- as a trigger to force your gear to swap to the appropriate idle/engaged set
- if your gear doesn't swap properly in a given situation. -->
- <if spell="Dancing Chains">
- <!-- Sets Variables -->
- <xi:include href="Registry_Include.xml" xpointer="//include[@name='Set_DRK_Variables']/*" />
- <if status="engaged">
- <equip set="$Melee|$Armor" />
- </if>
- <elseif advanced='"%status" != "zoning|dead"'>
- <equip set="Idle|$Armor|Movement" />
- </elseif>
- <cancelspell />
- <return />
- </if>
- <!-- PDT/MDT triggers. Trigger once to equip the set over
- your current engaged or idle equip, then again to remove it. -->
- <elseif spell="Barbed Crescent|Aegis Schism">
- <if spell="Barbed Crescent">
- <if advanced='"$Armor" = "PDT"'>
- <var cmd="set Armor None" />
- <addtochat>PDT - OFF</addtochat>
- </if>
- <else>
- <var cmd="set Armor PDT" />
- <addtochat>PDT - ON</addtochat>
- </else>
- </if>
- <else>
- <if advanced='"$Armor" = "MDT"'>
- <var cmd="set Armor None" />
- <addtochat>MDT - OFF</addtochat>
- </if>
- <else>
- <var cmd="set Armor MDT" />
- <addtochat>MDT - ON</addtochat>
- </else>
- </else>
- <if status="engaged">
- <equip set="$Melee|$Armor" />
- </if>
- <elseif advanced='"%status" != "zoning|dead"'>
- <equip set="Idle|$Armor|Movement" />
- </elseif>
- <cancelspell />
- <return />
- </elseif>
- <!-- Triggers Dancing Chains so sets change accordingly -->
- <if advanced='"%status" != "zoning|dead"'>
- <cmd when="engaged|idle|aftercast">Dancing Chains</cmd>
- </if>
- <!-- Locks Twilight Helm/Mail when weakened, will be skipped over
- if you set the variable to no. -->
- <if advanced='"$TwilightLock" = "yes"'>
- <if notbuffactive="Visitant">
- <if buffactive="Weakness">
- <equip when="all" set="Twilight" />
- </if>
- </if>
- </if>
- <!-- Autoset rules, failsafe for Dancing Chains triggers -->
- <if spell="autoset">
- <equip when="engaged" set="$Melee|$Armor" />
- <equip when="Idle" set="Idle|$Armor|Movement" />
- </if>
- <!-- Aftercast Rules, failsafe for Dancing Chains triggers -->
- <if status="Engaged">
- <equip when="aftercast" set="$Melee|$Armor" />
- </if>
- <elseif status="idle">
- <equip when="aftercast" set="Idle|$Armor|Movement" />
- </elseif>
- <!-- Weaponskill rules -->
- <if commandprefix="/weaponskill|/ws">
- <precastdelay delay="0.2" />
- <if mode="OR" tplt="100" buffactive="Amnesia|Stun|Terror" notstatus="Engaged">
- <if notstatus="Engaged">
- <addtochat>Not engaged.</addtochat>
- </if>
- <elseif tplt="100">
- <addtochat>Not enough TP.</addtochat>
- </elseif>
- <elseif buffactive="Amnesia">
- <addtochat>Amnesia.</addtochat>
- </elseif>
- <elseif buffactive="Stun">
- <addtochat>Stun</addtochat>
- </elseif>
- <elseif buffactive="Terror">
- <addtochat>Terror.</addtochat>
- </elseif>
- <if status="engaged">
- <equip set="$Melee|$Armor" />
- </if>
- <elseif advanced='"%status" != "zoning|dead"'>
- <equip set="Idle|$Armor|Movement" />
- </elseif>
- <action type="cancelspell" />
- <action type="return" />
- </if>
- <elseif spell="Resolution">
- <equip when="precast" set="Resolution" />
- <if advanced='"%DayElement" = "Earth" OR "%DayElement" = "Thunder" OR "%DayElement" = "Wind"'>
- <equip when="precast">
- <head lock="yes">Mekira-oto +1</head>
- </equip>
- </if>
- </elseif>
- <elseif spell="Entropy">
- <equip when="precast" set="Entropy" />
- <if advanced='"%DayElement" = "Earth" OR "%DayElement" = "Water" OR "%DayElement" = "Dark"'>
- <equip when="precast">
- <head lock="yes">Mekira-oto +1</head>
- </equip>
- </if>
- </elseif>
- <elseif spell="Catastrophe">
- <equip when="precast" set="Catastrophe" />
- <if advanced='"%DayElement" = "Earth" OR "%DayElement" = "Dark"'>
- <equip when="precast">
- <head lock="yes">Mekira-oto +1</head>
- </equip>
- </if>
- </elseif>
- </if>
- <!-- Spell rules -->
- <!-- Ninjutsu rules -->
- <xi:include href="Registry_Include.xml" xpointer="//include[@name='Non_Ninja_Ninjutsu_Rules']/*" />
- <if spell="Absorb*|Drain*|Aspir*|Stun*|Endark">
- <precastdelay delay="0.2" />
- <action type="equip" when="precast" set="Fastcast" />
- <action type="equip" when="midcast" set="DarkMagic" />
- <if spell="Drain*|Aspir*">
- <equip when="midcast" set="Drain/Aspir" />
- </if>
- <if spell="Absorb*">
- <equip when="midcast" set="Absorbs" />
- </if>
- </if>
- <if spell="Dread Spikes">
- <equip when="precast|midcast" set="DreadSpikes" />
- </if>
- <if spell="Sleep*|Blind|Bind|Poison*|Break">
- <precastdelay delay="0.2" />
- <action type="equip" when="PreCast" set="Fastcast" />
- <action type="equip" when="midcast" set="Enfeebles" />
- </if>
- <if spell="Stun">
- <equip when="precast" set="Stun" />
- </if>
- <!-- JA rules -->
- <if spell="Spectral Jig">
- <precastdelay delay="0.2" />
- <action type="command" when="precast">cancel 71</action>
- </if>
- <if spell="Nether Void">
- <equip when="precast">
- <legs lock="yes">Bale Flanchard +2</legs>
- </equip>
- </if>
- <if spell="Diabolic Eye">
- <equip when="precast">
- <hands lock="yes">Abyss Gauntlets +2</hands>
- </equip>
- </if>
- <if spell="Dark Seal">
- <equip when="precast">
- <head lock="yes">Abyss Burgeonet +2</head>
- </equip>
- </if>
- </rules>
- </spellcast>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement