Can't Cast Paralyna And Silena

Eorzea Time
 
 
 
言語: JP EN FR DE
日本語版のFFXIVPRO利用したい場合は、上記の"JP"を設定して、又はjp.ffxivpro.comを直接に利用してもいいです
358 users online
フォーラム » Windower » Spellcast Scripting » Other » Can't cast paralyna and silena
Can't cast paralyna and silena
 Cerberus.Kellyn
Offline
サーバ: Cerberus
Game: FFXI
user: tonylo
Posts: 14
By Cerberus.Kellyn 2013-03-02 11:19:31  
Hi, I just started playing again after almost a year long break. I've run into a couple problems with spellcast. For some reason it will not let me cast paralyna or silena whether it's by macro or manually yet I can cast other -na spells. It's giving me the "You cannot attack that target" message. Anyone else have this problem or know the solution?
 Lakshmi.Aelius
VIP
Offline
サーバ: Lakshmi
Game: FFXI
user: Aelius
By Lakshmi.Aelius 2013-03-02 11:22:46  
Probably would be best if you show us your macros/code.
 Asura.Rucks
Offline
サーバ: Asura
Game: FFXI
user: Seravolk
Posts: 207
By Asura.Rucks 2013-03-02 11:23:55  
Update your resources file if you haven't already, with the addition of the new GEO and RUN spells, a lot of the ID's have been switched around.
 Asura.Tamoa
Offline
サーバ: Asura
Game: FFXI
user: Tamoa
Posts: 1337
By Asura.Tamoa 2013-03-02 11:25:48  
I don't know, kind of sounds like your xml is set up so it somehow thinks you're trying to cast paralyze and silence instead?
 Cerberus.Kellyn
Offline
サーバ: Cerberus
Game: FFXI
user: tonylo
Posts: 14
By Cerberus.Kellyn 2013-03-02 15:36:02  
hmm guess you're right... i just looked at the rdm xml... and it has rules to change to paralyze and silence lol... but they used to work... i think... idk i got the xml from a friend. My macros are just basic /ma paralyna <stpc>, /ma silena <stpc>

is there a way to get these to work still or should i just take it all out?

<!-- spell-reps -->
<if mode="AND" spell="paralyna|silena|haste" targetype="monster">
<if spell="paralyna">
<action type="changespell" spell="Paralyze"/>
</if>

<elseif spell="silena">
<action type="changespell" spell="silence"/>
</elseif>

<else>
<action type="changespell" spell="slow"/>
</else>
</if>

<if mode="AND" spell="paralyze|silence|slow" targettype="Self|Player">
<if spell="paralyze">
<action type="changespell" spell="paralyna"/>
</if>

<elseif spell="silence">
<action type="changespell" spell="silena"/>
</elseif>

<else>
<action type="changespell" spell="haste"/>
</else>
</if>
 Bismarck.Tragedie
Offline
サーバ: Bismarck
Game: FFXI
Posts: 322
By Bismarck.Tragedie 2013-03-02 16:22:25  
I'd just take em out if you're not gonna use them
 Fenrir.Jinjo
VIP
Offline
サーバ: Fenrir
Game: FFXI
user: Minjo
Posts: 2269
By Fenrir.Jinjo 2013-03-02 16:29:14  
I don't use this rule but I imagine the issue could be with "targetype".
 Ramuh.Austar
Online
サーバ: Ramuh
Game: FFXI
user: Austar
Posts: 9737
By Ramuh.Austar 2013-03-02 17:39:32  
If you copy pasted it directly, you spelled targettype wrong in the first line as targetype
Code
<if spell="paralyna|silena|haste" SpellTargetType="monster">
    <if spell="paralyna">
        <changespell spell="Paralyze" />
    </if>
    <elseif spell="silena">
        <changespell spell="silence" />
    </elseif>
    <else>
        <changespell spell="slow" />
    </else>
</if>
<if spell="paralyze|silence|slow" SpellTargetType="Self|Player">
    <if spell="paralyze">
        <changespell spell="paralyna" />
    </if>
    <elseif spell="silence">
        <changespell spell="silena" />
    </elseif>
    <else>
        <changespell spell="haste" />
    </else>
</if>
 Cerberus.Kellyn
Offline
サーバ: Cerberus
Game: FFXI
user: tonylo
Posts: 14
By Cerberus.Kellyn 2013-03-05 10:08:59  
oh haha... it was either like that when I got the xml or I accidentally deleted a "t"

Thank you all very much for the help!