Okay I just had a look in the trinity profile and the coding is pretty straight forward so I whipped up a fix that I have tested and is functional static charge/ET. Its a little bit of a pain to explain because I dont actually understand how the bot works, but I guess Ill try..
So here we go. You'll need 2 pieces of code.
Firstly, you need to add Arcanetorrent as a 'signature spell' So find this bit in the trinity routine called 'wizardcombat' and add the bolded bit only (the rest is already in there)
Next you need to create a profile with range and what not for Arcane Torrent for the first bit to read from. So paste this in under the //magic missile section of code that looks practically the same (it should, I just copied it and changed the variables)
Now launch a game and it should work. It works for me. I'm not claiming to be an expert or to even understand what the code is doing, but the syntax is pretty straightforward and easy to edit so I think I've done it right.
So here we go. You'll need 2 pieces of code.
Firstly, you need to add Arcanetorrent as a 'signature spell' So find this bit in the trinity routine called 'wizardcombat' and add the bolded bit only (the rest is already in there)
// 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) |
Hotbar.Contains(SNOPower.Wizard_ArcaneTorrent) |));
// 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 &&
(!Legendary.EtchedSigil.IsEquipped || Sets.TalRashasElements.IsFullyEquipped ||
Sets.DelseresMagnumOpus.IsFullyEquipped) &&
// 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) < 1))
{
Vector3 bestClusterPoint = TargetUtil.GetBestClusterPoint();
const float twisterRange = 50f;
return new TrinityPower(SNOPower.Wizard_EnergyTwister, twisterRange,
bestClusterPoint);
}
Next you need to create a profile with range and what not for Arcane Torrent for the first bit to read from. So paste this in under the //magic missile section of code that looks practically the same (it should, I just copied it and changed the variables)
// Arcane Torrent
if (CanCast(SNOPower.Wizard_ArcaneTorrent))
{
var bladeRange = 2f.Wizard.EnergyTwister.IsActive ? 5f : 15f;
return new TrinityPower(SNOPower.Wizard_ArcaneTorrent, bladeRange,
CurrentTarget.ACDGuid);
}
Now launch a game and it should work. It works for me. I'm not claiming to be an expert or to even understand what the code is doing, but the syntax is pretty straightforward and easy to edit so I think I've done it right.
