Subjob Rules

Eorzea Time
 
 
 
Language: JP EN FR DE
users online
Forum » Windower » Spellcast Scripting » Other » Subjob rules
Subjob rules
 Shiva.Silentknight
Offline
Server: Shiva
Game: FFXI
Posts: 17
By Shiva.Silentknight 2014-03-09 04:17:01
Link | Quote | Reply
 
i'm trying to make a rule for when i'm in my idle set, so if my sub is whm/rdm/blu... so no it'll equip 1 set, and diff subs will do a diffrent set.
 Bahamut.Rulerofdarkness
Offline
Server: Bahamut
Game: FFXI
Posts: 3620
By Bahamut.Rulerofdarkness 2014-03-09 08:35:18
Link | Quote | Reply
 
Code
<if subjob=WHM|RDM|BLU>
<equip when=idle set=setname>
<else>
<equip when=idle set=set2name>
</else>
</if>


I believe that is right, been forever since I did anything related to spellcast, or even FFXI. Could probably be a little more optimized though as far as # of lines.
 Shiva.Silentknight
Offline
Server: Shiva
Game: FFXI
Posts: 17
By Shiva.Silentknight 2014-03-09 15:12:55
Link | Quote | Reply
 
ty, don't ask me why i never just though to build a second idle set and trigger it like that >< got it working now with a little fixing
 Asura.Railbender
Offline
Server: Asura
Game: FFXI
user: Toknherb
Posts: 60
By Asura.Railbender 2014-03-09 15:15:41
Link | Quote | Reply
 
Same prob,worked for me too, thanks!
 Shiva.Silentknight
Offline
Server: Shiva
Game: FFXI
Posts: 17
By Shiva.Silentknight 2014-03-09 15:34:57
Link | Quote | Reply
 
Ok nvm i can get it to requip proper idle gear when i have WHM|RDM|BLU|DRK|BLM subbed, but i can't get it to requip idle gear with anything else, this is what i've got atm, not sure what i'm doing wrong.
Code
 <if status="Idle">  
	<if subjob="WHM|RDM|BLU|DRK|BLM">
		<action type="equip" when="aftercast" set="Idle" />
		<else>
		<if subjob="WAR|SAM|DNC|THF|MNK|BST|NIN">
		<action type="equip" when="aftercast" set="IdleM" />
		</if>
	   </else>
	  </if>
	</if>
 Shiva.Silentknight
Offline
Server: Shiva
Game: FFXI
Posts: 17
By Shiva.Silentknight 2014-03-09 15:38:29
Link | Quote | Reply
 
>< ok nvm got it, seems just splitting it into 2 different rules did the trick
Code
<if status="Idle">  
	<if subjob="WHM|RDM|BLU|DRK|BLM">
		<action type="equip" when="aftercast" set="Idle" />
	   </if>
	  </if>
		
	<if status="Idle">
		<if subjob="WAR|SAM|DNC|THF|MNK|BST|NIN">
		<action type="equip" when="aftercast" set="IdleM" />
		</if>
	  </if>