Quoted from "BloodyArrow;502868"
Hey,
I did that mrmisterwaa but nothing happens when I press the macro then.
And 1 more question, how do I activate back the auto targeting mobs/elites/bosses when I kill my target? Now I need to press tab which I'm not used to.
I play on S/W often so that why I ask about this target next enemy, noticed it when I did Goblin Mines and it did not work.
- B
Quoted from "mrmisterwaa;502880"
You might want to tweet it so that if you are in a party (or a scout) it can work again.
I will have to check in game as to what it might be wrong but if you look at my signature I have information on how to get target's debuffs that can be used to give you the ID number for Shadowstab etc.
Quoted from "mrmisterwaa;480680"
RogueScout v1.1
![]()
Source code
1{ name = "Low Blow", use = (((EnergyBar1 >= 25) and (tbuffs[500654])) or (tbuffs['Energy Thief'])), timer = "LBBleed", ignoretimer = not tbuffs['Energy Thief'] },
Quoted from "doodoobird;502919"
one question: what does this line mean exactly? i mean the ignoretimer.
namely: tbuff is the target buff not? and energy thief is a player buff.
if i understand correctly, if energy thief is not present it will execute the skill despite being on timer.
i must be getting something wrong here.
can someone explain it to me in uman terms please?
i know some lua, but this time of night (europe) i cannot really get logic.
thanks!
|
|
Source code |
1 |
timer = "LBBleed", ignoretimer = not tbuffs['Energy Thief'] |
|
|
Source code |
1 2 3 4 |
if the target doesn't have the Energy Thief debuff
spam Low Blow as fast as possible (GCD still applies of course)
otherwise
only use Low Blow when the custom timer says it's time.
|
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 |
-- Class: Mage/Druid
-- DIYCE 2.2
elseif mainClass == "MAGE" and subClass == "DRUID" then
-- Silence
Skill = {
{ name = "Silence", use = (silenceThis) },
-- Potions
{ name = "Action: "..healthpot, use = (phealth <= .50) },
{ name = "Action: "..manapot, use = ((pctEB1 <= .50) and (phealth >= .50)) }, -- only mana pot if decent health
-- Heals
{ name = "Recover", use = ((phealth <= .60) and not pbuffs['Recover']) },
{ name = "Recover", use = (phealth <= .30) },
{ name = "Recover", use = ((phealth <= .90) and not combat) }, -- top off before fight
-- Buffs
{ name = "Perception", use = (not pbuffs['Perception']) }, -- Mage/Druid Elite 15
--{ name = "Magic Target", use = (not combat and not pbuffs['Magic Target']) }, -- Mage/Druid Elite 20
{ name = "Savage Blessing", use = (not pbuffs['Savage Blessing']) },
{ name = "Energy Influx", use = (not pbuffs['Energy Influx']) },
{ name = "Energy Well", use = ((boss or elite) and (not pbuffs['Energy Well'])) },
--{ name = "Fire Ward", use = (not pbuffs['Fire Ward']) },
{ name = "Electrostatic Charge", use = (not pbuffs['Electrostatic Charge']) },
-- In case Electrostatic Charge is still on cooldown and you're getting hit hard
{ name = "Mother Earth's Protection", use = ((phealth <= .30) and not pbuffs['Electrostatic Charge']) },
{ name = "Elemental Catalysis", use = (boss and not pbuffs['Elemental Catalysis']) },
{ name = "Intensification", use = (boss and not pbuffs['Intensification']) },
}
-- Ranged Attack
if enemy then
Skill2 = {
--{ name = "Electric Bolt", use = (boss and not tbuffs['Electric Flow']) },
{ name = "Elemental Weakness", use = (boss and not tbuffs['Elemental Weakness']) },
{ name = "Magma Blade", use = (true) },
{ name = "Fireball", use = (true) },
{ name = "Lightning", use = (not tbuffs['Lightning']) },
{ name = "Flame", use = (boss and tbuffs['Elemental Weakness']) },
{ name = "Phoenix", use = (combat and melee) },
{ name = "Discharge", use = (combat and melee) },
{ name = "Meteor Shower", use = (true) },
{ name = "Earth Pulse", use = (combat and melee) },
{ name = "Plasma Arrow", use = (not pbuffs['Charged']) },
}
end
|
Quoted from "Peryl;502921"
A
So in the end, what this all boils down to is the following:
![]()
Source code
1 2 3 4if the target doesn't have the Energy Thief debuff spam Low Blow as fast as possible (GCD still applies of course) otherwise only use Low Blow when the custom timer says it's time.
Quoted from "Peryl;502921"
However, since the timer acts as an extra cooldown timer, and in this particular case we actually want to spam the skill as fast as possible if the target doesn't have the Energy Thief debuff on it yet, we tell DIYCE to ignore the custom timer if the target doesn't have the debuff. Hence the logic shown.
So in the end, what this all boils down to is the following:
![]()
Source code
1 2 3 4if the target doesn't have the Energy Thief debuff spam Low Blow as fast as possible (GCD still applies of course) otherwise only use Low Blow when the custom timer says it's time.

|
|
Source code |
1 |
{ name = "Low Blow", use = ((EnergyBar1 >= 25) and (tbuffs[500654])) , timer = "LBBleed", ignoretimer = [B]p[/B]buffs['Energy Thief'] },
|
Quoted from "Peryl;502921"
As I wrote most of the support code and changes to handle all the timer goo (and I'm in a particularly helpful mood), I'll explain.
You need to look at both of these to kind of get what is going on here.
The timer part is telling DIYCE that you want to use a custom timer as a cooldown timer. Specifically, the custom timer called LBBleed.
![]()
Source code
1 timer = "LBBleed", ignoretimer = not tbuffs['Energy Thief']
However, since the timer acts as an extra cooldown timer, and in this particular case we actually want to spam the skill as fast as possible if the target doesn't have the Energy Thief debuff on it yet, we tell DIYCE to ignore the custom timer if the target doesn't have the debuff. Hence the logic shown.
So in the end, what this all boils down to is the following:
![]()
Source code
1 2 3 4if the target doesn't have the Energy Thief debuff spam Low Blow as fast as possible (GCD still applies of course) otherwise only use Low Blow when the custom timer says it's time.
|
|
Source code |
1 |
{ name = "Low Blow", use = (((EnergyBar1 >= 25) and (tbuffs[500654])) or (pbuffs['Energy Thief'])), timer = "LBBleed", ignoretimer = pbuffs['Energy Thief'] },
|
Quoted from "mrmisterwaa;503030"
It would ignore the timer for LBBleed if Energy Thief buff is on the player correct?
![]()
Source code
1{ name = "Low Blow", use = (((EnergyBar1 >= 25) and (tbuffs[500654])) or (pbuffs['Energy Thief'])), timer = "LBBleed", ignoretimer = pbuffs['Energy Thief'] },
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
--Select Next Enemy
if (tDead) then
TargetUnit("")
TargetNearestEnemy() -- This row is the one I inserted
return
end
if mainClass == "RANGER" and (not party) then --To keep scouts from pulling mobs without meaning to.
if (not LockedOn) or (not enemy) then
TargetNearestEnemy()
return
end
elseif mainClass ~= "RANGER" then --Let all other classes auto target.
if (not LockedOn) or (not enemy) then
TargetNearestEnemy()
return
end
|
Quoted from "gogo69er;503269"
Anyone got any builds for m/r? been looking few hours havnt came up with anything as of yet
Quoted from "mrmisterwaa;503030"
LOL.
I just realised I forgot to fix that in the one I posted.
It's supposed to be pbuffs instead of tbuffs.
So wait Peryl, since you just went over the logic.
If I were to switch it to ...
It would ignore the timer for LBBleed if Energy Thief buff is on the player correct?
![]()
Source code
1{ name = "Low Blow", use = (((EnergyBar1 >= 25) and (tbuffs[500654])) or (pbuffs['Energy Thief'])), timer = "LBBleed", ignoretimer = pbuffs['Energy Thief'] },
|
|
Source code |
1 |
local useit = type(Skill[x].use) == "function" and Skill[x].use() or Skill[x].use; |


dunno what happens if it is set for 0.2 or smaller, i think it would take away from your dps, but would be more stable in case of lags. any info here is greatly appreciated.
i also made a lot of custom scripts, but without this good ground i would still be mashing buttons like a neanderthal.