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

Crusader and Shield Bash

Hitori

New Member
Joined
Apr 3, 2014
Messages
78
Reaction score
0
I use the secondary skill shield bash but trinity is using it very randomly and not smart at all. He can for example stand in a huge crown and then charge away just to hit a single trash mob far away from everything else and then again and again and suddenly its away from all the mobs he was fighting at the start. He focus nothing and this is extremely irritating when fighting elite packs.

So what it simply need to do is to use it on the closest mob, prioritizing elites.

Does anyone have a fix/upgarde for this?
 
Last edited:
Try this

Hi, I had the same problem, try this to replace the following in the \Demonbuddy\Plugins\Trinity\Combat\Abilities\CrusaderCombat.cs file:
Make a backup of yours first in case you don`t like the change.

Remove this:
// Shield Bash
if (CanCast(SNOPower.X1_Crusader_ShieldBash2))
{
var bestPierceTarget = TargetUtil.GetBestClusterUnit(15f, 65f, 1, false, false);
if (bestPierceTarget != null)
return new TrinityPower(SNOPower.X1_Crusader_ShieldBash2, 65f, bestPierceTarget.ACDGuid);
}

Add this:

// Shield Bash
if (CanCast(SNOPower.X1_Crusader_ShieldBash2))
{
return new TrinityPower(SNOPower.X1_Crusader_ShieldBash2, 7f, CurrentTarget.ACDGuid);
}

In case you use Consecration, the change above will help you to make use of the healing, as you won`t be jumping around using the shield bash.

Another sugestion is this:

This will make you use the Laws of Justice when your life reaches the percentage configured in trinity options, it will help you to survive:
Same thing for the iron skin:

Just replace the skills you have in the file for these below:

// LawsOfJustice2
if (CanCast(SNOPower.X1_Crusader_LawsOfJustice2) && Player.CurrentHealthPct <= CrusaderSettings.LawsOfJusticeHpPct)
{
return new TrinityPower(SNOPower.X1_Crusader_LawsOfJustice2);
}

private static bool CanCastIronSkin()
{
return CanCast(SNOPower.X1_Crusader_IronSkin) && Player.CurrentHealthPct <= CrusaderSettings.IronSkinHpPct;
}

And at last, for this one I got in another tread, not my credits, got from "matter" at this post:
https://www.thebuddyforum.com/demonbuddy-forum/plugins/trinity/155214-crusader-trinity.html
It makes you use AkaratsChampion only when you reach 25% or below, to help you survive.

private static bool CanCastAkaratsChampion()
{
return CanCast(SNOPower.X1_Crusader_AkaratsChampion) && (Player.CurrentHealthPct <= 0.25);
}

Try this and in case you have doubts, just let me know, but remember, I`m noob in this too, I was just messing around.
Best regards,
 
Back
Top