@LiquidAtoR As a druid you would cast Nourish if you have a Rejuvenation, Regrowth or Lifeblood effect on the target followed straight after by a healing touch. I can get it to cast the Nourish effect fine when one of the other effects are on the target but then it just spams Nourish over and over. I've only put a quick work around in at the moment, but hoping to find a way to perfect it soon.
I suppose it gets caught into some loop one way or the other. Maybe its because nourish has no real HP level to be cast then (as I read your explanation there's only a need for any of the other HoT's to be present) that it goes into the loop because of that. When it casted the nourish it should move on to another spell again since the target's HP supposedly moved up to another treshold for another spell. So it might be a solution to put nourish on a HP level (which it probably makes it inefficient usage of nourish, but will prevent the casting frenzy) or make a internal countdown before it's cast again might also be a solution to prevent the loop. I didn't look into your latest codebase so forgive me if I write something that you've done already. I never played a restodruid (and highly unlikely I ever will), but I'm botting my wife's sometimes, therefor the interest (so I at least know what to look for ) I have a druid of my own, but it's a tanker (even under these poor circumstances where there's no more bear love from blizzard). Thanks for the update. Regards, Liquid.
I dont no Alot about making cc's but Could you say reverse it? for example keep the current if Rejuvenation, Regrowth or Lifeblood effect on the target Cast nourish then healing touch. To stop the spamming could u add a HP Vale to STOP casting nourish? so if target exceeds HP "value" Stop nourish? if it can be done would work better then a HP "Value" to start casting?
Technically speaking it should stop healing when it reaches another treshold for the next spell. But because the second variable (is there a HoT) = true even when health has passed the other value it will keep casting Nourish (that was the problem I guess) I'm sure haz has a plan on how to solve it. Just consider this a bit of brainstorming (or something to ignore ), who knows, something useful might come out of it (or give you an idea).
Well I have an idea to add a line to blacklist the Nourish spell for 5 seconds after using, however I can't think of a line to add without getting errors? Example:
Maybe use a stopwatch? Like I have in my disenchant plugin (around line 141 if my version is the same as the published one ) I will elaborate a bit more when I'm back home tonight on the idea that is breeding in my head on a timed spellcast that would possibly fit into your codebase. For example declare a bool NourishCast that will become true when Nourish is cast, and then a timer runs for x seconds and then it becomes false again. Think that will work better than try to contain the spell itself (and possibly cause delays that are unwanted). Don't have much time to give an example. I'm taking my pups to the vetrinarian for checkups and 1 other gets a echo to see if the covering was succesful or not. Further I also have to undergo some tests as they think something's wrong with me as well. Either way I'm back later today, and will see about something before I am raiding. On the other hand I'm sure you will be able to come up with something, when the idea's are handed. I'm by no means any good in coding. It's just house, garden and kitchen skills I picked up while working with things like HB and other stuff. You know, work a bit on this, copy and paste a bit there, and gosh, it works Edit: I continued to post on your support request topic so it stays refrained here from "off-topic" posts
is it this programm or is it some other thing that manages the item rolling system ? im trying to get equipment out of heroics , but it doesnt roll on the heal items ;/ it just needs the feral items
is there anyway i stop him using the damn remove coruption cause in some fight he keeps romoving the curses time after time and my tank keeps dying thnx
sometimes in a instance the tank runs into mobs when like 3 of them caste curses he trys to remove all of them without healing the freaking tank, and then gues whats happen when the tank doesnt get some healing .........
If you wish for the CC to stop removing curse then delete the following lines: 41: else if (Cleansing()) 42: return;
Don't work for me, all time try cast MOTW, log: Code: [10:04:03:624] Changing current profile to Empty Profile [10:04:07:533] Chose HazzDruidDungeon as your combat class! [10:04:07:647] Cleared POI [10:04:07:648] Cleared POI - Reason Starting up [10:04:07:648] Cleared POI [10:04:07:753] Your spec has been detected as None [10:04:07:753] You are a level 85 Restoration Druid [10:04:08:500] selfcast Mark of the Wild [10:04:08:596] [Instancebuddy v3.0.1.270]:Loading dungeon script for 'Lost City of the Tolvir' [10:04:08:659] [Instancebuddy v3.0.1.270]:Tank is set to: Paladin with MaxHP: 159395 [10:04:09:243] selfcast Mark of the Wild [10:04:15:827] Activity: Combat [10:04:17:243] no Remove Corruption Xxxx Distance: 19 [10:04:17:258] selfcast Mark of the Wild [10:04:17:374] no Remove Corruption Xxxx Distance: 19 [10:04:17:391] selfcast Mark of the Wild [10:04:17:426] no Remove Corruption Xxxx Distance: 19 [10:04:17:441] selfcast Mark of the Wild [10:04:19:56] no Remove Corruption Xxxx Distance: 19 [10:04:19:76] selfcast Mark of the Wild [10:04:19:107] no Remove Corruption Xxxx Distance: 19 [10:04:19:126] selfcast Mark of the Wild [10:04:19:306] no Remove Corruption Xxxx Distance: 19 [10:04:19:331] selfcast Mark of the Wild [10:04:19:443] no Remove Corruption Xxxx Distance: 19 [10:04:19:467] selfcast Mark of the Wild [10:04:19:507] no Remove Corruption Xxxx Distance: 19 [10:04:19:532] selfcast Mark of the Wild [10:04:19:733] no Remove Corruption Xxxx Distance: 19 [10:04:19:758] selfcast Mark of the Wild [10:04:20:291] Start/Stop button pressed. [10:04:20:302] Stopping the bot!
Instead of deleting it I would suggest to comment it out, so you can revert to decursing. Look for Code: else if (Cleansing()) return; Add at start of each line a double slash like Code: // else if (Cleansing()) // return; Look for (around like 283) Code: private bool Cleansing() Put before that Code: /* Look for (around line 336) Code: private WoWPlayer GetHealTarget() Put before that Code: */ This should totally disable all the cleansing related issues.
U can try this forBlacklisting: http://www.thebuddyforum.com/honorb.../23232-nourish-spamming-issue.html#post258423 It gives me no errors on compiling, so this should work and fit your needs (hope so)