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

Solo Tal's Energy Twister wizard.cs

jnminden

New Member
Joined
May 3, 2016
Messages
6
Reaction score
0
Hey everyone, I was having trouble with Trinity not getting 4 stacks on the Tal's set which was very irritating so I just threw something together really quick to fix that and to have the ability to have 8 twisters out at once.

I am using this build: http://www.d3planner.com/772948858 .... using CoE instead of Unity atm.
I extended the range for both electrocute and magic missile, they should both be used about every 5 seconds and electrocute should be used while under 35 arcane power. I am having no problems keeping up the 4 stacks now.

If you guys notice anything else that needs tweaking while the real guys work on it just let me know.

Comments welcome... I'm not an advanced programmer... as my code will show, nor do I have time to figure out how everything was programmed, but I do have limited abilities.View attachment 201897View attachment WizardCombat.cs
 
Last edited:
Hey I think you might be overcomplicating this.

If you want 8 tornado buffs then just change this one number in the code.

// Energy Twister SPAMS whenever 35 or more ap to generate Arcane Power
if (!Player.IsIncapacitated && CanCast(SNOPower.Wizard_EnergyTwister) && !ShouldWaitForConventionElement(Skills.Wizard.EnergyTwister) &&
Player.PrimaryResource >= 25 && !Settings.Combat.Wizard.NoEnergyTwister &&
// If using storm chaser, then force a signature spell every 1 stack of the buff, if we have a signature spell
(!hasSignatureSpell || GetBuffStacks(SNOPower.Wizard_EnergyTwister) <= 8))
 
Yeah, I just commented most of that out of my code. My main problem was the bot not getting the 4 stacks from Tal's, usually just walked around with 2 or 3 stacks. It will put out as many twisters as it can providing you have enough Arcane Power. I also extended the range of electrocute and magic missile by a great margin.
 
Last edited:
why are you using 2 signature spells? i planned on trying a twister build and this made me curious

thank you anyways for the routine modification, would appreciate if you upload newer versions incase you find more tweaks.
 
why are you using 2 signature spells? i planned on trying a twister build and this made me curious

thank you anyways for the routine modification, would appreciate if you upload newer versions incase you find more tweaks.

You need 4 different elemental spells so that you can stack Tal Rasha's 4 times to maximize damage
 
Nice job. This should definitely get added into trinity.
 
code added as what you shown, but still got 2 or 3 stacks, unless AP drops lower than 35.
 
This code is old now. Just make sure you have everything updated and run the original code
 
edit wizardcambat.cs

// Check to see if we have a signature spell on our hotbar, for energy twister check
bool hasSignatureSpell = (Hotbar.Contains(SNOPower.Wizard_MagicMissile) || Hotbar.Contains(SNOPower.Wizard_ShockPulse) ||
Hotbar.Contains(SNOPower.Wizard_SpectralBlade) || Hotbar.Contains(SNOPower.Wizard_Electrocute));

// Energy Twister SPAMS whenever 35 or more ap to generate Arcane Power
if (!Player.IsIncapacitated && CanCast(SNOPower.Wizard_EnergyTwister) && !ShouldWaitForConventionElement(Skills.Wizard.EnergyTwister) &&
Player.PrimaryResource >= 25 && !Settings.Combat.Wizard.NoEnergyTwister &&
// If using storm chaser, then force a signature spell every 1 stack of the buff, if we have a signature spell
(!hasSignatureSpell || GetBuffStacks(SNOPower.Wizard_EnergyTwister) < 9))
{
Vector3 bestClusterPoint = TargetUtil.GetBestClusterPoint();

const float twisterRange = 50f;
return new TrinityPower(SNOPower.Wizard_EnergyTwister, twisterRange, bestClusterPoint);
}






into

// Electrocute for the Tal Rasha's Set 4 stack buff by cho7th2
if (Sets.TalRashasElements.IsFullyEquipped && TimeSincePowerUse(SNOPower.Wizard_Electrocute) >= 5500)
return new TrinityPower(SNOPower.Wizard_Electrocute, 40f, CurrentTarget.ACDGuid);


// Check to see if we have a signature spell on our hotbar, for energy twister check
bool hasSignatureSpell = (Hotbar.Contains(SNOPower.Wizard_MagicMissile) || Hotbar.Contains(SNOPower.Wizard_ShockPulse) ||
Hotbar.Contains(SNOPower.Wizard_SpectralBlade) || Hotbar.Contains(SNOPower.Wizard_Electrocute));

// Energy Twister SPAMS whenever 35 or more ap to generate Arcane Power
if (!Player.IsIncapacitated && CanCast(SNOPower.Wizard_EnergyTwister) && !ShouldWaitForConventionElement(Skills.Wizard.EnergyTwister) &&
Player.PrimaryResource >= 25 && !Settings.Combat.Wizard.NoEnergyTwister &&
// If using storm chaser, then force a signature spell every 1 stack of the buff, if we have a signature spell
(!hasSignatureSpell || GetBuffStacks(SNOPower.Wizard_EnergyTwister) < 9))
{
Vector3 bestClusterPoint = TargetUtil.GetBestClusterPoint();

const float twisterRange = 50f;
return new TrinityPower(SNOPower.Wizard_EnergyTwister, twisterRange, bestClusterPoint);
}



I solve the issue. with that code added before cast energy twister it casts eletorocute every 5500ms to last tal's 4 buff
 
Back
Top