[[RB's NIN]]

RB's NIN

Yes i know i could use Autoexec for the Night and Day features. I used to but i was getting random crashes with it.

I made this because i like Dynamic sets as all situations require diffrent equip Enjoy

NOT NEEDED to work

I use text.dll just to give myself a headsup of whats going on. I commented out the code in the xml for it

in my Init.text i have it make and load a text object

text create gearset
text set gearset fg 255 255 255 255 text "Gear Set"
text set gearset bg 0 0 0 150
text set gearset position 900 752  //Change this to match where you want it positioned
text set gearset show
text set gearset showbg

NOT NEEDED to work

i also have 2 Alias's i use

alias mon sc var set staymelee on;
alias moff sc var set staymelee off;
<?xml version="1.0" ?>
<spellcast>
	<config
		RequiredVersion="2.21"
		Debug="False"
		HideErrors="False"
		ShowGearSwaps="False"
		/>
 
<sets>
	<group default="yes" name="Normal">
		<set name="melee">
			<head>$CustHead</head>
			<neck>$CustNeck</neck>
			<lear>$CustLear</lear>
			<rear>$CustRear</rear>
			<body>$CustBody</body>
			<hands>$Custhand</hands>
			<lring>$CustLring</lring>
			<rring>$CustRring</rring>
			<back>$CustBack</back>
			<waist>$CustWaist</waist>
			<legs>$CustLegs</legs>
			<feet>$CustFeet</feet>
		</set>
 
		<set name="Fastcast" baseset="melee">
			<head>Walahra turban</head>
			<neck>Evasion Torque</neck>
			<rear>Loquacious Earring</rear>
			<lear>Magnetic Earring</lear>
			<hands>$fasthands</hands>
			<back>Boxer's Mantle</back>
			<waist>Koga Sarashi</waist>
			<legs>Byakko's Haidate</legs>
			<feet>Usukane sune-ate</feet>
		</set>
 
		<set name="Enmity" baseset="melee">
			<ammo>Nokizaru Shuriken</ammo>
			<head>Arhat's Jinpachi +1</head>
			<rear>Loquacious Earring</rear>
			<body>Arhat's Gi +1</body>
			<back>Cerberus Mantle</back>
			<waist>Warwolf Belt</waist>
			<legs>Arhat's Hakama +1</legs>
		</set>
 
		<set name="WSgear" baseset="melee">
			<head>Shr.Znr.Kabuto</head>
			<neck>Hope Torque</neck>
			<lear>Brutal Earring</lear>
			<rear>Spike Earring</rear>
			<body>Kirin's Osode</body>
			<hands>$wshands</hands>
			<back>Amemet Mantle +1</back>
			<waist>Warwolf Belt</waist>
		</set>
 
 
		<set name="Soil" baseset="WSgear"><neck>Soil Gorget</neck></set>
		<set name="Breeze" baseset="WSgear"><neck>Breeze Gorget</neck></set>
 
		<set name="Enfeebling" baseset="melee">
			<head>Arhat's Jinpachi +1</head>
			<neck>Enfeebling Torque</neck>
			<rear>Loquacious Earring</rear>
			<lear>Enfeebling Earring</lear>
			<body>Arhat's Gi +1</body>
			<hands>Koga Tekko</hands>
			<back>Cerberus Mantle</back>
			<waist>Koga Sarashi</waist>
			<legs>Arhat's Hakama +1</legs>
		</set>
 
		<set name="Ninjaskill" baseset="melee">
			<head>Ninja Hatsuburi</head>
			<rear>Loquacious Earring</rear>
			<hands>Koga Tekko</hands>
			<neck>Ninjutsu Torque</neck>
			<body>Arhat's Gi +1</body>
			<back>Astute Cape</back>
			<waist>Koga Sarashi</waist>
			<legs>Arhat's Hakama +1</legs>
			<feet>Koga Kyahan</feet>
		</set>
 
		<set name="Town">
			<ammo>Fire Bomblet</ammo>
			<head>Glory Crown</head>
			<neck>Hope Torque</neck>
			<lear>Brutal Earring</lear>
			<rear>Suppanomimi</rear>
			<body>Kirin's Osode</body>
			<hands>Usukane Gote</hands>
			<lring>Ulthalam's Ring</lring>
			<rring>Rajas Ring</rring>
			<back>Boxer's Mantle</back>
			<waist>Koga Sarashi</waist>
			<legs>Byakko's Haidate</legs>
			<feet>$feets</feet>
		</set>
		<set name="resting" />
	</group>
</sets>
 
<variables clear="true">
	<var name="staymelee">off</var>
	<var name="utsulast">Ichi</var>
	<var name="hrs">to be set</var>
	<var name="justran">0</var>
	<var name="intown">0</var>
	<var name="CustHead">Walahra Turban</var>
	<var name="CustNeck">Hope Torque</var>
	<var name="CustLear">Brutal Earring</var>
	<var name="CustRear">Suppanomimi</var>
	<var name="CustBody">Nin. Chainmail +1</var>
	<var name="CustHand">Usukane Gote</var>
	<var name="CustLring">Ulthalam's Ring</var>
	<var name="CustRring">Rajas Ring</var>
	<var name="CustBack">Amemet Mantle +1</var>
	<var name="CustWaist">Koga Sarashi</var>
	<var name="CustLegs">Byakko's Haidate</var>
	<var name="CustFeet">Usukane sune-ate</var>
	<var name="Hands"></var>
	<var name="Feets">Usukane sune-ate</var>
	<var name="fasthands">Dusk Gloves</var>
	<var name="wshands">Usukane Gote</var>	
	<var name="hand1">Usukane Gote</var>
	<var name="hand2">Dusk Gloves</var>
	<var name="hand3">Koga Tekko</var>
	<var name="hand4">Nin. Tekko +1</var>
	<var name="feet1">Usukane sune-ate</var>
	<var name="feet2">Ninja Kyahan +1</var>
</variables>
 
<rules>
<if mode="or" TimeGT="17.59" TimeLT="6.00">
	<if Advanced='"$hrs"=="Night"'/>
	<else>
		<action type="Var" cmd="set hrs Night" />
		<action type="Var" cmd="set fasthands $hand3" />
		<action type="Var" cmd="set wshands $hand3" />
		<action type="Var" cmd="set hands $hand3" />
		<action type="Var" cmd="set feets $feet2" />
	</else>
</if>
<elseif mode="AND" TimeGT="17.00" TimeLT="18.00">
	<if Advanced='"$hrs"=="Dusk"'/>
	<else>
		<action type="Var" cmd="set hrs Dusk" />
		<action type="Var" cmd="set fasthands $hand2" />
		<action type="Var" cmd="set wshands $hand4" />
		<action type="Var" cmd="set hands $hand2" />
		<action type="Var" cmd="set feets $feet2" />
	</else>
</elseif>
<elseif mode="AND" TimeGT="6.00" TimeLT="7.00">
	<if Advanced='"$hrs"=="Dawn"'/>
	<else>
		<action type="Var" cmd="set hrs Dawn" />
		<action type="Var" cmd="set fasthands $hand2" />
		<action type="Var" cmd="set wshands $hand4" />
		<action type="Var" cmd="set hands $hand2" />
		<action type="Var" cmd="set feets $feet2" />
	</else>
</elseif>
<else>
	<if Advanced='"$hrs"=="Day"'/>
	<else>
		<action type="Var" cmd="set hrs Day" />
		<action type="Var" cmd="set fasthands $hand2" />
		<action type="Var" cmd="set wshands $hand4" />
		<action type="Var" cmd="set hands $hand2" />
		<action type="Var" cmd="set feets $feet1" />
	</else>
</else>
<if spell="Stonega IV">
	<if status="engaged">
		<action type="Var" cmd="set intown 0" />
		<action type="Equip" set="melee" />
	</if>
	<else>
		<if Advanced='"$staymelee"=="on"'>
			<action type="Equip" set="melee" />
		</if>
		<else>
			<action type="Equip" set="town" />
			<action type="Var" cmd="set intown 1" />
		</else>
	</else>
	<action type="Var" cmd="set justran 0" />
	<!--<action type="Command">text set gearset text "| %Weather | $hrs | $utsulast | %Spell |"--><!--</action>-->
	<action type="Cancelspell" />
</if>
<else>
<if BuffActive="charm|stun|KO|sleep|petrification"><action type="Cancelspell" /><action type="Return" /></if>
<!--<action type="Command">text set gearset text "| %Weather | $hrs | $utsulast | %Spell |"--><!--</action>-->
<if advanced='"$justran"=="0" AND "$intown"=="0"'>
	<if advanced='"%EquipHead"!=""'><action type="Var" cmd="set CustHead %EquipHead" /></if>
	<if advanced='"%Equipneck"!=""'><action type="Var" cmd="set CustNeck %Equipneck" /></if>
	<if advanced='"%EquipLear"!=""'><action type="Var" cmd="set CustLear %EquipLear" /></if>
	<if advanced='"%EquipRear"!=""'><action type="Var" cmd="set CustRear %EquipRear" /></if>
	<if advanced='"%EquipBody"!=""'><action type="Var" cmd="set CustBody %EquipBody" /></if>
	<if advanced='"%EquipHands"!=""'><action type="Var" cmd="set CustHand %EquipHands" /></if>
	<if advanced='"%EquipLRing"!=""'><action type="Var" cmd="set CustLring %EquipLRing" /></if>
	<if advanced='"%EquipRRing"!=""'><action type="Var" cmd="set CustRring %EquipRRing" /></if>
	<if advanced='"%EquipBack"!=""'><action type="Var" cmd="set CustBack %EquipBack" /></if>
	<if advanced='"%EquipWaist"!=""'><action type="Var" cmd="set CustWaist %EquipWaist" /></if>
	<if advanced='"%EquipLegs"!=""'><action type="Var" cmd="set CustLegs %EquipLegs" /></if>
	<if advanced='"%EquipFeet"!=""'><action type="Var" cmd="set CustFeet %EquipFeet" /></if>
	<action type="Var" cmd="set justran 1" />
</if>
 
<if spell="autoset">
	<action type="equip" when="resting" set="Resting" /> 
	<action type="Command" when="engaged|Idle">input /ma Stonega IV</action>
</if>
 
<if mode="AND" Type="WeaponSkill" NotTPLT="100" notBuffActive="amnesia">
	<action type="GearDelay" delay=".5" />
	<if spell="Blade: Chi|Blade: Rin|Blade: Kamu"><action type="Equip" set="WSgear" /></if>
	<if spell="Blade: Ten|Blade: Retsu"><action type="Equip" set="Soil" /></if>
	<if spell="Blade: Jin"><action type="Equip" set="Breeze" /></if>
	<if spell="Blade: Ku"><action type="Equip" set="Breeze" /></if>
	<if spell="Blade: To"><action type="Equip" set="Breeze" /></if>	
		<if Advanced='"$hrs"=="Night"'/>
			<if advanced='"%EquipHands"!="$wshands"'>
				<action type="Equip"><hands>$hand2</hands></action>
			</if>
		</if>
</if>
 
<if mode="AND" Type="JobAbility" notBuffActive="amnesia">
	<if spell="Provoke|Warcry">
		<action type="equip" set="Enmity" />
	</if>
</if>
 
<if mode="AND" Type="Ninjutsu" notBuffActive="silence">
	<if spell="Katon: *|Hyoton: *|Huton: *|Doton: *|Raiton: *|Suiton: *">
		<action type="equip" set="Enfeebling" />
	</if>
 
	<if spell="Jubaku: *|Hojo: *|Kurayami: *|Dokumori: *">
		<action type="equip" set="Ninjaskill" />
	</if>
 
	<if spell="Utsusemi*|Tonko*|Mono*">
		<action type="equip" set="fastcast" />
 
	<if advanced='"%EquipHands"!="$fasthands"'>
		<action type="Equip"><hands>$hand2</hands></action>
	</if>
 
		<if spell="Utsusemi: Ni">
			<action type="var" cmd="set utsulast Ni" />
		</if>
 
		<if spell="Utsusemi: Ichi">
			<if advanced='"$utsulast"=="Ni"'>
				<action type="midcastdelay" delay="2.5" />
				<action type="Command" when="midcast">cancel 66</action>
			</if>
			<action type="var" cmd="set utsulast Ichi" />
		</if>
		<if spell="Mono*">
			<action type="midcastdelay" delay=".2" />
			<action type="command" when="midcast">cancel 71</action>
		</if>
	</if>
 
</if>
<action type="AfterCastDelay" delay="1" />
<action type="Command" when="aftercast">input /ma Stonega IV</action>
</else>
</rules>
</spellcast>
plugins/spellcast/userxml/nin/rb_nin.txt · Last modified: 2009/08/08 14:00 (external edit)
www.chimeric.de Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0