None of these are working. ALways false.
Code:"!last" "!last(SPELL)" "last(SPELL)"
The unit.area().friendly is very interested. Id like to use it for spinning crane kick. But I dont want to do so unless its needed. Any way to check for health?
for instance:
something similiar could be useful for other Healing targeted area of effect spells.Code:use: "player.area(10).friendly >= 5" and then some new function like: "Player.area(10).healthAVG <= 80" so it would be: {"spinning crane kick", {"player.area(10).friendly >= 5" , "Player.area(10).healthAVG <= 80", "player.mana >= 25" }},
Like Checking average health of players in a radius around a unit.
For example:
Chain heal cast on "lowest" check area around lowest if the average health of those people are low. (chain heal got a buff with the lvl100 talent, bounces to riptide targets, so this might not be as needed)
Or something like Chi explosion, which heals (if used with enough chi) in a radius around a target.
[/code]
BUG REPORT:
Offspring doesnt work with trinkets or items.
My code:
it works with EWT. but with offspring it just spams:Code:{ "#trinket1" }, { "#trinket2" },
Offspring just spams use item. i comment out the trinkets, and it will heal fine, but the DPS stance doesnt work. Also, the stance swapping, (both autoswap and modifier.rshift stance swap wont work.
Also, mouseover.ground doesnt place on the ground, it will only place at mouseover target. in EWT I hold rcontrol, and can place my statue anywhere i want.
here is my code:
Code:--A MISTWEAVER rotation by Mack ProbablyEngine.library.register('coreHealing', { needsHealing = function(percent, count) return ProbablyEngine.raid.needsHealing(tonumber(percent)) >= count end, needsDispelled = function(spell) for unit,_ in pairs(ProbablyEngine.raid.roster) do if UnitDebuff(unit, spell) then ProbablyEngine.dsl.parsedTarget = unit return true end end end, }) ProbablyEngine.rotation.register_custom(270, "MacksMW v5", { --buffs/pause { "115921", "!player.buffs.stats" }, --stats --Stance Management {"154436",{"!lastcast(115070)","player.stance = 1","toggle.AutoStanceSwap","target.range <= 5", "target.enemy"},}, {"115070",{"!lastcast(154436)","player.stance = 2","toggle.AutoStanceSwap","target.range > 5", "target.enemy"},}, {"154436",{"player.stance = 1","modifier.rshift"}}, {"115070",{"player.stance = 2","modifier.rshift"}}, --SURVIVAL { "!115203", { "player.health <= 35" }, "Player" },--fortifying brew { "#5512", "player.health <= 50" }, --healthstone --CDs { "!115310", "modifier.lalt" }, --Revival {"!115313", "modifier.rcontrol", "mouseover.ground" }, --statue { "#trinket1" }, { "#trinket2" }, { "!123986", "modifier.lcontrol", "player" }, --chi burst { "!124081", {"lowest.health <= 90"}, "lowest" }, --zen shpere { "Chi Wave",{"lowest.health <= 100 "}, "lowest" }, --chi wave --Expel Harm on CD if not channeling { "Expel Harm", {"lowest.health <= 100","player.chi < 4"}, "lowest" }, --Dispells -- {"!Detox", {"!lastcast","player.mana > 10","player.spell(Detox).casted < 1", "@coreHealing.needsDispelled('Corrupted Blood')" }, nil }, -- {"!Detox", {"!lastcast","player.mana > 10","player.spell(Detox).casted < 1", "@coreHealing.needsDispelled('Slow')"}, nil }, {"!Detox", {"!lastcast(Detox)","player.mana > 10","@coreHealing.needsDispelled('Corrupted Blood')" }, nil }, {"!Detox", {"!lastcast(Detox)","player.mana > 10","@coreHealing.needsDispelled('Slow')"}, nil }, --TESTINg --{ "!115175", { "lowest.health <= 100", "!player.moving", "!lastcast", "lowest.buff(115175).duration <= 1"}, "lowest" }, -- Soothing Mist --{ "124682", {"player.casting(soothing mist)", "lowest.health <= 100", "player.chi >= 3" }, "lowest" }, -- EnM --{ "116694", { "player.casting","lowest.health <= 100" }, "lowest" }, -- Surging Mist --!!!!!!!!!!!!!!! JADE SERPENT STANCE !!!!!!!!!!!!!!!!! {{ --Need mana Emergency { "!115294", { "player.mana < 8", "player.buff(115867).count >= 2","!player.spell(Uplift).casting", "!player.moving"},}, -- mana tea --Focus emergency {"!Life Cocoon", {"focus.health <= 20"}, "focus"}, { "!115175", { "focus.health <= 20", "!player.moving", "!player.spell(Uplift).casting","!lastcast(115175)", "focus.buff(115175).duration <= 1"}, "focus" }, -- Soothing Mist { "116680", "focus.health <= 20" , "player" }, -- TFT { "124682", { "player.casting", "focus.health <= 20", "player.chi >= 3" }, "focus" }, -- EnM { "116694", { "player.casting", "focus.health <= 20" }, "focus" }, -- Surging Mist --Tank emergency Healing {"!Life Cocoon", {"tank.health <= 25"}, "tank"}, { "!115175", { "tank.health <= 15", "!player.moving","!player.spell(Uplift).casting", "!lastcast(115175)", "tank.buff(115175).duration <= 1"}, "tank" }, -- Soothing Mist { "116680", "tank.health <= 15" , "player" }, -- TFT { "124682", { "player.casting", "tank.health <= 14", "player.chi >= 3" }, "tank" }, -- EnM { "116694", { "player.casting", "tank.health <= 14" }, "tank" }, -- Surging Mist --Emergency Healing { "!115175", { "lowest.health <= 18", "!player.moving", "!player.spell(Uplift).casting","!lastcast(115175)", "lowest.buff(115175).duration <= 1"}, "lowest" }, -- Soothing Mist { "116680", "lowest.health <= 18" , "player" }, -- TFT { "124682", { "player.casting", "lowest.health <= 18", "player.chi >= 3" }, "lowest" }, -- EnM { "116694", { "player.casting", "lowest.health <= 18" }, "lowest" }, -- Surging Mist --ReM @3 stacks { "!Renewing Mist", { "lowest.buff(119611).duration <= 2","!player.spell(Uplift).casting","player.spell(Renewing Mist).charges = 3" , "player.chi < 4" } , "lowest" }, { "!Renewing Mist", { "tank.buff(119611).duration <= 2","!player.spell(Uplift).casting","player.spell(Renewing Mist).charges = 3" , "player.chi < 4" } ,"tank" }, { "!Renewing Mist", { "focus.buff(119611).duration <= 2","!player.spell(Uplift).casting","player.spell(Renewing Mist).charges = 3" , "player.chi < 4" } ,"focus" }, { "!115151", { "!player.spell(Uplift).casting","player.spell(Renewing Mist).charges = 3" , "player.chi < 4" } , "lowest" }, --MANA { "115294", { "!lastcast(115294)","player.mana < 75", "player.buff(115867).count >= 2","!player.moving"},}, -- mana tea -------------!!!! AoE If multitarget is enabled. ReM/Uplift healing !!!!------------------- {{ { "!Uplift", { "raid.health <= 90","!player.moving", "!player.spell(Uplift).casting", "player.chi >= 2" },"player"}, --Uplift { "!116680",{"!player.spell(Uplift).casting"}, "player"}, { "!Renewing Mist", { "lowest.buff(119611).duration <= 4","!player.spell(Uplift).casting", "player.spell(Renewing Mist).charges > 1" , "player.chi < 4"}, "lowest" }, --ReM { "!Renewing Mist", { "focus.buff(119611).duration <= 4","!player.spell(Uplift).casting", "player.spell(Renewing Mist).charges > 1" , "player.chi < 4"}, "focus" }, --ReM { "!Renewing Mist", { "@coreHealing.needsHealing(80, 5)" ,"!player.spell(Uplift).casting", "player.spell(Renewing Mist).charges > 1" , "player.chi <= 2"}, "lowest" }, --ReM { "!Renewing Mist", { "!player.spell(Uplift).casting","player.chi < 2", "@coreHealing.needsHealing(80, 5)" }, "focus" }, --ReM Need Chi { "!Renewing Mist", { "!player.spell(Uplift).casting","player.chi < 2", "@coreHealing.needsHealing(80, 5)" }, "tank" }, --ReM Need Chi --Need more Chi for uplift { "116694", {"player.mana >=20","@coreHealing.needsHealing(85, 5)","player.casting", "lowest.health <= 90", "player.chi < 2"}, "lowest" }, -- Surging Mist { "115175", {"lowest.health <= 100","!lastcast(115175)","!player.spell(Uplift).casting","!player.moving", "lowest.buff(115175).duration <= 1"}, "lowest" }, -- Soothing Mist }, "modifier.multitarget"}, ----------------------!!!! AoE END !!!!--------------------------- --!!!!!!!!!!!!!!! SINGLE TARGET (multitarget disabled) !!!!!!!!!!!!! --Lowest if below 80% (tank included), tank if below 90%, anyone {{ { "!116680", {"lowest.health <= 60"} , "player" }, -- TFT { "!115175", {"lowest.health <= 60","!player.moving", "!lastcast(115175)","lowest.buff(115175).duration <= 1"}, "lowest" }, -- Soothing Mist { "124682", { "player.casting", "lowest.health <= 60", "player.chi > 2" }, "lowest" }, -- EnM { "116694", { "player.casting", "lowest.health <= 60"}, "lowest" }, -- Surging Mist { "!115175", {"lowest.health <= 80","!player.moving", "!lastcast(115175)","lowest.buff(115175).duration <= 1"}, "lowest" }, -- Soothing Mist { "124682", { "player.casting", "lowest.health <= 80", "player.chi > 2" }, "lowest" }, -- EnM { "116694", { "player.casting", "lowest.health <= 80","!lastcast(116694)" }, "lowest" }, -- Surging Mist { "!115175", {"tank.health <= 90","!player.moving", "!lastcast(115175)", "tank.buff(115175).duration <= 1"}, "tank" }, -- Soothing Mist { "124682", { "player.casting", "tank.health <= 90", "player.chi > 2" }, "tank" }, -- EnM { "116694", { "player.casting", "tank.health <= 90", "!lastcast(116694)" }, "tank" }, -- Surging Mist { "124682", { "player.casting", "lowest.health <= 92", "player.chi > 2" }, "lowest" }, -- EnM dump chi {"!115175", { "lowest.health <= 100", "!player.moving", "lowest.buff(115175).duration <= 1"}, "lowest" }, --soothing }, "!modifier.multitarget"}, --!!!!!!!!!!!!!!! END SINGLE TARGET (multitarget disabled) !!!!!!!!!!!!! }, "player.stance = 1" }, --!!!!!!!!!!!!!!! END SERPANT STANCE HEALING !!!!!!!!!!!!!!!!!!!!!! --!!!!!!!!!!!!!!! CRANE STANCE DPS !!!!!!!!!!!!!!!!!!!!!! {{ { "Surging Mist", {"player.buff(Vital Mists).count = 5"},"lowest" }, {"Tiger Palm", {"player.buff(Vital Mists.count = 4", "player.chi > 0" }}, { "Rising Sun Kick", {"target.debuff(130320).duration < 5", "player.chi > 1"} }, {"Blackout Kick", {"player.buff(127722).duration < 5", "player.chi > 1" }}, {"Tiger Palm", {"player.buff(125359).duration < 5", "player.chi > 0" }}, {"Blackout Kick", "player.chi > 1" }, {"Jab"}, }, "player.stance = 2"}, --!!!!!!!!!!!!! END CRANE STANCE !!!!!!!!!!! --Targeting & Focus { "/targetenemy [noexists]", "!target.exists" }, { "/focus [@targettarget]", "target.enemy" }, { "/target [target=focustarget, harm, nodead]", "target.range > 40" }, --END COMBAT },{ --out of combat { "115921", "!player.buffs.stats" }, --stats {"!115313",{"modifier.rcontrol"}, "mouseover.ground" }, --statue },function() ProbablyEngine.toggle.create('AutoStanceSwap', 'Interface\\Icons\\monk_stance_redcrane', 'Auto Crane','Auto Stance Swap when in melee') end)
Its not my code. Ive tested it over and over with EWT in heroic Highmaul, and works great.
The issue is somewhere with offspring PE code i think.
Last edited by Mackdaddy2887; 01-01-2015 at 07:31 PM.
While using Offsping we get errors from "SpellStopCasting()", the fix would be to to nest all of them with:
if oexecute then oexecute("SpellStopCasting() ") else SpellStopCasting() end
Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety.
Bug: Error when using:
"target.area(.enemies >= 3" condition
on garrison target dummies (and in instances as well)
Build: 6.0.3r12
Details:
Message: ...erface\AddOns\probably\system\protected\firehack.lua:63: bad argument #1 to 'band' (number expected, got string)
Count: 450
Stack: [C]: ?
[C]: in function `band'
...erface\AddOns\probably\system\protected\firehack.lua:63: in function `UnitsAroundUnit'
Last edited by 123mouser; 01-04-2015 at 08:22 PM.
Fresh install of latest version of PE.
Code:Date: 2015-01-05 23:19:02 ID: 1 Error occured in: AddOn: Probably Count: 1 Message: Error: AddOn Probably attempted to call a forbidden function (UNKNOWN()) from a tainted execution path. Debug: [C]: ? [C]: pcall() ...terface\AddOns\Probably\system\protected\generic.lua:12: Generic() Probably\system\timers\rotation.lua:203: event() Probably\system\core\timer.lua:16: Probably\system\core\timer.lua:11 Locals: None
Bug: PE doesnt use Swiftmend druid spell
Build: latest as of 01/06/2015
Details:
PE will SOMETIMES cast Swiftmend. Even though it should, sometimes it completely ignores the ability.
SWIFTMEND wowhead
Additional Details:
Literally tried Commenting out everything, and deleting my conditionals.
1. Enter Combat.
2. Manually Cast REJUVE (prerequisite of Swiftmend) on myself and my alt account (standin at half health)
3. PE does nothing
4. Sometimes while moving it MAY cast it.
I tried it will conditionals:Code:{ "Swiftmend", {}, "lowest" }, { "Swiftment", {}, "focus" },
Ive tried multiple different combinations of conditionals, it just doesnt want to cast half the time. Funny thing is, IF im solo, and Lowest=Player it WILL CAST. EVERYTIME!!Code:{ "Swiftmend", {"lowest.buff(Rejuvenation)"}, "lowest" }, { "Swiftment", {"focus.buff(Rejuvenation)"}, "focus" },
Its not reading the other party members.
Ive even tried specifiing
etc etcCode:{ "Swiftmend", {"party1.buff(Rejuvenation)"}, "party1" }, { "Swiftment", {"raid1.buff(Rejuvenation)"}, "raid1" },
Plz Fix. I dont know the Inner working, but I know my profile would be 100% better if PE casted Swiftmend
Firts you can try using the spellID instead name -> 18562
Second, remember that LOWEST does not mean that he has the buff/debuff you are checking for. Lowest is the one who have less life. If he hase also a Reju (774) buff, PE will try cast swiftmend, or he will do what come next this condition.
In solo, it is easy because you are sure that you have Reju or Regro casted, but in party? try to check this.
Haha... thanks for the response but I'm quite aware of how lowest works. Any and all testing I've done, I've always cast rejuve on everyone/everything.
And as for spell name, yes I tried it both ways, regardless though it still sometimes casts it.
I'm mentioning this buff because not once in PE history has Swiftmend worked correctly. In the past I've used boomkins resto , backburns resto, repaireds resto, among others.
I originally thought it was because of the issue that "lowest" didn't always have rejuve I them, as during raid damage the "lowest" is constantly changing, so I added an copy/paste array for each and every party member. Like so:
Which it still only SOMETIMES casts, and yes its towards the top of my rotation in priority....Code:--!!!!!!!!!!!!!!!!!!!!!!! SWIFTMEND WILL CAST DAMNIT !!!!!!!!!!!!!!!!!! { "Swiftmend", {"lowest.range <= 40", "lowest.buff(774)", "lowest.health <= 90"}, "lowest" }, -- Rejuv. { "Swiftmend", {"focus.range <= 40", "focus.buff(774)", "focus.health <= 95"}, "focus" }, -- Rejuv. { "Swiftmend", {"tank.buff(774)", "tank.health <= 95"}, "tank" }, -- Rejuv. { "Swiftmend", { "raid1.range <= 40","raid1.buff(774)", "raid1.health <= 90"}, "raid1" }, -- Rejuv. { "Swiftmend", { "player.buff(774)", "player.health <= 90" }, "player" }, -- Rejuv. { "Swiftmend", { "raid2.range <= 40","raid2.buff(774)", "raid2.health <= 90"}, "raid2" }, -- Rejuv. { "Swiftmend", { "raid3.range <= 40","raid3.buff(774)", "raid3.health <= 90"}, "raid3" }, -- Rejuv. { "Swiftmend", { "raid4.range <= 40","raid4.buff(774)", "raid4.health <= 90"}, "raid4" }, -- Rejuv. { "Swiftmend", { "raid5.range <= 40","raid5.buff(774)", "raid5.health <= 90"}, "raid5" }, -- Rejuv. { "Swiftmend", { "raid6.range <= 40","raid6.buff(774)", "raid6.health <= 90"}, "raid6" }, -- Rejuv. { "Swiftmend", { "raid7.range <= 40","raid7.buff(774)", "raid7.health <= 90"}, "raid7" }, -- Rejuv. { "Swiftmend", { "raid8.range <= 40","raid8.buff(774)", "raid8.health <= 90"}, "raid8" }, -- Rejuv. { "Swiftmend", { "raid9.range <= 40","raid9.buff(774)", "raid9.health <= 90"}, "raid9" }, -- Rejuv. { "Swiftmend", { "raid10.range <= 40","raid10.buff(Rejuvenation)", "raid10.health <= 90"}, "raid10" }, -- Rejuv. { "Swiftmend", { "raid11.range <= 40","raid11.buff(Rejuvenation)", "raid11.health <= 90"}, "raid11" }, -- Rejuv. { "Swiftmend", { "raid12.range <= 40","raid12.buff(Rejuvenation)", "raid12.health <= 90"}, "raid12" }, -- Rejuv. { "Swiftmend", { "raid13.range <= 40","raid13.buff(Rejuvenation)", "raid13.health <= 90"}, "raid13" }, -- Rejuv. { "Swiftmend", { "raid14.range <= 40","raid14.buff(Rejuvenation)", "raid14.health <= 90"}, "raid14" }, -- Rejuv. { "Swiftmend", { "raid15.range <= 40","raid15.buff(Rejuvenation)", "raid15.health <= 90"}, "raid15" }, -- Rejuv. { "Swiftmend", { "raid16.range <= 40","raid16.buff(Rejuvenation)", "raid16.health <= 90"}, "raid16" }, -- Rejuv. { "Swiftmend", { "raid17.range <= 40","raid17.buff(Rejuvenation)", "raid17.health <= 90"}, "raid17" }, -- Rejuv. { "Swiftmend", { "raid18.range <= 40","raid18.buff(Rejuvenation)", "raid18.health <= 90"}, "raid18" }, -- Rejuv. { "Swiftmend", { "raid19.range <= 40","raid19.buff(Rejuvenation)", "raid19.health <= 90"}, "raid19" }, -- Rejuv. { "Swiftmend", { "raid20.range <= 40","raid20.buff(Rejuvenation)", "raid20.health <= 90"}, "raid20" }, -- Rejuv. { "Swiftmend", { "raid21.range <= 40","raid21.buff(Rejuvenation)", "raid21.health <= 90"}, "raid21" }, -- Rejuv. --!!!!!!!!!!!!!!!!!!!!!!! END SWIFTMEND !!!!!!!!!!!!!!!!!!
Also it seems to cast more so while moving than not, but it does sometimes when not moving. It's very inconsistent.
Last edited by Mackdaddy2887; 01-07-2015 at 01:16 PM.
I think I might know the error here.
Consider the warrior spell Raging Blow, it doesn't have a cooldown, it is only castable if you have a stack of raging blow.
Now consider this code:
PE doesn't get hung up trying to cast this ability when you don't have the buff, PE knows when an action is usable.Code:{"Raging Blow"},
I believe the same is the case with swiftmend. Swiftmend is only usable when targets have Rejuve, but it's not looking at the target, it's looking at the player. swiftmend itself is greyed out when you don't have rejuve on yourself. But if you were to target another target that has the rejuve, swiftmend lights up showing usable. I believe PE won't cast swiftmend unless:
A. You yourself have rejuve, showing PE the action is usable, or
B. Your targeting someone who has rejuve, showing PE the action is usable.
So, in my profile, I must either make it constantly auto target people, or keep rejuve on myself 100% of the time.
I haven't been able to test yet since I'm at school, but it coincides with my previous testing, and logically makes sense. This must be the case.
Can we have a fix for swiftmend? I can put the required conditional that the target have the buff in my profile, to keep it from getting stuck.
EDIT: Confirmed. This is the problem. Will keep Rejuve on self 100% uptime until this is resolved, in order for the routine to cast it correctly
Last edited by Mackdaddy2887; 01-07-2015 at 06:28 PM.