What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Trinity Fork Jade Harvest

Open witchdoctorcombat.cs search for at the end of the file
Code:
  if (Hotbar.Contains(SNOPower.Witchdoctor_Haunt) && Player.PrimaryResource > 50)
                    return new TrinityPower(SNOPower.Witchdoctor_SpiritBarrage, 21f, CurrentTarget.ACDGuid);

And change SNOPower.Witchdoctor_SpiritBarrage
To SNOPower.Witchdoctor_Haunt
 
Open witchdoctorcombat.cs search for at the end of the file
Code:
  if (Hotbar.Contains(SNOPower.Witchdoctor_Haunt) && Player.PrimaryResource > 50)
                    return new TrinityPower(SNOPower.Witchdoctor_SpiritBarrage, 21f, CurrentTarget.ACDGuid);

And change SNOPower.Witchdoctor_SpiritBarrage
To SNOPower.Witchdoctor_Haunt


thanks!
 
Thanks for the great profile. I was looking through all the code it must have taken alot of work. Thank you!

I have been observing the bot for some time. I wanted to get help in making one optimization. The bot is very good at placing haunts....however it lags in harvesting. Many times it just stands there eventhough harvest is available to cast and almopst every monster is haunted (its my primary skill). I tried to understand the code for harvest...but its much too complex compared to the regular combat code and is all going above my head. Can someone help me make a change to harvest to cast whenever there are 3 haunted monsters within the required distance for harvest? Also I guess at times it tries to get to the epicenter of the mob to cast it but the location is blocked and it keeps trying to get there...I'd be okay if it casted if there were 3 mobs with haunt within 9 yards of my location to harvest.
Thanks!
 
Thanks for the great profile. I was looking through all the code it must have taken alot of work. Thank you!

I have been observing the bot for some time. I wanted to get help in making one optimization. The bot is very good at placing haunts....however it lags in harvesting. Many times it just stands there eventhough harvest is available to cast and almopst every monster is haunted (its my primary skill). I tried to understand the code for harvest...but its much too complex compared to the regular combat code and is all going above my head. Can someone help me make a change to harvest to cast whenever there are 3 haunted monsters within the required distance for harvest? Also I guess at times it tries to get to the epicenter of the mob to cast it but the location is blocked and it keeps trying to get there...I'd be okay if it casted if there were 3 mobs with haunt within 9 yards of my location to harvest.
Thanks!
Hey rimmi, I'm currently on a business Trip so its only possible for me to code and test via Teamviewer... and that really sucks... so I'll try to explain how you can make the requestes chanes(I assume you now something about c#)
You get the number of Mobs with a Debuff in a given Range with the following function:

Code:
TargetUtil.DebuffedUnitsInRange(SNOPower power, float range);

The Code were SoulHavest is casted is :
Code:
private static void Witchdoctor_SoulHarvest(ref WeightObject obj)

So the easiest way woud be to just add:
Code:
 if(TargetUtil.DebuffedUnitsInRange(SNOPower.Witchdoctor_Haunt,9f) >= 3)
                {
                     obj.Weight = conditonWeights["SoulHarvest"];
                     obj.WeightInfo = "SoulHarvest!";
                     obj.Power = new TrinityPower(obj.SNOPower);
                     return;
                }

But this will disable all of mine SH logic... so you need to add it at the proper location ;) Hope you understand it know... If not just ask me

BTW: oc = OutOfCombat
ic = InCombat
icAvoid= inCombat and not avoiding
target = InCombat + Has a target # not avoiding ;)
 
Last edited:
Thanks for making the time to get back while at work. This is great! I'll make the changes and report back on how it goes. Thanks!
 
Wow, awesome. Work more than well, CD + Spam horrify> farm T6. Thank you for that
 
Hey rimmi, I'm currently on a business Trip so its only possible for me to code and test via Teamviewer... and that really sucks... so I'll try to explain how you can make the requestes chanes(I assume you now something about c#)
You get the number of Mobs with a Debuff in a given Range with the following function:

Code:
TargetUtil.DebuffedUnitsInRange(SNOPower power, float range);

The Code were SoulHavest is casted is :
Code:
private static void Witchdoctor_SoulHarvest(ref WeightObject obj)

So the easiest way woud be to just add:
Code:
 if(TargetUtil.DebuffedUnitsInRange(SNOPower.Witchdoctor_Haunt,9f) >= 3)
                {
                     obj.Weight = conditonWeights["SoulHarvest"];
                     obj.WeightInfo = "SoulHarvest!";
                     obj.Power = new TrinityPower(obj.SNOPower);
                     return;
                }

But this will disable all of mine SH logic... so you need to add it at the proper location ;) Hope you understand it know... If not just ask me

BTW: oc = OutOfCombat
ic = InCombat
icAvoid= inCombat and not avoiding
target = InCombat + Has a target # not avoiding ;)

got any chance to update this code?

thanks a lot for your work
 
Anyone know where the hasdebuff() function is located. I have searched through many files and have not found it yet. Want to use it for exploding palm....so the short time it is still usable. Thanks!

NM found it. Just how this stuff works. Found it in the next file I searched after I posted this. Its in TrinityCacheObject.cs
 
Last edited:
Thanks for making the time to get back while at work. This is great! I'll make the changes and report back on how it goes. Thanks!

how did this change go ?

am running at high deaths per hour..5-8
and some builds 15.

using 7.5 mil toughness, serpent mojo, dogs..and not horrify.
can you share more item info and the fix?
 
Does anyone how to make the WD spam piranhas? I want it to cast it no matter what type of enemy and that it requires at least 1 enemy to be cast.

It feels clunky with the default settings, the piranhas is put 100 yards away from the actual enemies that I fight. It doesn't spam it directly when it's available.
 
For some reason, it takes a while before soul harvest is casted, i should rather spam it more often..
how do i change this?
 
This doesn't seem to work with the new Trinity using just the fork specific files and the full trinity version doesn't seem to work with with the latest version of demon buddy - anyone have it working?
 
This doesn't seem to work with the new Trinity using just the fork specific files and the full trinity version doesn't seem to work with with the latest version of demon buddy - anyone have it working?

read what i just wrote...?
 
This doesn't seem to work with the new Trinity using just the fork specific files and the full trinity version doesn't seem to work with with the latest version of demon buddy - anyone have it working?

Hello win, does it still works with the new trinity ? i haven't tried it
 
hi. Does this work?. Even with a clean install i cant make it appear.I get a compiler error
Compiler Error: c: \ Users \ administrator \ Desktop \ New Folder \ Plugins \ Trinity \ Cache \ RefreshItem.cs (67,35): error CS0266: Can not implicitly convert type 'Zeta.Game.Internals.Actors.GemQuality 'to' int '. An explicit conversion exists (check for missing a conversion)
 
Back
Top