Assassin's Charge XML Rules

Eorzea Time
 
 
 
言語: JP EN FR DE
日本語版のFFXIVPRO利用したい場合は、上記の"JP"を設定して、又はjp.ffxivpro.comを直接に利用してもいいです
users online
フォーラム » FFXI » Jobs » Thief » Assassin's Charge XML Rules
Assassin's Charge XML Rules
 Phoenix.Shiomi
Offline
サーバ: Phoenix
Game: FFXI
user: Shiomi
Posts: 654
By Phoenix.Shiomi 2012-02-24 04:35:38  
I'm trying to figure out how to lock AC during Sneak Attack and during WS. Usually I have SA/AC/RS but when I swap Rudra's Storm gear it takes off my Assasin's charge gear, even though I have the rule. I'm using the same rules I use to lock Climatic Flourish for DNC but it's just not working.

<if spell="Assassin's Charge">
<equip when="precast" set="AssC" />
</if>

<if BuffActive="Assassin's Charge">
<equip when="engaged|precast" set="AssC"/>
</if>

and then I have a set for AssC. Ah... Maybe I should do this--

<if BuffActive="Assassin's Charge">
<equip when="idle|engaged|resting|precast|midcast|aftercast" set="AssC"/>
</if>

But that didn't work.

Any help it great.
 Sylph.Hitetsu
Offline
サーバ: Sylph
Game: FFXI
user: Hitetsu
Posts: 2617
By Sylph.Hitetsu 2012-02-24 04:51:41  
I may have misunderstood you, been up since stupid o' clock, but you could try:
Code xml
<if mode="and" buffactive="Assassin's Charge" spell="Sneak Attack|Rudra's Storm">
	<equip when="precast" set="ACRS" />
</if>



Alternatively, this one should check to make sure you have SA, AC or SA & AC active:
Code xml
<if spell="Rudra's Storm"> <!--Check if using Rudra's-->
	<if buffactive="Sneak Attack"> <!-- Check if you have SA active -->
		<if buffactive="Assassin's Charge"> <!--Check if you have AC active -->
			<equip when="Precast" set="RSSAAC" /> <!-- Put on Sneak Attack/Assassin's Charge WS Gear -->
		</if>
		<else> <!--Else, no AC active, put on SA WS Gear-->
			<equip when="precast" set="RSSA" />
		</else>
	</if>
	<elseif buffactive="Assassin's Charge"> <!--No SA active, check for AC only -->
		<equip when="precast" set="RSAC" /> <!--Equip Assassin's Charge WS gear -->
	</elseif>
	<else> <!--Sneak Attack and Assassin's Charge not active, using regular WS gear -->
		<equip when="precast" set="RS" />
	</else>	
</if>
[+]
 Sylph.Feary
Offline
サーバ: Sylph
Game: FFXI
user: feary
Posts: 455
By Sylph.Feary 2012-02-24 06:19:21  
how would AC up and Down gear sets look like?
 Phoenix.Shiomi
Offline
サーバ: Phoenix
Game: FFXI
user: Shiomi
Posts: 654
By Phoenix.Shiomi 2012-02-24 06:47:11  
Just the belt, feet, and ring. I could go further and get rid of the double attack gear but it can still double attack on top of triple attack as far as I am aware.
 Ramuh.Austar
Offline
サーバ: Ramuh
Game: FFXI
user: Austar
Posts: 10457
By Ramuh.Austar 2012-02-24 06:49:58  
Phoenix.Shiomi said: »
Just the belt, feet, and ring. I could go further and get rid of the double attack gear but it can still double attack on top of triple attack as far as I am aware.
Only your offhand, or second hit of a multi hit WS can still double attack with AC up.
 Fenrir.Jinjo
VIP
Offline
サーバ: Fenrir
Game: FFXI
user: Minjo
Posts: 2269
By Fenrir.Jinjo 2012-02-24 07:03:02  
Unless you're using Rudra's (probably even if*), I'm pretty sure Assassin's Charge is best put to use for TP gain. To be honest, I wouldn't even suggest meriting it, but.. meh.
 Phoenix.Shiomi
Offline
サーバ: Phoenix
Game: FFXI
user: Shiomi
Posts: 654
By Phoenix.Shiomi 2012-02-24 07:51:01  
Ramuh.Austar said: »
Phoenix.Shiomi said: »
Just the belt, feet, and ring. I could go further and get rid of the double attack gear but it can still double attack on top of triple attack as far as I am aware.
Only your offhand, or second hit of a multi hit WS can still double attack with AC up.

Right. Which is what I was thinking but wasn't for sure.

Fenrir.Jinjo said: »
Unless you're using Rudra's, I'm pretty sure Assassin's Charge is best put to use for TP gain. To be honest, I wouldn't even suggest meriting it, but.. meh.

...
 Fenrir.Motenten
VIP
Offline
サーバ: Fenrir
Game: FFXI
user: Motenten
Posts: 764
By Fenrir.Motenten 2012-02-24 12:23:36  
I believe I worked out that AC is a loss when used during TP phase, break-even when used with SA/TA (stacked, so JA only takes 1 second delay), break-even for DE/Evis, and a gain when stacked with Exenterator (and I'd assume also a gain with SB/Mercy/Rudra/Mandalic, though I haven't checked).

What I'd do is have gear sets:

WS-Exenterator-Normal
WS-Exenterator-SA
WS-Exenterator-TA
WS-Exenterator-AC
WS-Exenterator-SATA
WS-Exenterator-SAAC
WS-Exenterator-TAAC
WS-Exenterator-SATAAC

Then:
Code
<if spell="Sneak Attack">
    <var cmd="set SAActive Yes" />
    <equip when="precast" set="%Spell" />
</if>
<elseif spell="Trick Attack">
    <var cmd="set TAActive Yes" />
    <equip when="precast" set="%Spell" />
</elseif>
<elseif spell="Assassin's Charge">
    <var cmd="set ACActive Yes" />
    <equip when="precast" set="%Spell" />
</elseif>

...

<if type="Weaponskill">
    <var cmd="set WSTag -" />
    
    <if mode="OR" BuffActive="Sneak Attack" advanced='"$SAActive"="Yes"'>
        <var cmd="set WSTag $WSTagSA" />
    </if>

    <if mode="OR" BuffActive="Trick Attack" advanced='"$TAActive"="Yes"'>
        <var cmd="set WSTag $WSTagTA" />
    </if>

    <if mode="OR" BuffActive="Assassin's Charge" advanced='"$ACActive"="Yes"'>
        <var cmd="set WSTag $WSTagAC" />
    </if>
    
    <if advanced='"$WSTag"="-"'>
        <var cmd="set WSTag -Normal" />
    </if>
    
    <equip when="precast" set="WS-%Spell$WSTag" />

    <var cmd="set SAActive No" />
    <var cmd="set TAActive No" />
    <var cmd="set ACActive No" />
</if>


Note: The reason for the variables for SA/TA/AC being active rather than just checking BuffActive is that I've found that it takes a second after the JA is initially used before it registers as being active for a BuffActive check. Normally that doesn't matter, but it certainly affects thf stacking its JAs. So if I did SA+WS, I'd only swap into WS gear, not SA+WS gear.

The code also needs to check for those variables and reset them to No periodically, but the logic flow of that is a little more complicated.
 Phoenix.Shiomi
Offline
サーバ: Phoenix
Game: FFXI
user: Shiomi
Posts: 654
By Phoenix.Shiomi 2012-02-24 17:10:47  
Well the reason I dont think any of these are working for me is because I have AutoExec rules for SA/TA. So I'm still stumped.
 Fenrir.Motenten
VIP
Offline
サーバ: Fenrir
Game: FFXI
user: Motenten
Posts: 764
By Fenrir.Motenten 2012-02-24 18:15:54  
Not sure how AutoExec would change anything I suggested. Assuming it works on JA use and not on the buff icon showing up (I'm not sure; I've never used AE), just have AutoExec set the variable value instead. If it depends on the buff icon then just stay with the spellcast var set (though honestly I can't think of anything that AE could do better than SC in this scenario, aside from clearing the vars when SA/TA/AC buffs go away).
 Bismarck.Chaosprime
Offline
サーバ: Bismarck
Game: FFXI
Posts: 314
By Bismarck.Chaosprime 2012-02-25 07:50:39  
Phoenix.Shiomi said: »
Just the belt, feet, and ring.

Im aware of the feet but in terms of ring and belt you referring to windbuffet belt and demonry ring?
 Phoenix.Shiomi
Offline
サーバ: Phoenix
Game: FFXI
user: Shiomi
Posts: 654
By Phoenix.Shiomi 2012-02-25 23:48:42  
Fenrir.Motenten said: »
Not sure how AutoExec would change anything I suggested. Assuming it works on JA use and not on the buff icon showing up (I'm not sure; I've never used AE), just have AutoExec set the variable value instead. If it depends on the buff icon then just stay with the spellcast var set (though honestly I can't think of anything that AE could do better than SC in this scenario, aside from clearing the vars when SA/TA/AC buffs go away).

x_x Hmm. Not sure I understand it all but let me try.

Chiner's Belt and Demonry Ring.
 Sylph.Hitetsu
Offline
サーバ: Sylph
Game: FFXI
user: Hitetsu
Posts: 2617
By Sylph.Hitetsu 2012-02-25 23:54:23  
Phoenix.Shiomi said: »
x_x Hmm. Not sure I understand it all but let me try.

It'd be something like:
Code xml
<register event="gainbuff_Sneak_Attack">sc var set SAActive Yes</register>
<register event="gainbuff_Trick_Attack">sc var set TAActive Yes</register>
<register event="losebuff_Sneak_Attack">sc var set SAActive No</register>
<register event="losebuff_Trick_Attack">sc var set TAActive No</register>
 Phoenix.Shiomi
Offline
サーバ: Phoenix
Game: FFXI
user: Shiomi
Posts: 654
By Phoenix.Shiomi 2012-02-26 00:03:25  
Yeah those are about the rules I have.

Here is my spellcast maybe you can better explain it by looking at it. I took out all the AssC rules I had.

http://pastebin.com/4uGrmrad
 Phoenix.Shiomi
Offline
サーバ: Phoenix
Game: FFXI
user: Shiomi
Posts: 654
By Phoenix.Shiomi 2012-02-27 03:09:37  
So I got the Assassin's charge set thing to work. Probably more complicated than it should be however now the SA TA rules are no loner working.
Code
	<rules>
		<if mode="or" status="engaged" tpgt="6">
			<disable slot="main|sub|range" />
		</if>

		<else>
			<enable slot="main|sub|range" />
		</else>
		<else>
			<aftercastdelay delay="1.5" />
		</else>
		
		
		<!--	
		<elseif spell="Sneak Attack">
			<aftercastdelay delay="4" />
			<if buffActive="Trick Attack">
				<equip when="Precast" set="SA" />
			</if>
			<else>
				<equip when="Precast" set="SA" />
			</else>
		</elseif>
		<elseif spell="Trick Attack">
			<aftercastdelay delay="4" />
			<if buffActive="Sneak Attack">
				<equip when="Precast" set="SA" />
			</if>
			<else>
				<equip when="Precast" set="TA" />
			</else>
		</elseif>
		-->
		
		<if CommandPrefix="/ws|/weaponskill">
			<if buffactive="Trick Attack">
				<if buffactive="Sneak Attack">
						<equip when="Precast" set="SA" />
				</if>
				<else>
						<equip when="Precast" set="TA" />
				</else>
			</if>
			<else>
				<equip when="Precast" set="SA" />
			</else>
		</if>
		
			<if type="Weaponskill">
					<castdelay delay=".2" />
					<equip when="precast" set="SA" />
					<equip when="aftercast" set="%status" />
				</if>
				


		<if spell="Dancing Edge|Shark Bite|Mandalic Stab|Evisceration|Rudra's Storm">
			<if buffactive="Trick Attack">
				<if buffactive="Sneak Attack">
					<equip when="Precast" set="SA" />
				</if>
				<else>
					<equip when="Precast" set="TA" />
				</else>
			</if>
			<else>
				<equip when="Precast" set="SA" />
			</else>
		</if>
		
		<if spell="Aeolian Edge">
			<equip set="Edge" when="Precast" />
		</if>
		
		<if spell="Dancing Edge|Shark Bite">
			<equip>
				<head>Oce. Headpiece +1</head>
				<waist>Cuchulain's Belt</waist>
				<back>Atheling mantle</back>
				<legs>Tumbler Trunks</legs>
				<rring>Epona's Ring</rring>
			</equip>
		</if>
		
		<if spell="Aeolian Edge">
			<equip>
				<head>Oce. Headpiece +1</head>
				<neck>Love Torque</neck>
				<waist>Cuchulain's Belt</waist>
				<back>Nifty mantle</back>
			</equip>
		</if>
		
		<if spell="Evisceration">
			<equip>
				<head>Oce. Headpiece +1</head>
				<rring>Epona's Ring</rring>
				<waist>Cuchulain's Belt</waist>
				<back>Atheling mantle</back>
				<legs>Raid. Culottes +2</legs>
			</equip>
		</if>
		
		<if spell="Rudra's Storm">
			<equip>
				<head>Oce. Headpiece +1</head>
				<waist>Cuchulain's Belt</waist>
				<back>Atheling mantle</back>
				<rring>Epona's Ring</rring>
				<legs>Tumbler Trunks</legs>
			</equip>
		</if>
				
		<if Spell="Assassin's Charge">
			<castdelay delay=".2" />
			<equip when="precast" set="AssC" />
		</if>
		
		<if BuffActive="Assassin's Charge">
			<equip when="idle|engaged|resting|precast|midcast|aftercast" set="AssC" />
		</if>

		<if Spell="Steal|Despoil">
			<equip when="Precast" set="Steal" />
			<aftercastdelay delay="2" />
		</if>
		
		<if spell="Despoil">
			<equip>
				<feet>Raid. Poulaines +2</feet>
				<legs>Raid. Culottes +2</legs>			
			</equip>
		</if>

		<if spell="Conspirator">
			<equip>
				<body>Raider's vest +2</body>
			</equip>
		</if>
		
		<if skill="*Magic|Ninjutsu">
			<equip when="precast" set="Haste" />
		</if>
		
		<if skill="Utsusemi: Ichi">
			<equip when="precast" set="Haste" />
		</if>
		
		<if spell="Utsusemi: Ni">
			<equip when="Precast" set="Haste" />
		</if>
		
		<if spell="ranged">
			<equip when="Precast" set="Ranged" />
			<aftercastdelay delay="3" />
		</if>
		
		<if spell="Flee">
			<equip>
				<feet>Rogue's Poulaines</feet>
			</equip>
			
		</if>
		
		<elseif type="Weaponskill">
				<if SpellTargetDistanceGT="7" notspell="Sidewinder|Namas|Cyclone">
					<command>input /echo Too far away. Cancelling skill.</command>
					<cancelspell />
					<return />
				</if>
		</elseif>
		
		<elseif spell="autoset">
			<equip when="idle" set="Idle" />
			<equip when="engaged" set="Engaged" />
			<equip when="Resting" set="Resting" />
		</elseif>
		<equip when="aftercast" set="%Status" />
			
		<if Spell="Sneak" BuffActive="Sneak" TargetType="SELF">
			<midcastdelay delay="1" />
			<command when="midcast">cancel 71</command>
		</if>
		<elseif spell="Spectral Jig" BuffActive="Sneak">
			<command when="precast">cancel 71</command>
		</elseif>
		<elseif Spell="Monomi*" BuffActive="Sneak">
			<midcastdelay delay="1" />
			<command when="midcast">cancel 71</command>
		</elseif>
			
    </rules>
</spellcast>


<register event="gainbuff_Sneak_Attack">sc set SA;</register>
<register event="gainbuff_Trick_Attack">sc set TA;</register>
<register event="losebuff_Sneak_Attack">sc set Engaged;</register>
<register event="losebuff_Trick_Attack">sc set Engaged;</register>



I do not know why. These are my AutoExec rules.
 Sylph.Hitetsu
Offline
サーバ: Sylph
Game: FFXI
user: Hitetsu
Posts: 2617
By Sylph.Hitetsu 2012-02-27 03:21:32  
It's likely a problem with AutoExec changing your gear and Spellcast changing your gear at the same time.

I can't really say though, I've not used AutoExec much outside setting up Day/Weather alerts/auto-accept PT invites.
 Phoenix.Shiomi
Offline
サーバ: Phoenix
Game: FFXI
user: Shiomi
Posts: 654
By Phoenix.Shiomi 2012-02-27 03:35:37  
Hmmm, idk. No rules for changing it for SA. Also, freaking AssC isn't working now that I look at it so I'm getting extremely freaking pissed off at myself.