Hi, I'm using Laws of Valor with Unstoppable Force rune (-50% resource costs), Long Arm of the Law and high CDR, so it would be very nice if I could use it off CD every time I'm facing mobs.
What line should be modified in CrusaderCombat.cs to do this?
Also I modified Provoke with a string that I copied from a thread, to use it when having less than -50% wrath, but sometimes I see the bot isn't using the skill when it should. The AoE count in Trinity is set to 1.
I'll put the code here so you can see if there's something wrong:
Thanks.
What line should be modified in CrusaderCombat.cs to do this?
Also I modified Provoke with a string that I copied from a thread, to use it when having less than -50% wrath, but sometimes I see the bot isn't using the skill when it should. The AoE count in Trinity is set to 1.
I'll put the code here so you can see if there's something wrong:
Code:
// Provoke
if (CanCast(SNOPower.X1_Crusader_Provoke) && TargetUtil.AnyMobsInRange(15f, CrusaderSettings.ProvokeAoECount) && Player.PrimaryResource <= 50)
{
return new TrinityPower(SNOPower.X1_Crusader_Provoke);
}