It's very frustrating I'm stuck having to do T1-T2 while I have the gear for T3 or higher because the bot will only use Wave of Force once in a blue moon, while Explosive blast will get used off CD nearly every time.
Anyone have a fix for this, for the most updated Trinity?
There's some new coding I had to play around with. As I said previously I just took whatever Explosive blast does and copy's that, here's the new Wave code.
// Explosive Blast
if (!UseOOCBuff && !Player.IsIncapacitated && CombatBase.CanCast(SNOPower.Wizard_ExplosiveBlast, CombatBase.CanCastFlags.NoTimer) && Player.PrimaryResource >= 20)
{
float blastRange = 7f;
return new TrinityPower(SNOPower.Wizard_ExplosiveBlast, blastRange, Vector3.Zero, CurrentWorldDynamicId, -1, 0, 2);
}
// Wave Of Force
if (!UseOOCBuff && !Player.IsIncapacitated && CombatBase.CanCast(SNOPower.Wizard_WaveOfForce, CombatBase.CanCastFlags.NoTimer) && Player.PrimaryResource >= 25)
{
float blastRange = 7f;
return new TrinityPower(SNOPower.Wizard_WaveOfForce, blastRange, Vector3.Zero, CurrentWorldDynamicId, -1, 0, 2);
}
Only copy this part if you're only using wave, if you're using Exp blast and wave, then copy the bigger part above.
// Wave Of Force
if (!UseOOCBuff && !Player.IsIncapacitated && CombatBase.CanCast(SNOPower.Wizard_WaveOfForce, CombatBase.CanCastFlags.NoTimer) && Player.PrimaryResource >= 25)
{
float blastRange = 7f;
return new TrinityPower(SNOPower.Wizard_WaveOfForce, blastRange, Vector3.Zero, CurrentWorldDynamicId, -1, 0, 2);
}
The old code works for versions of trinity below .27, any trinity version .27 and above requires this code.
Last edited by Qetyip; Today at 18:36.
I just posted this in another thread but here's my copy paste