Rapture Cure Set

Eorzea Time
 
 
 
Langues: JP EN FR DE
users online
Forum » Windower » Spellcast Scripting » Scholar » Rapture Cure Set
Rapture Cure Set
 Fenrir.Bricent
Offline
Serveur: Fenrir
Game: FFXI
Posts: 64
By Fenrir.Bricent 2013-11-16 23:27:03
Link | Citer | R
 
Anyone help me out I have my rapture cure set using savant's bonnet +2 but it will not equip when rapture is active it still equips my non-rapture build see below code.

<rules>
<if spell="Cure*|Cura*">
<if buffactive="Rapture">
<action type="equip" when="precast" set="precur"/>
<action type="equip" when="midcast" set="rapcur"/>
<if advanced='("%SpellElement"=="%DayElement")||("%SpellElement"=="%WeatherElement")'>
<action type="equip" when="midcast">
<waist>$%SpellElementObi</waist>
</action>
</if>
</if>
<action type="equip" when="aftercast" set="idle" />
</if>
<if spell="Cure*|Cura*">
<action type="equip" when="precast" set="precur"/>
<action type="equip" when="midcast" set="cur"/>
<if advanced='("%SpellElement"=="%DayElement")||("%SpellElement"=="%WeatherElement")'>
<action type="equip" when="midcast">
<waist>$%SpellElementObi</waist>
</action>
</if>
<action type="equip" when="aftercast" set="idle" />
</if>
</rules>
Offline
Posts: 614
By Aikawa 2013-11-16 23:56:13
Link | Citer | R
 
Aren't you using "if" instead "else"?
Offline
Posts: 122
By Dantedmc 2013-11-16 23:58:35
Link | Citer | R
 
The way you have it set up now, I think an else statement would work. Though it would probably be best to use "lock" instead of having a set called rapcur.

i.e

<if buffactive ="rapture|ebullience">
<equip when="midcast">
<head lock="yes">Savant's Bonnet +2<head>
</equip>
</if>
 Fenrir.Bricent
Offline
Serveur: Fenrir
Game: FFXI
Posts: 64
By Fenrir.Bricent 2013-11-20 12:08:07
Link | Citer | R
 
thank you
 Alexander.Carrelo
Offline
Serveur: Alexander
Game: FFXI
user: Carrelo
Posts: 3706
By Alexander.Carrelo 2013-11-20 13:42:58
Link | Citer | R
 
Boy, ain't no cure set gon' save yer *** when the rapture comes a-callin'.