COR.xml Bullet Swap

Eorzea Time
 
 
 
言語: JP EN FR DE
日本語版のFFXIVPRO利用したい場合は、上記の"JP"を設定して、又はjp.ffxivpro.comを直接に利用してもいいです
370 users online
フォーラム » Windower » Spellcast Scripting » Corsair » COR.xml Bullet Swap
COR.xml Bullet Swap
 Odin.Brahk
Offline
サーバ: Odin
Game: FFXI
user: Brahk
Posts: 46
By Odin.Brahk 2013-12-27 17:45:04  
Hi,

I'm trying to set my ammo equip for weaponskills in my .xml file. Basically what I'm looking to accomplish is if I have Adlivun Bullets on me, I want that to be the bullet that fires during weaponskills. However, there may be times I'd prefer not to waste those (lower content etc). So if I don't have the Adlivun bullets on me, I want it to go to the next bullet (let's just say Titanium Bullets). How would I accomplish this coding? Here's what I've been trying to work with so far.

<if type="WeaponSkill">
<equip when="precast" set="WS" />
<equip when="precast">
<ammo>Adlivun Bullet</ammo>
</equip>
<else>
<equip when="precast">
<ammo>Titanium Bullet</ammo>
</equip>
</else>
</if>

It loads the Adlivun Bullet fine, but I can't get it to load the Titanium bullet. Any thoughts on what I can change? Thanks and much appreciated.

~Brahk