In Need Of AMAZING War Spellcast Q.q |
||
In need of AMAZING war spellcast q.q
I'd love to add restraint up/down sets to my spellcast and if I could do a inside and outside of abyssea setup. If anyone knows how to add those your help would be much appreciated!
Bismarck.Olebisque said: » I'd love to add restraint up/down sets to my spellcast and if I could do a inside and outside of abyssea setup. If anyone knows how to add those your help would be much appreciated! Code <if area="Abyssea*"> <if type="Weaponskill"> <if spell="Ukko's Fury"> <equip when="precast" set="Ukkosabyssea" /> <equip when="aftercast" set="WarGaxefight" /> </if> </if> </if> <elseif notArea="Abyssea*"> <if spell="Ukko's Fury"> <equip when="precast" set="Ukkos" /> <equip when="aftercast" set="WarGaxefight" /> </if> </elseif> Code <if area="Abyssea*"> <if spell="Ukko's Fury"> <equip when="precast" set="Ukkosabyssea" /> <equip when="aftercast" set="WarGaxefight" /> </if> </if> <else> <if spell="Ukko's Fury"> <equip when="precast" set="Ukkos" /> <equip when="aftercast" set="WarGaxefight" /> </if> </else> This doesnt work ? Why do you need to add a elseif ? Bismarck.Gael said: » Code <if area="Abyssea*"> <if spell="Ukko's Fury"> <equip when="precast" set="Ukkosabyssea" /> <equip when="aftercast" set="WarGaxefight" /> </if> </if> <else> <if spell="Ukko's Fury"> <equip when="precast" set="Ukkos" /> <equip when="aftercast" set="WarGaxefight" /> </if> </else> This doesnt work ? Why do you need to add a elseif ? <if buffactive="Visitant*">
works as well, if the other one didn't for you. you can also add "Potency" and the like to the same line to save space if you really want to heh Cerberus.Quipto said: » It does work, I believe. It just gives you a warning on how it's bad coding practice or something like that. Having the undefined <else> tag and what not. Technically both examples posted are bad coding practice, but not for that reason. They're both organized poorly. You'd want to write it like this: Code <if spell="Ukko's Fury"> <if area="Abyssea*"> <equip when="precast" set="Ukkosabyssea" /> </if> <else> <equip when="precast" set="Ukkos" /> </else> <equip when="aftercast" set="Wargaxefight" /> </if> <if type="weaponskill"> wouldn't do anything at all unless you're 1) compartmentalizing and 2) handling sets for multiple weaponskills, in which case you'd optimally be using <elseif type="weaponskill"> instead and putting it outside the code I showed above. It's also cleaner to handle aftercast all at once, so what you should do is do away with <equip when="aftercast" set="Wargaxefight" /> within that section and handle your aftercast with the more common status check method at the end of the xml. |
||
All FFXI content and images © 2002-2024 SQUARE ENIX CO., LTD. FINAL
FANTASY is a registered trademark of Square Enix Co., Ltd.
|