Drk Xml

Langues: JP EN DE FR
users online
Forum » FFXI » Jobs » Dark Knight » Drk Xml
Drk Xml
 Leviathan.Kuryomi
Offline
Serveur: Leviathan
Game: FFXI
user: Kuryomi
Posts: 158
By Leviathan.Kuryomi 2013-06-23 14:49:17
Link | Citer | R
 
much like the sam and drg i posted so far. Here it is, very basic.
 Leviathan.Kuryomi
Offline
Serveur: Leviathan
Game: FFXI
user: Kuryomi
Posts: 158
By Leviathan.Kuryomi 2013-06-24 19:41:27
Link | Citer | R
 
how do i make it so it cancels ws if im to far? everything i tryed creats problems else where
 Sylph.Hitetsu
Offline
Serveur: Sylph
Game: FFXI
user: Hitetsu
Posts: 2617
By Sylph.Hitetsu 2013-06-25 05:07:19
Link | Citer | R
 
Code xml
<if type="Weaponskill">
			<if mode="OR" TPLT="100" advanced='%SpellTargetDistance>6' notstatus="engaged">
				<addtochat color="121">Too far away from target, not enough TP or not engaged. Cancelling WS</addtochat>
				<cancelspell/>
				<return />
			</if>
		</if>



Where it says "%SpellTargetDistance>6", the ">" should be "& gt ;" without spaces.
 Leviathan.Kuryomi
Offline
Serveur: Leviathan
Game: FFXI
user: Kuryomi
Posts: 158
By Leviathan.Kuryomi 2013-06-25 17:45:27
Link | Citer | R
 
Code
<if type="Weaponskill">
            <if mode="OR" TPLT="100" advanced='%SpellTargetDistance>6' notstatus="engaged">
                <addtochat color="121">Too far away from target, not enough TP or not engaged. Cancelling WS</addtochat>
                <cancelspell/>
                <return />
            </if>
        </if>


like this?

derp it wont show it
Offline
Posts: 107
By tigroux 2013-06-25 17:49:32
Link | Citer | R
 
How do the PDT/MDT sets work for spellcast? Curious...
 Leviathan.Kuryomi
Offline
Serveur: Leviathan
Game: FFXI
user: Kuryomi
Posts: 158
By Leviathan.Kuryomi 2013-06-25 17:50:10
Link | Citer | R
 
now is there a way to eastablish if im wearing a high acc set or a fodder mobs set? even if i have to give it a command, as long as it continues to use that tp set till i say other wise be good. Or maybe a second spell cast i can swap to with like "//sc load Xset". If there is anything for this id appreciate the info
 Sylph.Hitetsu
Offline
Serveur: Sylph
Game: FFXI
user: Hitetsu
Posts: 2617
By Sylph.Hitetsu 2013-06-25 18:20:49
Link | Citer | R
 
Leviathan.Kuryomi said: »
derp it wont show it

Yeah, XIAH automatically parses stuff like that to display properly.


Leviathan.Kuryomi said: »
as long as it continues to use that tp set till i say other wise be good. Or maybe a second spell cast i can swap to with like "//sc load Xset".

I'm snipping out code that isn't needed, but I'm sure you can piece together where each section goes (Variables at the top, pretty much anything else in the rules).
Code xml
<var name="GearType">TPGear</var>

<equip set="$GearType" when="aftercast" />


I used this, along with a combination of FFXI Macros to swap gear as THF and DNC,

/con sc set TPGear
/con sc var set GearType TPGear

and

/con sc set EVAGear
/con sc var set GearType EVAGear


Alternatively, if you wanted a more flexible setup, you could try this:
Code xml
<variables>
		<var name="EvaLvl">0</var> <!--Amount of Evasion? 0 = None. 3 = Max Evasion -->
		<var name="AccLvl">0</var> <!--Amount of Accuracy for TP? 0 = All out DD. 4 = Max Accuracy -->
		<var name="AtkLvl">2</var> <!--Amount of Attack for WS's? 0 = All Mod. 3 = Minimum Mod -->
		<var name="BackupStep">None</var> <!-- Backup Step -->
		<var name="GearType">TP$AccLvl</var> <!-- Gear Type -->
	</variables>



<set name="TP0"> <!-- All out DD -->
				<head>Ocelomeh Headpiece</head>
				<neck>Charis Necklace</neck>
				<lear>Brutal Earring</lear>
				<rear>Suppanomimi</rear>
				<body>Etoile Casaque +2</body>
				<hands>Dusk Gloves +1</hands>
				<lring>Rajas Ring</lring>
				<rring>Epona's Ring</rring>
				<back>Atheling Mantle</back>
				<waist>Twilight Belt</waist>
				<legs>Charis Tights +2</legs>
				<feet>Ballerines</feet>	
			</set>
			<set name="TP1" baseset="TP0"> <!-- Minor Acc -->
				<neck>Agasaya's Collar</neck>
			</set>
			<set name="TP2" baseset="TP1"> <!-- Mid-Acc -->
				<rring>Keen Ring</rring>
			</set>
			<set name="TP3" baseset="TP2"> <!-- High-Acc -->
				<head>Optical Hat</head>
			</set>
			<set name="TP4" baseset="TP3"> <!-- Accuracy all the slots! -->
				
			</set>


<if spell="Trigger99"> <!-- Trigger Spells for cycling Accuracy Levels - Trigger0 increases Accuracy, Trigger1 decreases Accuracy in WS-->
			<cancelspell />
			
			<if advanced='("$AccLvl" == "0")'>
				<var cmd="set AccLvl 1" />
			</if>
			<elseif advanced='("$AccLvl" == "1")'>
				<var cmd="set AccLvl 2" />
			</elseif>
			<elseif advanced='("$AccLvl" == "2")'>
				<var cmd="set AccLvl 3" />
			</elseif>
			<elseif advanced='("$AccLvl" == "3")'>
				<var cmd="set AccLvl 0" />
			</elseif>
			<addtochat color="112">Accuracy level changed. Now Level $AccLvl.</addtochat>
			<equip when="aftercast" set="$GearType" />
		</if>
		<elseif spell="Trigger98">
			<cancelspell />
			
			<if advanced='("$AccLvl" == "0")'>
				<var cmd="set AccLvl 3" />
			</if>
			<elseif advanced='("$AccLvl" == "3")'>
				<var cmd="set AccLvl 2" />
			</elseif>
			<elseif advanced='("$AccLvl" == "2")'>
				<var cmd="set AccLvl 1" />
			</elseif>
			<elseif advanced='("$AccLvl" == "1")'>
				<var cmd="set AccLvl 0" />
			</elseif>
			<addtochat color="111">Accuracy level changed. Now Level $AccLvl.</addtochat>
			<equip when="aftercast" set="$GearType" />
		</elseif>



tigroux said: »
How do the PDT/MDT sets work for spellcast? Curious...

The most basic way of doing it is:
Code xml
<set name="MDT">
				<body>Avalon Breastplate</body> <!--5% -->
				<neck>Twilight Torque</neck> <!--5%-->
				<rring>Minerva's Ring</rring> <!--8% -->
				<lring>Merman's Ring</lring> <!-- 4% -->
				<lear>Merman's Earring</lear> <!--2%-->
				<legs>Merman's Subligar</legs> <!--3%-->
			</set>
			
			<set name="PDT">
				<neck>Wiglen Gorget</neck> <!--6%-->
				<lring>Jelly Ring</lring> <!-- 5% -->
			</set>


Then, make macros with "/con sc set PDT" or "/con sc set MDT" in it and they'll swap over. You can use dummy spells to trigger, but there's no difference either way.
Offline
Posts: 107
By tigroux 2013-06-25 18:44:45
Link | Citer | R
 
Sylph.Hitetsu said: »

tigroux said: »
How do the PDT/MDT sets work for spellcast? Curious...

Then, make macros with "/con sc set PDT" or "/con sc set MDT" in it and they'll swap over. You can use dummy spells to trigger, but there's no difference either way.

Sooooooooooo. No difference over just having a regular script for it...got it. lol
 Ragnarok.Zeromega
Offline
Serveur: Ragnarok
Game: FFXI
user: Zeromega
Posts: 400
By Ragnarok.Zeromega 2013-06-26 23:17:17
Link | Citer | R
 
if you do it right it will make the mdt or pdt sets your default tp set while they are turned on. so you ws in regular ws gear, then switch back to the pdt/mdt/hybrid/etc
 Leviathan.Kuryomi
Offline
Serveur: Leviathan
Game: FFXI
user: Kuryomi
Posts: 158
By Leviathan.Kuryomi 2013-06-30 18:16:57
Link | Citer | R
 
i got a new problem as i continue to expand my xml. After i cast it dont remove my earing, and sometimes after ws dont remove the belt, back to my tp set. Can anyone see whats the issue? The spellcast works fine other then the occasional manual earing swaping.
Log in to post.