Sc Help Pls

Language: JP EN DE FR
2010-09-08
New Items
users online
Forum » FFXI » Jobs » Ninja » Sc help pls
Sc help pls
 Ragnarok.Dragonforce
Offline
Server: Ragnarok
Game: FFXI
Posts: 17
By Ragnarok.Dragonforce 2013-12-30 02:02:08
Link | Quote | Reply
 
Im trying to get im sc up and running but its not equipping 100% of my Utsusemi set it equips some of my ws set too pls help
Code
<?xml version="1.0" ?>

	<spellcast>
	
		<config
			Debug="false"
			ShowGearSwaps="false"
		/>

		<variables clear="false">
			<var name="DayOrNight">Day</var>
			<var name="MH">no</var>
		</variables>
			
		<sets>
			<group name="NIN" default="yes">
			
				<!--Gear melee standard-->
				
				<set name="IDLEDAY" Baseset="tp">
					<feet>Otronif Boots</feet>
				</set>
				
				<set name="IDLENIGHT" BaseSet="IDLEDAY">
					<feet>Nin. Kyahan</feet>
				</set>
				
				<set name="TP">
					<ammo>Qirmiz Tathlum</ammo>
                    <head>Iga Zukin +2</head>
                    <neck>Asperity Necklace</neck>
                    <lear>Dudgeon Earring</lear>
                    <rear>Heartseeker Earring</rear>
                    <body>Thaumas Coat</body>
                    <hands>Otronif Gloves</hands>
                    <lring>Rajas Ring</lring>
                    <rring>Epona's Ring</rring>
                    <back>Atheling Mantle</back>
                    <waist>Cetl Belt</waist>
                    <legs>Kog. Hakama +2</legs>
                    <feet>Otronif Boots</feet>
				</set>
				
				<set name="TownDAY" BaseSet="TP">
					<feet>Otronif Boots</feet>
				</set>
				
				<set name="TownNight" BaseSet="TownDAY">
					<feet>Nin. Kyahan</feet>
				</set>
				
				<set name="WS">
                    <ammo>Qirmiz Tathlum</ammo>
                    <head>Otronif Mask</head>
                    <neck>Asperity Necklace</neck>
                    <lear>Steelflash Earring</lear>
                    <rear>Bladeborn Earring</rear>
                    <body>Otronif Harness</body>
                    <hands>Otronif Gloves</hands>
                    <rring>Epona's Ring</rring>
                    <back>Atheling Mantle</back>
                    <waist>Windbuffet Belt</waist>
                    <legs>Quiahuiz Leggings</legs>
                    <legs>Otronif Boots</legs>
				</set>
								
				<set name="Jin" BaseSet="WS">
                    <lring>Rajas Ring</lring>
                    <body>Iga Ningi +2</body>
				</set>
				
				<set name="HINoAby" BaseSet="WS">
				    <lring>Stormsoul Ring</lring>
				</set>
				
				<set name="AEOLIAN" BaseSet="WS">
					<neck>Breeze Gorget</neck>
					<lear>Friomisi Earring</lear>
					<rear>Novio Earring</rear>
					<waist>Breeze Belt</waist>
				</set>

				<!--Magic damage-->
				<set name="MDT">
					<ammo>Demonry Stone</ammo>
					<head>Whirlpool Mask</head>
					<neck>Twilight Torque</neck>
					<lear>Merman's Earring</lear>
					<rear>Merman's Earring</rear>
					<body>Otronif Harness</body>
					<hands>Otronif Gloves</hands>
					<lring>Shadow Ring</lring>
					<rring>Defending Ring</rring>
					<legs>Otronif Brais</legs>
					<back>Lamia Mantle +1</back>
					<waist>Resolute Belt</waist>
					<legs>Otronif Boots</legs>
				</set>
				
				<set name="PDT">
					<head>Arhat's Jinpachi</head>
					<neck>Twilight Torque</neck>
					<body>Arhat's Gi</body>
					<hands>Otronif Gloves</hands>
					<lring>Dark Ring</lring>
					<rring>Defending Ring</rring>
					<legs>Otronif Brais</legs>
					<feet>Thurandaut Boots</feet>
				</set>
				
				<set name="EVA" BaseSet="TP">
					<head>Whirlpool Mask</head>
					<neck>Torero Torque</neck>
					<lear>Ethereal Earring</lear>
					<rear>Musical Earring</rear>
					<body>Otronif Harness</body>
					<hands>Otronif Gloves</hands>
					<rring>Defending Ring</rring>
					<back>Boxer's Mantle</back>
					<waist>Koga sarashi</waist>
					<legs>Otronif Brais</legs>
					<legs>Otronif Boots</legs>
				</set>
				
				<set name="UTSU">
					<ammo>Impatiens</ammo>
                    <head>Otronif Mask</head>
                    <neck>Magoraga Beads</neck>
                    <rear>Loquac. Earring</rear>
                    <body>Otronif Harness</body>
                    <hands>Otronif Gloves</hands>
                    <waist>Twilight Belt</waist>
                    <lring>Veneficium Ring</lring>
                    <rring>Prolix Ring</rring>
                    <legs>Iga Hakana +2</legs>
                    <back>Mujin Mantle</back>
                    <feet>Iga Kyahan +2</feet>
				</set>
				
				<set name="ENMITY">
					<head>Arhat's Jinpachi</head>
					<!--<neck>Invidia Torque</neck>-->
					<body>Arhat's Gi</body>
					<!--<lring>Odium Ring</lring>-->
					<!--<rring>Mermaid Ring</rring>-->
					<!--<back>Cavaros Mantle</back>-->
					<!--<feet>Usk. Sune-Ate +1</feet>-->
				</set>
				
				<set name="NINJUTSU">
					<ammo>Impatiens</ammo>
					<head>Koga Hatsuburi</head>
					<neck>Orunmila's Torque</neck>
					<lear>Friomisi Earring</lear>
					<rear>Novio Earring</rear>
					<body>Otronif Harness</body>
					<hands>Kog. Tekko +2</hands>
					<lring>Omega Ring</lring>
					<rring>Defending Ring</rring>
					<legs>Otronif Brais</legs>
					<waist>Koga Sarashi</waist>
					<feet>Kog. Kyahan +2</feet>
				</set>
				
				<set name="gearup">
					<item>Linkshell</item>
					<item>Echo Drops</item>
					<item>shihei</item>
					<item>Iga Ningi +2</item>
					<item>Iga Hakama +2</item>
					<item>Iga tekko +2</item>
					<item>Halachuinic Sword</item>
					<item>Aphotic Kukri</item>
				</set>
				
			</group>
		</sets>
		
		<rules>

			<if mode="OR" TimeLT="7.00" TimeGT="16.59">
				<var cmd="set DayOrNight Night" />
			</if>
			<else>
				<var cmd="set DayOrNight Day" />
			</else>
					
			<if BuffActive="Migawari">
				<equip when="idle|engaged|resting|precast|midcast|aftercast">
					<body lock="t">Iga ningi +2</body>
				</equip>
			</if>
			
			<if BuffActive="Futae">
				<equip when="idle|engaged|resting|precast|midcast|aftercast">
					<hands lock="t">Iga Tekko +2</hands>
				</equip>
			</if>

			<if spell="autoset">
				<if area="*Windurst*|Heavens*|*San d'Oria*|Chateau*|*Bastok*|Metalworks|*Jeuno*|Ru'Lude*|*Whitegate|Al Zahbi|Chocobo*|*Colosseum|Selbina|Mhaura|Kazham|Norg|Tavnazia*|*Adoulin" notarea="Dynamis*|*[S]" notbuffactive="Besieged">
					<action type="Equip" when="idle|engaged|resting|precast|midcast|aftercast" set="Town$DayorNight" />
				</if>
				<else>
					<action type="equip" when="idle" set="IDLE$DayorNight"/>
				</else>
				<action type="equip" when="engaged" set="TP"/>
			</if>
			
			<if NotStatus="Engaged">
				<if area="*Windurst*|Heavens*|*San d'Oria*|Chateau*|*Bastok*|Metalworks|*Jeuno*|Ru'Lude*|*Whitegate|Al Zahbi|Chocobo*|*Colosseum|Selbina|Mhaura|Kazham|Norg|Tavnazia*|*Adoulin" notarea="Dynamis*|*[S]" notbuffactive="Besieged">
					<action type="Equip" when="idle|engaged|resting|precast|midcast|aftercast" set="Town$DayorNight" />
				</if>
				<else>
					<action type="equip" when="aftercast" set="IDLE$DayOrNight" />
				</else>
			</if>
			<else>
					<action type="equip" when="aftercast" set="TP" />
			</else>

			<!--Magic-->
			<if Skill="Ninjutsu">
				<if spell="Utsusemi: Ni|Utsusemi: Ichi">
					<equip when="precast" set="UTSU" />
				</if>
				<elseif spell="Migawari*">
					<equip when="precast|aftercast">
						<body>Iga Ningi +2</body>
					</equip>
				</elseif>
				<else>
					<equip when="precast" set="NINJUTSU" />
				</else>
			</if>
			
			<!--Weapon skills-->
			<if type="WeaponSkill">
				<if spell="Blade: Hi">
					<if Area="Abyssea*">
						<equip when="precast" set="HINoAby" />
					</if>
					<else>
						<equip when="precast" set="HINoAby" />
					</else>
				</if>
				<elseif spell="Blade: Jin">
                    <equip when="precast" set="Jin" />
                    </elseif>
                </if>
				<elseif spell="Aeolian Edge">
					<equip when="precast" set="AEOLIAN" />
				</elseif>			
				<else>
					<equip when="precast" set="WS" />
				</else>
			
			<!--JAs-->
			
			<if spell="Provoke">
				<equip when="precast" set="" />
			</if>

			<elseif spell="Yonin">
				<equip when="precast">
					<legs>Iga Hakama +2</legs>
				</equip>
			</elseif>

			<elseif spell="Innin">
				<equip when="precast">
					<head>Iga Zukin +2</head>
				</equip>
			</elseif>
			
			<elseif spell="Futae">
				<equip when="precast">
					<hands>Iga Tekko +2</hands>
				</equip>
			</elseif>
			
			<elseif spell="Spectral Jig">
				<command when="PreCast">cancel 71</command>
			</elseif>

									
		</rules>
		
	</spellcast>	

 Leviathan.Kincard
Offline
Server: Leviathan
Game: FFXI
user: Kincard
Posts: 1442
By Leviathan.Kincard 2013-12-30 04:13:35
Link | Quote | Reply
 
Not sure if this will fix it, but try moving the </if> from line 252 to line 259.
 Valefor.Omnys
Offline
Server: Valefor
Game: FFXI
user: omnys
Posts: 1759
By Valefor.Omnys 2013-12-30 04:38:10
Link | Quote | Reply
 
As to your ws swaps, several of your sets, including "ws", have <legs> for <legs> and <legs> for feet too.
 Ragnarok.Flippant
Offline
Server: Ragnarok
Game: FFXI
user: Enceladus
Posts: 658
By Ragnarok.Flippant 2013-12-30 04:51:03
Link | Quote | Reply
 
Leviathan.Kincard said: »
Not sure if this will fix it, but try moving the </if> from line 252 to line 259.

He might have "ninja" edited (har har) his post on you...but it's from line 250 to line 257.

And yes, that will fix it.
[+]
Offline
Posts: 233
By innit 2013-12-30 07:12:19
Link | Quote | Reply
 
Apart from moving the closing </if> as mentioned above, you don't seem to be equipping a haste/fast cast set for Migawari, so you will likely be casting in tp set -4% haste from thaumas, which isn't capped gear haste.

As far as I know, you only need to have Iga Ningi +2 equipped when the casting lands, so I removed the aftercast condition.

Anyway, you could try replacing your Migawari rule with something like this (not tested).

<elseif spell="Migawari*">
<equip when="precast" set="UTSU" />
<equip when="precast">
<body lock="yes">Iga Ningi +2</body>
</equip>
</elseif>
 Leviathan.Kincard
Offline
Server: Leviathan
Game: FFXI
user: Kincard
Posts: 1442
By Leviathan.Kincard 2013-12-30 10:02:41
Link | Quote | Reply
 
For Migawari, it checks your ninjutsu skill when the cast lands and checks for Iga Ningi for when something hits you, so you have to keep the equip lock for aftercast but you can cast in whatever haste/fast cast you want in the body slot.

Me personally, I don't even use Iga Ningi anymore these days. If your skill is capped Migawari activates at like 75% damage and I find shaving another 10% off that unnecessary (and arguably even detrimental), or at least not worth trading in wearing something better in the slot while you're waiting to get hit. Wasn't as big a deal when Iga Ningi was one of the best things you could have in the slot, but now not so much.
 Ragnarok.Dragonforce
Offline
Server: Ragnarok
Game: FFXI
Posts: 17
By Ragnarok.Dragonforce 2013-12-30 22:36:55
Link | Quote | Reply
 
Thinks for the help works great now.
@Omnys lol thinks for pointing that out i don't see that.
Now one more thing if i make a macro to set say eva set than i do a ws is it going to set eva or tp after?
 Odin.Jassik
VIP
Offline
Server: Odin
Game: FFXI
user: Jassik
Posts: 9534
By Odin.Jassik 2013-12-30 23:16:48
Link | Quote | Reply
 
Leviathan.Kincard said: »
For Migawari, it checks your ninjutsu skill when the cast lands and checks for Iga Ningi for when something hits you, so you have to keep the equip lock for aftercast but you can cast in whatever haste/fast cast you want in the body slot.

Me personally, I don't even use Iga Ningi anymore these days. If your skill is capped Migawari activates at like 75% damage and I find shaving another 10% off that unnecessary (and arguably even detrimental), or at least not worth trading in wearing something better in the slot while you're waiting to get hit. Wasn't as big a deal when Iga Ningi was one of the best things you could have in the slot, but now not so much.

Unless you really needed that 10%, I never bothered with ningi outside of Blade: Jin. Prior to Thaumas, losing AF body in a TP set was one of the biggest hits you could take to DPS. Unless, of course, you were really starving for accuracy with Yonin up.
 Leviathan.Kincard
Offline
Server: Leviathan
Game: FFXI
user: Kincard
Posts: 1442
By Leviathan.Kincard 2014-01-02 06:22:58
Link | Quote | Reply
 
Yeah Ningi was only better if you were starved for accuracy/attack or you were capping attack speed somehow. Still a really good piece after Thaumas came out IMO, it had its applications still. iL stuff totally killed its niche though. Wonder what they'll do with it if they get around to making AF3+3.

Ragnarok.Dragonforce said: »
Thinks for the help works great now.
@Omnys lol thinks for pointing that out i don't see that.
Now one more thing if i make a macro to set say eva set than i do a ws is it going to set eva or tp after?

The way you have it set up, your "default" set is going to be what you put starting at line 200, so it'll go into TP set after you used any action when you're engaged. The way I do it is that instead of putting TP set under your autoset I instead make it a variable and set up my macros so that it changes the variable between TP/Eva/PDT/MDT/MixedDT.
 Valefor.Omnys
Offline
Server: Valefor
Game: FFXI
user: omnys
Posts: 1759
By Valefor.Omnys 2014-01-02 09:35:02
Link | Quote | Reply
 
No need to do variables for sets, SC has it's own setup for that already...

Just sample gear, I know all of this is out of date etc etc.
Code
<sets>
<group name="normal" default="yes">
<set name="tp">
 <body>Thaumas Coat</body>
</set>

<set name="ws">
  <body>Iga Ningi +2</body>
</set>

<set name="wshi|wsjin" baseset="ws">
  <body>Toci's Harness</body>
</set>
</group>

<group name="eva" inherit="normal">
<set name="tp">
  <body>Scorpion Harness +1</body>
</set>
</group>

<group name="kiting" inherit="normal">
  <set name="tp">
    <body>Arhat's Gi +1</body>
    <feet>$some_variable_for_day/night_for_danzo_vs_ninja_boots</feet>
  </set>
</group>
</sets>


Your macro for switching to eva would look like this

//sc group eva
//sc set engaged
(You can actually say //sc set $Status, but very rarely after initial startup, %Status variable doesn't work, changing status between resting, idle, engaged, fixes it. This is actually what I do rather than say //sc set engaged)

If you do this, you need an Engaged, Idle, Resting set. It's actually very nice because you can do things like %StatusHaste and have like a seperate EngagedHaste and IdleHaste set.

Because the second two groups don't define a ws set, or a wsjin/wshi set, switching to either set would pull out of the default group since the second two inherit from it, not just because it's default. And yes, you can stagger inherits (C and B inherit from A, D inherits from C).
 Ragnarok.Dragonforce
Offline
Server: Ragnarok
Game: FFXI
Posts: 17
By Ragnarok.Dragonforce 2014-01-03 02:14:53
Link | Quote | Reply
 
If I make sets for tp ws tp-acc ws-acc tp-march ws-march tp-acc-march tp-acc-march do i need 4 sc and make macros to set it or can i do it in one xml?
 Valefor.Omnys
Offline
Server: Valefor
Game: FFXI
user: omnys
Posts: 1759
By Valefor.Omnys 2014-01-03 16:56:36
Link | Quote | Reply
 
You can do it with BuffActive and variable toggles.

Where AccMode is a variable with the values of Acc0 (for normal "my accuracy is fine" sets) and Acc1 (I miss you baby, I need more accuracy--accuracy set).

So you'd make macros like

"Accuracy Fine"
//sc var set AccMode 0

"Accuracy Low"
//sc var set AccMode 1

I also have it setup, in these snippets, so you can use a March Override, in case you're running with a low-geared bard and don't want your spellcast to observe marches.

"March Okay"
//sc var set MarchMode 1

"Ignore March"
//sc var set MarchMode 0

In the beginning of your rules, for marches, you'd also have (note, there's no way for spellcast to tell if you have two one march, two marches, or five hundred, it either knows if you have any marches or none so if you have a two song bard giving you march and madrigal, this would still trigger.

<if BuffActive="March" and notadvanced="(int)$MarchMode=0">
<var cmd="set MarchToggle 1"/>
</if>
<else>
<var cmd="set MarchToggle 0"/>
</else>

Your rules will equip sets like this

TP-Acc$AccMode-March$MarchToggle

And then your sets can be named like

<set name="TP-Acc0-March0">
<set name="TP-Acc1-March0|TP-Acc1-March1">
<set name="TP-Acc0-March1">

A basic xml handling all of this would look like
Code
<?xml version="1.0" ?>

<spellcast>

	<config
            Debug="false"
            ShowGearSwaps="false"
        />
		
	<variables>
	<var name="AccMode">0</var>
	<var name="MarchMode">1</var>
	</variables>
	
	<sets>
		<group name="primary" default="yes">
			<set name="TP-Acc0-March0">
			</set>
			<set name="TP-Acc1-March0|TP-Acc1-March1">
			</set>
			<set name="TP-Acc0-March1">
			</set>
			<set name="precast">
			</set>
			<set name="haste">
			</set>
			<set name="ws-acc0">
			</set>
			<set name="wsJin-acc0|ws-acc0">
			</set>
			<set name="wsJin-acc1|ws-acc1">
			</set>
			<set name="wsHi-acc0">
			</set>
			<set name="wsHi-acc1">
			</set>
			<set name="wsShun-acc0">
			</set>
			<set name="wsShun-acc0">
			</set>
			<set name="idle|resting">
			</set>
		</group>
		
		<group name="eva" inherit="primary">
			<set name="TP-Acc0-March0">
			</set>
			<set name="TP-Acc1-March0|TP-Acc1-March1">
			</set>
			<set name="TP-Acc0-March1">
			</set>
		</group>
	</sets>

	<rules>
		<if mode="and" BuffActive="March" notadvanced="(int)$MarchMode=0">
			<var cmd="set MarchToggle 1"/>
		</if>
		<else>
			<var cmd="set MarchToggle 0"/>
		</else>

		<if type="WeaponSkill">
			<if spell="Blade: Hi">
				<equip when="precast" set="wsHi-Acc$AccMode" />
<equip when="aftercast" set="tp-Acc$AccMode-March$MarchToggle" />
			</if>
			<elseif spell="Blade: Shun">
				<equip when="precast" set="wsShun-Acc$AccMode" />
<equip when="aftercast" set="tp-Acc$AccMode-March$MarchToggle" />
			</elseif>
			<elseif spell="Blade: Jin">
				<equip when="precast" set="wsJin-Acc$AccMode" />
<equip when="aftercast" set="tp-Acc$AccMode-March$MarchToggle" />
			</elseif>
			<else>
				<equip when="precast" set="ws-Acc$AccMode" />
<equip when="aftercast" set="tp-Acc$AccMode-March$MarchToggle" />
			</else>
		</if>
	</rules>
</spellcast>
Log in to post.