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

I wrote a Two-fists(static charge) monk routine, But it works not so well.

wPrince

Community Developer
Joined
Feb 27, 2015
Messages
38
Reaction score
1
This build use two fists, "Way of the Hundred Fists:Fists of Fury" to trigger "Fists of Thunder:Static Charge".
It was invented in Chinese server this week, and a lot of GR70-74 was finished using this build.

I insert some code in monk routine. It works now. Bot can farm GR50 smoothly. But sometimes it cannot change to attack new target un-debuffed. How to fixed it?

http://www.diablofans.com/builds/623...rge-group-monk
Insert these codes before "// Dashing Strike if (CanCastDashingStrike)" in Plugins\Trinity\Combat\Abilities\MonkCombat.cs.

// Two-fists build:
if (Runes.Monk.StaticCharge.IsActive && Runes.Monk.FistsOfFury.IsActive)
{
if (CanCast(SNOPower.Monk_FistsofThunder) && !SpellTracker.IsUnitTracked(CurrentTarget, SNOPower.Monk_FistsofThunder))
return new TrinityPower(SNOPower.Monk_FistsofThunder, 45f, CurrentTarget.ACDGuid);

if (CanCast(SNOPower.Monk_WayOfTheHundredFists) && !SpellTracker.IsUnitTracked(CurrentTarget, SNOPower.Monk_WayOfTheHundredFists))
return new TrinityPower(SNOPower.Monk_WayOfTheHundredFists, 16f, CurrentTarget.ACDGuid);

var newTarget = (from u in Trinity.ObjectCache
where u.IsUnit && u.IsFullyValid() && u.Weight > 0 && u.RadiusDistance <= 45f &&
(!SpellTracker.IsUnitTracked(u.ACDGuid, SNOPower.Monk_FistsofThunder) || !SpellTracker.IsUnitTracked(u.ACDGuid, SNOPower.Monk_WayOfTheHundredFists))
orderby u.RadiusDistance
select u).FirstOrDefault();

if (newTarget != null)
{
if (CanCast(SNOPower.Monk_FistsofThunder) && !SpellTracker.IsUnitTracked(newTarget, SNOPower.Monk_FistsofThunder))
return new TrinityPower(SNOPower.Monk_FistsofThunder, 45f, newTarget.Position);

if (newTarget.RadiusDistance <= 15f && CanCast(SNOPower.Monk_WayOfTheHundredFists) && !SpellTracker.IsUnitTracked(newTarget, SNOPower.Monk_WayOfTheHundredFists))
return new TrinityPower(SNOPower.Monk_WayOfTheHundredFists, 15f, newTarget.Position);
else

if (CanCastDashingStrike)
return new TrinityPower(SNOPower.X1_Monk_DashingStrike, MaxDashingStrikeRange, newTarget.Position);
}
}
else
return new TrinityPower(SNOPower.Monk_FistsofThunder, 45f, CurrentTarget.ACDGuid);
 
You know that in the newest trinity version this build is already included? :P
 
Probably too complex for bot to execute this static charge monk built..
 
Back
Top