Xml Help Please?

言語: JP EN DE FR
2010-06-21
New Items
users online
フォーラム » FFXI » Jobs » Corsair » xml help please?
xml help please?
Offline
Posts: 4
By OmniClim 2012-07-12 06:47:59  
Hi, I'm quite new to using spellcast but I've already made some spellcast sets myself to switch gear etc... I'm just looking for some help to make one that equips the fire obi only when its firesday / fire weather for wildfire. Can anyone help please?
 Bahamut.Bekisa
Offline
サーバ: Bahamut
Game: FFXI
Posts: 596
By Bahamut.Bekisa 2012-07-12 06:56:37  
pretty crude XML here that I just made while waiting for my pizza to bake, pretty sure you insert this into a random XML and it will work, or at least give you an idea.

Check Windower as well, there has to be one uploaded there.

Code
<if Spell="Wildfire">	
	<if advanced='("%WeatherElement" = "Fire" OR "%DayElement" = "Fire")'>
		<action type="equip" when="precast" set="fire-obi-set-here"/>
	</if>
	<else>
		<action type="equip" when="precast" set="normal-belt-set-here" />
	</else>
</if>


PS - I'm a really old school spellcast user who hasn't had a real need to upgrade to newer stuff. I'm sure there is an easier way to do this by now so maybe someone else will chime in here for you.
[+]
 Sylph.Binckry
Offline
サーバ: Sylph
Game: FFXI
user: Binckly
Posts: 529
By Sylph.Binckry 2012-07-12 11:16:51  
Code
<if spell="Wildfire">
			<equip when="precast" set="Wildfire" />
			<if MPPLT="50">
				<equip when="precast">
					<neck lock="yes">Uggalepih Pendant</neck>
		</equip>
		</if>
			<if Advanced='"%DayElement" = "%SpellElement" OR "%WeatherElement" = "%SpellElement"'> 
				<if Element="Fire">
				<equip when="precast">
					<waist lock="yes">Karin Obi</waist>
				</equip>
			</if>
			</if>
</if>

This is my Wildfire rule, I actually just changed the weather and day part right now, because I realized I only had it set for <if Buffactive="Firestorm">.
[+]
Offline
Posts: 4
By OmniClim 2012-07-23 13:12:43  
Thanks very much guys :)
Im currently using this in my spellcast now and it works fine.
Wildfire [Impossible to Guage] :)
Log in to post.