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

Trinity modification for wizard with wand of Woh (spam explosive blast all the time)

anzewill

New Member
Joined
Apr 21, 2015
Messages
1
Reaction score
0
Hi people,

I have read all the past posts and still can not get trinity to continuously cast explosive blast all the time while wand of Woh is equipped.

Under Demonbuddy\Plugins\Trinity\Combat\Abilities\WizardCombat.cs
It seems there is already a piece of code that designed for Wand of Woh:

// Explosive Blast
//We should check if Wand of Woh is equipped to define the best routine
if (Legendary.WandOfWoh.IsEquipped)
{
if (!Player.IsIncapacitated && CanCast(SNOPower.Wizard_ExplosiveBlast, CanCastFlags.NoTimer) && !Player.IsInTown && CheckConventionElement(Skills.Wizard.ExplosiveBlast))
{
return new TrinityPower(SNOPower.Wizard_ExplosiveBlast, 10f);
}
}
else
{
if (!Player.IsIncapacitated && CanCast(SNOPower.Wizard_ExplosiveBlast, CanCastFlags.NoTimer) && Player.PrimaryResource >= 20 && CheckConventionElement(Skills.Wizard.ExplosiveBlast))
{
return new TrinityPower(SNOPower.Wizard_ExplosiveBlast, 12f, CurrentTarget.Position);
}
}

However the bot will only cast explosive Blast while in combat, how to modify this code to make it cast EB out of combat all the time except teleport to town or in town?

If this change add to the next version of Trinity is a great help as there is a new legendary gem needs to continuously cast a spell to keep the buff. also it will definitely make the whole run much more faster.


Thanks~~~~~~
 
Back
Top