-
Posts
465 -
Joined
-
Last visited
Reputation Activity
-
Ohren got a reaction from 712538 in Fight Class Conditions
Example Three: Focus Fire!
Buff Stack -> Number of stack by buff of your character (buff name in english, case sensitive)
Focus Fire is a really awesome Beast Mastery spell. It uses Frenzy stacks generated by your pet to increase ranged haste. It is the heart to the BM hunter's DPS (that doesn't come from pet of course). In this example, we set it so Focus Fire is only called when your STACKS of Frenzy get to five, which is the max. This gives you 30% ranged haste for 20 seconds, whereas using it at a measly 1 stack only gives 6% for 20 seconds. This is ideal for boss rotations, but if you are simple bot gathering/grinding, it will probably never fire. So you can change the condition to fire at stacks BIGGER than 2. That is probably optimal for a gatherer.
-
Ohren got a reaction from 712538 in Fight Class Conditions
Example Two, adding Hunter's Mark to your fight class.
Target Buff -> Check if your target has buff (debuff) (buff name in english, case sensitive)
This will simple check if your target does not have the buff "Hunter's Mark", if you had this at true, it would only cast Hunter's Mark IF your target already had the buff, which just seems like a big 'ole waste of time. Also, notice how Hunter's Mark is below Mend Pet in the list. Spells that are on the top of the list will be cast first. In fight classes meant for soloing, I use Survivability > Offensive Cooldowns > Damage.
-
Ohren got a reaction from Pudge in Fight Class Conditions
Example Six: Awesome work-around.
Soo, this is a work-around for a feature I have suggested, which was to add a way to cast spells that are off the global cooldown, so you don't waste those precious few DPS (or if you're a warrior getting stuck at 100% rage frequently, that massive DPS).
LUA Script
In spell settings, change Check if know spell, is usable and good distance -> false.
How it works: When WRobot is looping your fight class, it runs each condition for the spells, if the first condition is not met, it doesn't ever check the second. So what it does here is, checks is my rage condition is met, if it does it checks if the lua script I set is true or false, while doing this the LUA script (CastSpellByName("Heroic Strike")) actually triggers the spell, then WRobot sees that retV is actually 1 and not 0 like we were looking for, and it goes on it's marry little way, without skipping a beat.
-
-
Ohren got a reaction from fragik in Dream of Cenarius Procs
Take a look at my guardian druid fight class. Healing touch works with DoC procs using the LUA I posted above.
-
Ohren got a reaction from fragik in Dream of Cenarius Procs
Alright, give this a shot.
Use it as a normal condition, but make sure you choose LUA script.
name, rank, icon, count, debuffType, duration, expirationTime, unitCaster, isStealable, shouldConsolidate, spellId= UnitAura("player", "Dream of Cenarious");retV = count; Return value var needs to be retV and return value research needs to be 1.
-
Ohren got a reaction from fragik in Dream of Cenarius Procs
It's something to do with buffs, I have the same issue with using Crimson Scourge on my Death Knight, it detects that you constantly have the buff on, I can't remember how I used to work around it, but I will find the LUA snippet I had, or make a new one.
-
Ohren got a reaction from LunaAlfie in Fight Class Heal sample
20 paladins?! Why not just make one blood DK?! About the same thing.
-
Ohren got a reaction from Ketefil in Dream of Cenarius Procs
Alright, give this a shot.
Use it as a normal condition, but make sure you choose LUA script.
name, rank, icon, count, debuffType, duration, expirationTime, unitCaster, isStealable, shouldConsolidate, spellId= UnitAura("player", "Dream of Cenarious");retV = count; Return value var needs to be retV and return value research needs to be 1.
-
Ohren got a reaction from anemena in Custom Fight Classes
Would you like a fight class that includes your character's racials, specific talents (other than the ones I choose in my package), pretty much anything else you would like.
Well if so, I am selling customized fight classes. My current pricing plan is $5/fight class and will include free updates if anything changes with WoD.
For more information, inbox me here.
-
Ohren reacted to Droidz in How can I find the time remaining on a buff/debuff?
Hello,
Look this code:
In you case (for spell http://wod.wowhead.com/spell=1079 (id:1079)), to check in your target if remaining time has less than 7 secondes add this lua condition:
LuaScript:
local name = GetSpellInfo(1079); _, _, _, _, _, _, expirationTime = UnitDebuff("target", name); timeRemaining = expirationTime - GetTime(); if (timeRemaining <= 7) then retV = "1"; else retV = "0"; end Research:
1 Var:
result -
Ohren got a reaction from Droidz in Spell Charges
Working on the new Destruction Warlock fight class, I only wanted Conflagrate to fire if you had 2 charges saved up. Which got me doing some research, after about 15 minutes of finding work arounds, I found a much more simple way.
currentCharges, maxCharges, cooldownStart, cooldownDuration = GetSpellCharges(spellId or "Conflagrate") Works perfect, currently haven't ran into any other times I'd want to use this, but it will definitely come in handy again.
-
Ohren reacted to Droidz in Useful scripts
Get base (parent) spell name and the id:
Launch this script (in tab "Tools" > "Development Tools" > copy script in textbox and click on button "Lua (return value in 'ret')).
for i=1,1000 do local spellName = GetSpellBookItemName(i, BOOKTYPE_SPELL); if not spellName then break; end local _, tid = GetSpellBookItemInfo(i, "player"); local spellNameReal = GetSpellInfo(tid); if spellNameReal and spellName ~= spellNameReal then print(spellName .. " > " .. "\124cFF4FF763" .. spellNameReal .. " (id: " .. tid .. ")"); else print(spellName .. " (id: " .. tid .. ")"); end end This write in wow chat list of spells of your spellbook and if exist (in green) the parent spell name. (By sample, http://www.wowhead.com/spell=12294/mortal-strike is the parent of http://www.wowhead.com/spell=78/heroic-strike ) ps: Now normally WRobot found automatically the childrens/parents spells. -
Ohren got a reaction from Droidz in Archaeology bot is just flying to the ground.
I started it inside of a dig site, and the issue hasn't came up since, if it does, I will get the full log.
-
Ohren got a reaction from Droidz in Custom Fight Classes
Would you like a fight class that includes your character's racials, specific talents (other than the ones I choose in my package), pretty much anything else you would like.
Well if so, I am selling customized fight classes. My current pricing plan is $5/fight class and will include free updates if anything changes with WoD.
For more information, inbox me here.
-
Ohren reacted to Droidz in Mana in fight classes
Hello,
I have add this, wait next update (in a few hours).
-
Ohren reacted to Droidz in The LUA loop to figure out shared spell ID's
Hello,
Do you speak about this script: ?
If yes I have updated script here:
-
Ohren got a reaction from Droidz in Guess who's coming back... (Help me fix my fight class package)
I got a small bonus at work, so I will be buying WoD and 2 months of Wow. So, if you would like to help me out, just post all the bugs you've ran into with my fight class package in my absence.
-
-
Ohren got a reaction from Bear T.O.E. in Warrior Wont Charge the Target.
Mind if I use your prot warrior as a benchmark for my prot warrior I am working on tonight (assuming I get time to fly to Halfhill to pick up a shield)?
-
Ohren reacted to Droidz in Monk's brews
return true or false. Look this.
if (ObjectManager.Me.HaveBuff(0) == false)
{
// buff no found
}
if (!ObjectManager.Me.HaveBuff(0))
{
// buff no found, like == false
}
if (ObjectManager.Me.HaveBuff(0) == true)
{
// buff found
}
if (ObjectManager.Me.HaveBuff(0))
{
// buff found, like == true
}
-
Ohren got a reaction from Droidz in Snippets of LUA codes (for FightClass)
Here is a work-around for using spells that are off of the global cool down timer (my example is using Heroic Strike from a Warrior).
First, add a spell, I tend to name it Faux (Whatever the spell name is) so in this instance, it will be Faux Heroic Strike. It is ideal to place this up high on priority.
Next, add in your conditions. For Heroic Strike, I use Rage > 110.
Now add in an LUA script with the following information...
LUA Script: CastSpellByName("Heroic Strike");retV=1;
Return value research: 0
Return value var: retV
... This will trigger your spell to cast. The reason I set retV's value to 1, then check to see if it equals 0 is just to make sure WRobot doesn't try firing a fake spell named Faux Heroic Strike.
And boom, now your spell is completely off the GCD. Make sure the spell is off GCD before using this method, or else it will slow down your fight class and ruin your recount heroism.
-
Ohren got a reaction from Droidz in Snippets of LUA codes (for FightClass)
Here is my snippet for checking time left on buffs (on yourself).
_, _, _, _, _, duration, expirationTime, _, _, _, _ = UnitBuff("player","Inquisition"); t = GetTime(); timeRemaining = expirationTime - t; if (timeRemaining <= 6) then retV = "1"; else retV = "0"; end This will cast Inquisition when there is 6 seconds left on the buffs life. Great for spells that you want up 100% of the time. To get this to work, you might have to remove the line breaks, so it would actually look like..
_, _, _, _, _, duration, expirationTime, _, _, _, _ = UnitBuff("player","Inquisition");t = GetTime();timeRemaining = expirationTime - t;if (timeRemaining <= 6) hen retV = "1";else retV = "0";end -
Ohren got a reaction from Bear T.O.E. in Blood Death Knight 5.4 MOP
I will give it a run tomorrow, see how it goes. Appears to be a bit more aimed at PVP though.
-
Ohren got a reaction from Bear T.O.E. in Blood Death Knight 5.4 MOP
Why are you using Pestilence when you have Roiling Blood specced? Blood Boil (with Roiling Blood talent) spreads diseased just like Pestilence does, at the same cost, except you also get an AoE that's something like
3.5k to 4.5k + 10% attack power to everything within 10 yards.