That entire file is a fucking mess. But my guess is that most of your sets do not have a baseset, causing weird things to happen with your gear switching. Also the rules look a bit jumbled, which is probably causing it problems. Also your delays are way too long, you only need .2.
Not exactly the reply I was hoping for here but it prompted me to get off my ass and write my own xml instead of changing another person's around. Its much simpler, but it works great. So in that sense, thank you!
Any good templates for rdm and whm? I'm prettymuch gonna jump off the deep end here and learn from the template. when I've learned something from that i can remake or organize my own better for other jobs. Stuff with lots of comments would be preferable but it aint your job to make shit easy for me so it doesn't matter much.
Edit: and brd too. those 3 seem like good ones for practice.
I have a General Question about Spellcast : in this Rule Example.
<if CommandPrefix="/ws|/weaponskill" HPPGT="74" >
<action type="equip" when="Aftercast" Set="Standard" />
</if>
Basictly i can read :
If BEFORE your weapons skills your HP is Greater then 74, Aftercast equip Standard.
My question is, How could i write rule that would mean
If AFTER you weapons skills your HP is Greater then 74, Aftercast equip Standard.
Thx
Actually I think it reads:
If *WHEN* you WS and your HP is GT 74%, then after WS equip Standard.
If you need to equip anything before (precast), I believe spellcast delays the WS to run equipment swaps before it gets used - There is no before/after.
I think this is what you're looking for, this will equip the set standard if your HP is > 74%, if it's less then it'll equip the set "differentset" so you can just change the name of that different set.Code:<if CommandPrefix="/ws|/weaponskill"> <action type="equip" when="Precast" Set="WS" /> <if HPPGT="74" <action type="equip" when="Aftercast" Set="Standard" /> </if> <else> <action type="equip" when="Aftercast" Set="differentset" /> </else> </if>
Feel noobish for the basic questions, but how do I implement a dark magic set and a fast cast set into casting drain/drainII/aspir?
Also, how about an HP set for dread spikes?
Having some trouble with my spellcast on Thief.
Basically I use a //sc set %StatusSet in my /target macro,
When I'm not engaged it swaps in my idle stuff, if I had a resting set it would swap in that when I'm resting too. That all works fine.
What it should do is swap in my TP gear if I'm engaged, the thing is my TP gear changes depending on my subjob, if nin I use DW/Acc mirke and suppa, if some other sub it uses Pixie and Homam body.
I want it to swap in whichever one depending on my subjob (/Nin or not /Nin) but atm it only swaps in the NotNIN set. If I switch the "TP" from "TP|TP-NotNIN" into the "TP|TP-NIN" set then it only uses that one. If I remove it completely it says "did not find set TP" etc.
Here's the code in question:
Code:<set name="TP|TP-NotNIN"> <head>Anwig Salade</head> <neck>Love Torque</neck> <lear>Pixie Earring</lear> <rear>Brutal Earring</rear> <body>Homam Corazza</body> <hands>Homam Manopolas</hands> <lring>Sniper's Ring</lring> <rring>Rajas Ring</rring> <back>Forager's Mantle</back> <waist>Swift Belt</waist> <legs>Enkidu's Subligar</legs> <feet>Homam Gambieras</feet> </set> <set name="TP-NIN" BaseSet="TP-NotNIN"> <body>Mirke Wardecors</body> <lear>Suppanomimi</lear> </set> <set name="Haste" BaseSet="TP-$subjobSet"> <head>Walahra Turban</head> <body>Rapparee Harness</body> <legs>Bravo's Subligar</legs> </set>Code:<if spell="autoset"> <if status="Engaged"> <if BuffActive="Sneak Attack"> <if BuffActive="Trick Attack"> <action type="equip" when="Engaged" set="SATA" /> </if> <elseif BuffActive="Victory March"> <action type="equip" when="Engaged" set="HasteSA" /> </elseif> <else> <action type="equip" when="Engaged" set="SA" /> </else> </if> <elseif BuffActive="Trick Attack"> <action type="equip" when="Engaged" set="TA" /> </elseif> <else> <action type="equip" when="Engaged" set="TP-$subjobSet" /> </else> </if> <action type="equip" when="idle" set="Idle" /> <action type="return" /> </if>Know how I can make that work?Code:<variables> <var name="EngagedSet">TP</var> <var name="IdleSet">Idle</var> <var name="subjobSet">NIN</var> </variables>
When I remove the "TP" and name the two sets just "TP-NIN" and "TP-NotNIN" and then type //sc set TP-$subjobSet it either says "can not find set TP" or it crashes the game
Halp D:
Does anyone have a good WHM xml that incorporates Dryad Staff? I got the drop by accident last week since I went to help a friend with Roc late one night.
Since I have the staff and am actually finishing up WHM, I figure I might as well use it.
I already wrote a script that switches it out for Terra's in idle/aftercast once the extra MP is gone, but need advice on how to deal with it when refilling MP pool.
General advice welcome. Thanks.
With this, you'd have to put a rule after specific actions for example: (rough example)
You have to place the bolded section after every rule you want SC to pick up your subjob(ws, or ranged)Code:<if prefix="/ws"> <equip when = "precast" set = "ws"> <if subjob="nin"> <equip when="aftercast" set="nin"> </if> <else> <equip when="aftercast" set="tp"> </else> </if>
I'm not 100% sure of you could place the subjob rule anywhere to encompass every action, but this is what i do for cor.
Hmm, is that the only way? To use a load of aftercasts =/?
I dont use any aftercasts on thf, unlike drg, rdm and brd. The problem is I can't use Aftercast commands for sneak and trick attacks, so even if I put aftercasts in for everything else, like you show, then i'm still boned for the innitial engage swap and for anytime after SA or TA.
It isn't the only way, it's just a way. You could always use autoexec for sneak/trick attacks
http://www.windower.net/plugins/spel...f/ineptvagrant
this is what I use for my thf.
Ok so Im having problems with my SC scripts doing actions based on events (like idle, engaged, resting). Can someone tell me what I'm missing?
Here is my thf code for instance, with the event based rules (changing between sets based on status) at the beginning of the rules section.
Any ideas why this isnt working?Code:<spellcast> <config/> <sets> <group name="shared" default="yes"> <!--Standard TP, low evasion mobs/Pizza/sushu, needs V.belt--> <set name="Haste_TP"> <head>Walahra Turban</head> <neck>Love torque</neck> <lear>Suppanomimi</lear> <rear>Brutal earring</rear> <body>Enkidu's harness</body> <hands>Homam manopolas</hands> <lring>Ulthalam's ring</lring> <rring>Iota ring</rring> <waist>Swift Belt</waist> <legs>Homam Cosciales</legs> <feet>Homam Gambieras</feet> <back>Forager's mantle</back> </set> <!--Swap to standing set when not engaged, add regen gear--> <set name="Standing" baseset="Haste_TP"> <feet>Trotter boots</feet> </set> <!--Haste set for Utsusemi--> <set name="haste" baseset="Haste_TP"> <rear>Loquac. Earring</rear> <body>Enkidu's harness</body> <back>Boxer's mantle</back> </set> <!--Unstacked TA set, upgrade AGI earrings--> <set name="trick attack" baseset="Haste_TP"> <body>Enkidu's harness</body> <hands>Rog. Armlets +1</hands> <legs>War Brais</legs> <feet>Enkidu's leggings</feet> <lring>Sattva Ring</lring> <rring>Iota Ring</rring> <neck>Hope Torque</neck> <head>Denali bonnet</head> <waist>Scouter's Rope</waist> <rear>Drone Earring</rear> </set> <!--Unstacked SA set, Get Relic hat, pixie earring, better rings --> <set name="sneak attack" baseset="Haste_TP"> <body>Dragon Harness</body> <legs>Enkidu's subligar</legs> <hands>Enkidu's Mittens</hands> <feet>Enkidu's leggings</feet> <waist>Warwolf Belt</waist> <rring>Iota Ring</rring> <lring>Spinel Ring</lring> <head>Enkidu's Cap</head> <neck>Love torque</neck> <lear>Delta Earring</lear> </set> <set name="steal" baseset="Haste_TP"> <head>Rogue's Bonnet</head> <hands>Thief's Kote</hands> <legs>Rogue's Culotte</legs> <feet>Rogue's Poulaines</feet> <waist>Key Ring Belt</waist> </set> <!--WS set: Needs work.. High/low Acc builds, str/dex rings, etc.--> <set name="ws" baseset="Haste_TP"> <head>Hecatomb cap</head> <neck>Love torque</neck> <body>Enkidu's harness</body> <hands>Enkidu's Mittens</hands> <legs>Enkidu's subligar</legs> <waist>Warwolf belt</waist> <feet>Hct. Leggings</feet> <lring>Ulthalam's ring</lring> <rring>Iota Ring</rring> <lear>Delta Earring</lear> <back>Forager's mantle</back> </set> <!--Ranged set: Better ranged body/legs? -> <set name="ranged" baseset="Haste_TP"> <head>Optical Hat</head> <hands>Enkidu's Mittens</hands> <lring>Behemoth Ring</lring> <rring>Behemoth Ring</rring> <legs>War Brais</legs> <body>Enkidu's harness</body> <neck>Faith torque</neck> <waist>Buccaneer's Belt</waist> <back>Jaeger Mantle</back> </set> <!--Obvious use, adds 15 seconds to flee--> <set name="flee" baseset="Haste_TP"> <feet>Rogue's Poulaines</feet> </set> </group> <!--TH Group, same as normal Haste_TP, just keeps TH hands on!!--> <group name="TH" inherent="shared"> <set name="Haste_TP"> <hands>Assassin's Armlets</hands> </set> </group> <!--Acc build! Need better acc rings, Ancient's Torque.--> <group name="ACC_TP" inherit="shared"> <set name="Haste_TP"> <back>Cuchulain's Mantle</back> <body>Homam Corazza</body> </set> </group> <!--Need Evasion rings--> <group name="evasion" inherit="shared"> <set name="Haste_TP"> <head>Optical Hat</head> <back>Boxer's Mantle</back> <hands>War Gloves</hands> <body>Enkidu's harness</body> <feet>Dance shoes</feet> <lear>Ethereal earring</lear> <rear>Novia earring</rear> <neck>Evasion Torque</neck> <legs>Raven hose</legs> <waist>Scouter's Rope</waist> </set> </group> <!--For lower end mobs soloing, mix of evasion and haste/acc--> <group name="Hybrid" inherit="shared"> <set name="Haste_TP"> <back>Boxer's Mantle</back> <body>Enkidu's harness</body> <head>Denali bonnet</head> </set> </group> </sets> <rules> <!--This will be caught by autoset events--> <if spell="autoset"> <equip when="engaged" set="Haste_TP" /> <equip when="idle" set="Standing" /> <action type="return" /> </if> <variables> <var name="Ut">Ichi</var> </variables> <if spell="Utsusemi:*"> <if spell="*Ichi"> <if advanced='"$Ut"=="Ni"'> <action type="midcastdelay" delay="2.8" /> <action type="Command" when="midcast">cancel 66 </action> </if> <action type="var" cmd="set Ut Ichi" /> </if> <else> <action type="var" cmd="set Ut Ni" /> </else> </if> <if spell = "Utsusemi*"> <if status="Engaged"> <equip when="aftercast" set="Haste_TP" /> </if> <elseif status="Idle"> <equip when="aftercast" set="Standing" /> </elseif> <action type = "equip" when = "precast" set = "haste"/> </if> <elseif Type = "JobAbility"> <if spell="Flee"> <action type="defaulttarget" target="<me>" /> <action type="equip" when="precast" set="flee" /> <action type="castdelay" delay="1" /> <action type="equip" when="aftercast" set="Standing" /> </if> <elseif Spell = "Steal"> <action type = "equip" when = "Precast" Set = "Steal"/> <action type="castdelay" delay="1" /> </elseif> <elseif spell="Sneak Attack"> <action type="aftercastdelay" delay="4.0" /> <if buffActive="Trick Attack"> <action type="equip" when="precast" set="sneak attack"/> </if> <else> <action type="equip" when="precast" set="sneak attack"/> </else> </elseif> <elseif spell="Trick Attack"> <action type="aftercastdelay" delay="4.0" /> <if buffActive="Sneak Attack"> <action type="equip" when="precast" set="sneak attack"/> </if> <else> <action type="equip" when="precast" set="trick attack"/> </else> </elseif> </elseif> <if spell="ranged"> <action type="equip" when="midcast" set="ranged" /> <if status="Engaged"> <equip when="aftercast" set="Haste_TP" /> </if> <elseif status="Idle"> <equip when="aftercast" set="Standing" /> </elseif> <action type="aftercastdelay" delay="3.5" /> </if> <if Type = "WeaponSkill"> <if TPGT="99" advanced='%SpellTargetDistance < 5.0'> <if spell="Dancing Edge|Evisceration"> <if buffActive="Sneak Attack"> <action type ="equip" set="ws"> <neck>Love torque</neck> <head>Hecatomb cap</head> <body>Enkidu's harness</body> <hands>Enkidu's Mittens</hands> <legs>Enkidu's subligar</legs> <waist>Warwolf belt</waist> <feet>Hct. Leggings</feet> <lring>Spinel Ring</lring> <rring>Iota Ring</rring> </action> </if> <elseif buffActive="Trick Attack"> <action type ="equip" set="ws"> <body>Enkidu's harness</body> </action> </elseif> <else> <action type ="equip" set="ws"> <neck>Soil Gorget</neck> </action> </else> </if> <elseif spell="Shark Bite"> <action type ="equip" set="ws"> <neck>Breeze Gorget</neck> </action> </elseif> <else> <action type="equip" when="precast" set="ws"/> <action type = "castdelay" delay = "1"/> </else> </if> <else> <action type="cancelspell" /> </else> </if> <action type ="equip" when="aftercast" set="Haste_TP"/> </rules> </spellcast>
That just effects the utsu casting and that is working just fine. Im just having problems with event based commands (i.e. going from idling to engaged, etc).
Cant figure it out >.<.
Replace this:
with this:Code:<if spell="autoset"> <equip when="engaged" set="Haste_TP" /> <equip when="idle" set="Standing" /> <action type="return" /> </if>
FYI: Aftercast is not the same as Idle. Idle is what happes after you exit Engaged or Resting status. Sets named "Idle", "Resting", and "Engaged":Code:<equip when="engaged" set="Haste_TP" /> <equip when="idle" set="Standing" />
Code:<equip when="Idle|Aftercast" set="%status" /> <equip when="Engaged" set="Engaged" />
Just quickly, I think the problem might have been the variable:
<var name="EngagedSet">TP</var>
When it should be:
<var name="EngagedSet">TP-%subjobSet</var>
With that, would my original code work?:
Reminder of bits in question:
Code:<set name="TP-NotNIN"> <head>Anwig Salade</head> <neck>Love Torque</neck> <lear>Pixie Earring</lear> <rear>Brutal Earring</rear> <body>Homam Corazza</body> <hands>Homam Manopolas</hands> <lring>Sniper's Ring</lring> <rring>Rajas Ring</rring> <back>Forager's Mantle</back> <waist>Swift Belt</waist> <legs>Enkidu's Subligar</legs> <feet>Homam Gambieras</feet> </set> <set name="TP-NIN" BaseSet="TP-NotNIN"> <body>Mirke Wardecors</body> <lear>Suppanomimi</lear> </set> <set name="Haste" BaseSet="TP-$subjobSet"> <head>Walahra Turban</head> <body>Rapparee Harness</body> <legs>Bravo's Subligar</legs> </set>Code:<if spell="autoset"> <if status="Engaged"> <if BuffActive="Sneak Attack"> <if BuffActive="Trick Attack"> <action type="equip" when="Engaged" set="SATA" /> </if> <elseif BuffActive="Victory March"> <action type="equip" when="Engaged" set="HasteSA" /> </elseif> <else> <action type="equip" when="Engaged" set="SA" /> </else> </if> <elseif BuffActive="Trick Attack"> <action type="equip" when="Engaged" set="TA" /> </elseif> <else> <action type="equip" when="Engaged" set="TP-$subjobSet" /> </else> </if> <action type="equip" when="idle" set="Idle" />