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

ArcaneTorrent/ET DMO wiz quick fix.

tasm80

New Member
Joined
Jan 22, 2016
Messages
16
Reaction score
0
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)
// 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. :)
 
it could be tweaked to channel as a higher priority. I'll play around with it and see if I can find out how.
 
Ive actually practically totally rewritten the whole section for how at and et function and adjusted the ap levels with which each is cast and it seems to be very smooth. Ive been using it for a bit under 2 days now and it averages 8 minutes for a GR 67 clear. It still needs an awful lot of work though as it seems to use slow time defensively far more the higher you go (as to be expected), but still attacks things outside of the slow time until illusion pops your cd and it can drop another one. Its not hugely inconvenient, but it does slow down clear times. 65 is more efficient for me although its not the greatest xp gains. Its unfortunate that it isnt quite smart enough although I can understand why. The code required would be so extensive and with how fast meta changes its not really worth writing.
 
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. :)

Is it possible for you to just give us the wizard.cs? The examples you have provided have errors and it's causing compiler messages and is not formatted as you say it is.
 
ye could you give the wizard CS i dont know where to put those lines in the WizardCombat.cs
 
I think I managed to find another workaround about this, only need to modify the Energy twister part of the .cs file.
assuming you are using only Arcane torrent and ET as damage output.

first, locate the energy twister part, and delete or comment out the whole 'signature spell' part.

then copy and replace the whole ET code part with the following:

// 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 >= 70)
{
Vector3 bestClusterPoint = TargetUtil.GetBestClusterPoint();

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

this works for me, and can maintain the twisted sword buff around 9-11 stacks during combat most of the time.
you can change the 'Player.PrimaryResource >= 70' to other value that suits you best.
 
// 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 &&
(!Legendary.EtchedSigil.IsEquipped || Sets.TalRashasElements.IsFullyEquipped || Sets.DelseresMagnumOpus.IsFullyEquipped && !Legendary.Deathwish.IsEquipped) &&
// 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);
}

Where do I put this I never found, tried to find both in 1 post, but all attempts are futile
 
I dont have any of these lines in my WizardSettings.cs under Trinity/Settings/Combat what should i do to place it right?
 
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. :)


this is causing me to get disconnected, any idea what i'm doin wrong?
 
Back
Top