Gaiters Swap

Language: JP EN DE FR
2010-09-08
New Items
users online
Forum » Windower » Spellcast Scripting » Black Mage » Gaiters swap
Gaiters swap
 Odin.Myhnegon
Offline
Server: Odin
Game: FFXI
user: Myhnegon
Posts: 33
By Odin.Myhnegon 2012-10-10 03:30:25
Link | Quote | Reply
 
i'm trying to do an easy gaiters swap, but only when i nuke
Code
<?xml version="1.0" ?>
<spellcast>                     
       <rules>
        <if SpellTargetType="Monster"> 
         <equip when="midcast"> <Feet>Goetia Sabots +2</Feet> </equip>
         <equip when="aftercast"> <Feet>Herald's Gaiters</Feet> </equip>
       </if>
      </rules>
</spellcast>


without the if rule, it works, but just for any spell, which isn't what i have in mind. but with the if rule it doesn't do anything at all

anyone able to help plz?
 Asura.Milkmanskid
VIP
Offline
Server: Asura
Game: FFXI
user: Demmis
Posts: 14
By Asura.Milkmanskid 2012-10-10 04:02:06
Link | Quote | Reply
 
From what I've been told and the one time I tried to use it
This: SpellTargetType="Monster" has been broken for a long time and for a lot of things you can get away with npc. Also you could just tell it for these types of magic enfeebling,elemental,divine,dark, etc... ones that you'd only be casting on a mob. Or you could tie them together so lets say you curing you adventurer fellow or some random quest/bcnm npc it won't swap either.
 Sylph.Hitetsu
Offline
Server: Sylph
Game: FFXI
user: Hitetsu
Posts: 2617
By Sylph.Hitetsu 2012-10-10 04:15:00
Link | Quote | Reply
 
Milkmanskid covered it, try changing it to:

<if skill="ElementalMagic" notspell="Rasp|Choke|Drown|Shock|Frost|Burn">
 Asura.Milkmanskid
VIP
Offline
Server: Asura
Game: FFXI
user: Demmis
Posts: 14
By Asura.Milkmanskid 2012-10-10 04:28:29
Link | Quote | Reply
 
Sylph.Hitetsu said: »
Milkmanskid covered it, try changing it to:

<if skill="ElementalMagic" notspell="Rasp|Choke|Drown|Shock|Frost|Burn">

Ah thats perfect for it totally had missed were he said nuke! I just saw the code and presumed he wanted it for any spell if he/she was casting on a mob.
 Odin.Myhnegon
Offline
Server: Odin
Game: FFXI
user: Myhnegon
Posts: 33
By Odin.Myhnegon 2012-10-10 07:22:28
Link | Quote | Reply
 
thx guys, thats working for me^^
Log in to post.