what spellcast rules cancel WS if you are out of range?
what spellcast rules cancel WS if you are out of range?
Remove $Distance and use the number if you don't wish to use a variable.Code:<include name="ReturnRules"> <if notSpell="$TriggerSetOne|$TriggerSetTwo|$TriggerSetThree"> <if BuffActive="Sleep|Petrification|Stun|Terror|Charm|Illusion|Egg"> <return /> </if> <elseif spell="Ranged"> <if advanced='"%SpellTargetDistance" > "24.9"'> <return /> </if> </elseif> <elseif Type="PetCommand|*BloodPact*" notPetISValid="TRUE"> <return /> </elseif> <elseif Type="*Magic|BardSong|Ninjutsu" BuffActive="Silence|Mute|Omerta"> <return /> </elseif> <elseif Type="Weaponskill|JobAbility|PetCommand|CorsairRoll|CorsairShot|Scholar" BuffActive="Amnesia|Impairment"> <return /> </elseif> <elseif type="Weaponskill"> <if mode="OR" TPLT="100" advanced='%SpellTargetDistance > $Distance' notstatus="engaged"> <cancelspell /> <return /> </if> </elseif> </if> </include>
what is the standard range for melee WSs?
Depends on the mob. If you're more than 5.0 from a colibri, you'll probly lose your TP for being too far away. But if you set your limit to 5.0, you'll never be able to weaponskill a behemoth, since the -closest- you can get it like 8.0.
Addendum: I might set my limit to like 12.0. It won't stop problems with close mobs, but at least it'll stop you from losing TP when you accidentally change target to a way far away mob.
MP shouldn't be getting low at all since it keeps refresh on you full time, so that rule isn't set up to rest. You've got something going wrong with how you put the rule in, or you're not using enough refresh gear or something.
So then like that?Code:<include name="ReturnRules"> <if notSpell="$TriggerSetOne|$TriggerSetTwo|$TriggerSetThree"> <if BuffActive="Sleep|Petrification|Stun|Terror|Charm|Illusion|Egg"> <return /> </if> <elseif spell="Ranged"> <if advanced='"%SpellTargetDistance" > "24.9"'> <return /> </if> </elseif> <elseif Type="PetCommand|*BloodPact*" notPetISValid="TRUE"> <return /> </elseif> <elseif Type="*Magic|BardSong|Ninjutsu" BuffActive="Silence|Mute|Omerta"> <return /> </elseif> <elseif Type="Weaponskill|JobAbility|PetCommand|CorsairRoll|CorsairShot|Scholar" BuffActive="Amnesia|Impairment"> <return /> </elseif> <elseif type="Weaponskill"> <if mode="OR" TPLT="100" advanced='%SpellTargetDistance > 12.0' notstatus="engaged"> <cancelspell /> <return /> </if> </elseif> </if> </include>
Yep.
Working on a new BLU spellcast, taking some elements from a DRK spellcast I got from someone on FFXIAH (think it was Nightfyre). Trying to write a lane to equip Mavi Mintan +2 over Thaumas Body when below 51% MP, want to properly edit this second line of code to reflect that since I'm derping right now. figured MPP = "50" but not familiar with this type of code since it's just something I lifted from someone else's XML
Code:<if status="Engaged" advanced='"$EngagedRefreshBody"!="off"'> <if MPP ="100"> <var cmd="set EngagedRefreshBody Bypass"/> </if> <else> <var cmd="set EngagedRefreshBody RefreshBody"/> </else> </if>
Should be <if MPPLT="50">
MPP is MP Percent
LT is Less Than
Spoilered the previous comment since that before I looked at his XML. The previous comment works, but if you're tailoring to his XML, I see why he wrote some stuff the way he did.
Spoiler: show
<if status="Engaged" advanced='"$EngagedRefreshBody"!="off"'>Code:<if status="Engaged" advanced='"$EngagedRefreshBody"!="off"'> <if MPP ="100"> <var cmd="set EngagedRefreshBody Bypass"/> </if> <else> <var cmd="set EngagedRefreshBody RefreshBody"/> </else> </if>
"If you're engaged to a mob and EngagedRefreshBody is not set to off"
- The idea here is to only change the variables when you're engaged and when you want to shift between bodies. The hidden benefit of this is that you don't need to use an extra variable as I did within my previous post. You only need that one variable.
<if MPP ="100">
<var cmd="set EngagedRefreshBody Bypass"/>
</if>
"If MP percent is 100%, change variable to non-Refresh body"
- Basically, if you have full MP, use TP body. In your case, use MPPLT="50" to say "MP Percent is less than 50%" or MPPGT="50" to say "MP Percent is greater than 50%"
<else>
<var cmd="set EngagedRefreshBody RefreshBody"/>
</else>
"If the previous condition is not met (i.e. if MP is not capped), then change variable to Refresh Body"
- What you place here depends on whether you used MPPLT or MPPGT previously. If you used MPPLT, use TP body here. If you used MPPGT, use Refresh body here.
Once this is done, you then either need to manually change the variable that activates/deactivates this rule or use a trigger spell.
Manual: /sc var set EngagedRefreshBody on OR /sc v s EngagedRefreshBody on
Trigger:
Code:<if spell="Fire V"> <cancelspell /> <if advanced='"$EngagedRefreshBody"!="off"'> <var cmd="set EngagedRefreshBody on" /> </if> <else> <var cmd="set EngagedRefreshBody off" /> </else> </if>
can delete this posted on wrong category ;(
I'm having a little trouble with this spellcast or (don't know how to use it properly?) I grabbed from the other thread. I only adjusted gear and that's probably missing stuff as well as replaced all instances of Rudra's with Mercy stroke.
No other rules changed. I added in both includes which I shall link below.
I'm going to download a new version of autoexec incase it was out of date and test some more in besieged hopefully.
It seems to have idle and swaps into the proper melee gear but when I use sneak attack it doesnt change in dex gear( I tested when both engaged and disengaged.) There might be other problems but I had to job change off of thf right after I started toying around.
I'm new to using spellcasts with trigger spells so maybe I was supposed to use that instead?
Main:
http://pastebin.com/2vcdwJDg
Includes.
http://pastebin.com/BtAREr77
http://pastebin.com/xCekMuPZ
That looks like an AE issue. Neither Includes nor the XML have a command to change the variables.
Updated Autoexec since it turned out to be outdated.
Where would I put that code in? PoisonV/diaga5 seem to work fine as a trigger spell.
Dancing Chains however doesn't seem to do anything which is what I figured.
It's my first time using autoexec so while I have a general idea of what to do it looks like a electronic game of Jenga right now. At least adjusting for assassin's charge will be easy.
http://pastebin.com/GxkTVF6P
Edit: You'll need to change the THF line since they seem to have changed the variables since.
Use /sc v s SA SA and /sc v s TA TA
Overwrote the old Autoexec.xml in the Autoexec folder. Still no changes. I dont know wtf I'm doing wrong.
Been testing via unloading then loading Autoexec and Spellcast.
Find mob.
Engage from a distance
Use sneak attack.
This may be the issue. Specifically, the rule saying commandprefix since that just hits any spell that isn't a buff/enfeeble and is a magic. Furthermore, "postcast" isn't the syntax lol.Code:<!-- Cancel spells (midcast delay may need to be changed) Requires Cancel plugin running --> <if Skill="EnhancingMagic"> <action type="equip" when="precast" set="Fastcast" /> <if Spell="Sneak" advanced='"%target"="<me>"'> <action type="midcastdelay" delay=".2" /> <action type="command" when="midcast">cancel 71</action> </if> <if Spell="Stoneskin"> <action type="midcastdelay" delay="3" /> <action type="equip" when="midcast" set="Stoneskin"/> <action type="command" when="midcast">cancel 37</action> </if> <elseif spell="Utsusemi: Ichi"> <action type="midcastdelay" delay="1" /> <action type="Command" when="midcast">cancel 66</action> </elseif> <elseif spell="Spectral Jig"> <action type="Command" when="precast">cancel 71</action> </elseif> </if> <elseif Skill="EnfeeblingMagic" NotSpell="Dia*"> <action type="equip" when="midcast" set="EnfeeblingMagic"/> </elseif> <!-- Control for Spell Detection for Skill Sets, setting the gear and staffs--> <elseif CommandPrefix="/ma|/magic" NotSpell="Stoneskin"> <action type="equip" when="midcast" set="%Skill" /> </elseif> <if advanced='(string)"%SpellElement"=="Unknown"' /> <elseif advanced='(string)"%SpellElement"=="None"' /> <else> <action type="equip" when="precast" set="FastCast" /> <action type="equip" when="midcast" set="%SpellElementStaff" /> <action type="equip" when="postcast" set="Standard" /> </else>