Quoted from "Peryl;589758"
That explains the movement oddity. Since TS is an area of effect spell, this may explain the movement if the game moves you in range of the location you are trying to cast it on.
As to the game moving you while merely hovering the mouse, well that would appear to be a bug (a bug! ... gasp, say it ain't so!) though it occurs to me that you could use that as a "feature" (or minor exploit, depending on your view) by running around with the mouse cursor prepped for casting TS and you'd be a mere click away from casting it. Dunno if that would work but hey...
|
|
Source code |
1 |
/run for i,v in ipairs(BUG_MESSAGE_LIST) do DEFAULT_CHAT_FRAME:AddMessage("['..i..'] "..v) end
|
Quoted from "Peryl;589957"
That message means that it doesn't know what KillSequence is. The likeliest cause is that you have an error in the function and so it didn't actually load the function.
You should have a glowing icon next to the minimap with a description of the error, but it doesn't always show it. If you don't then try the following:
![]()
Source code
1/run for i,v in ipairs(BUG_MESSAGE_LIST) do DEFAULT_CHAT_FRAME:AddMessage("['..i..'] "..v) end
Quoted from "Peryl;589959"
That's the error from the macro itself, you likely have other errors as well. Click the previous button to see those though it sometimes doesn't like to show the first error (hence the macro I posted which will print out all the errors to the chat frame)
|
|
Source code |
1 2 |
local WHITE = "|cffffffff" local SILVER = "|cffc0c0c0" |
|
|
Source code |
1 |
{ name = "Shield Form", use =phealth <= 0.35 },
|
|
|
Source code |
1 |
Skill2 = {
|
Quoted from "Peryl;590038"
Line 145: You are checking the player percent health here, but you have a value of 0.1.5 which is not a valid number. Probably should read 0.15 instead. However, the second check after the or statement is also check player percent health with a value of 0.35. Since 0.15 is also less than 0.35, the first check is redundant. I suggest changing this line
sorry about my endings
.
Quoted from "RoMunited;590061"
For Shield Form I want it to be used (after more thinking) under 10% hp. Then for it to be used once again after 20% hp to return me to my normal state (you can't right-click the buff to remove it, you need to use the skill to remove it). I only want Shield form to be used once after I get above 20% because I lose strength and thus physical attack from going into shield form
Quoted from "Peryl;590096"
Then you'll want the skill twice in the list. The first is for turning it on, the second for turning it off. For turning on Shield form, do the health check for 10% as well as (use and) checking that you do not currently have the buff on you (I'm assuming it places a "buff" on you when you enter shield form).
For turning it off, check that your health percentage is at or above 20% and you do in fact have Shield Form active (again I'm assuming the buff is present in this case).
|
|
Source code |
1 2 3 |
{ name = "Shield Form", use = (phealth <= 0.10) and (not pbuffs['Shield Form']) },
{ name = "Shield Form", use = (phealth >= 0.20) and (pbuffs['Shield Form']) },
|
Quoted from "Peryl;590187"
As long as "Shield Form" is indeed the name of the buff then yes, that should be correct. If it has trouble with the buff as a name, you can try using the buff ID instead (use the ID the same way as the name, but do not put it in quotes).
If you don't know what the ID is, you can run KillSequence with the first parameter of "debugbufflist". The first buff list shown are the player buffs (if any). There is also a macro I wrote up floating around the forums (I think it is in the "useful macros" thread) that can show you the player buffs.

Quoted from "RoMunited;590192"
What do you mean by that?
|
|
Source code |
1 |
(pbuffs['Shield Form']) |
|
|
Source code |
1 |
if enemy and (mode == "DPS") then |
|
|
Source code |
1 |
use = (EnergyBar1 >= 20) and (silenceThis) |
Quoted from "Peryl;590193"
Line 182: I take it you still need to fill this one out as I'm unaware of any mobs called insert mob's name here![]()
|
|
Source code |
1 |
elseif enemy and (mode == "tank") and pbuffs("Shield Form") then
|
Quoted from "RoMunited;590195"
I farm them for insert item's name here....anyhooo

Quoted from "RoMunited;590195"
![]()
Source code
1elseif enemy and (mode == "tank") and pbuffs("Shield Form") then
Would that work as a way of making me only able to use the sequence when in shield form?
Quoted from "RoMunited;590195"
would there be a way to make me switch from "DPS" to "tank", the tank sequence without moving buffs around? (e.g tank dies and need someone to take aggro fast, but who would want to tank for those sucky healers) This would also need to switch dps gear to tanking gear. Maybe even I would be able to go so far as for diyce to recognize the "main tank" that you can set in a raid, and then if that player dies I switch, just in case I don't notice the screaming in vent.
|
|
Source code |
1 2 |
/run if UnitExists("focus1") and UnitHealth("focus1") > 0 then if CheckGear("DPS") then KillSequence("","DPS") else SwapGear("DPS") end end
/run if UnitExists("focus1") and UnitHealth("focus1") <= 0 then if CheckGear("tank") then KillSequence("","tank") else SwapGear("tank") end end
|
Quoted from "Peryl;590656"
Okay, took another look at your code and it seems all right at this point so there is probably something else failing. As you were not getting any errors at all in-game, I'm guessing it is the .toc file that is either bad or missing. Can you post the contents of that file?
|
|
Source code |
1 |
DIYCE.lua |