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

Crusader LoN - Keep bombardment on CD

noxiaz

New Member
Joined
Feb 7, 2016
Messages
29
Reaction score
0
I dont know if im the only one facing the problem. But the setting "Enable casting while out of combat" under rutine Crusader LoN bombardment are not working as the text says:
"Cast iron skin + bombardment + others while running around out of combat"

I never see it cast bombardment when running around searching for new elite packs, and the problems seems to be caused by the settings "Ignoring Trash" and "Cluster Size"
It seems that the method "ShouldBombartment" returns false if target is null, which it seems to be with the settings above.

What i have done to fix it:
File: CrusaderBombardment.cs
Code:
protected override bool ShouldBombardment(out TrinityActor target)
{
    target = null;
    if (!Skills.Crusader.Bombardment.CanCast())
    {
        return false;
    }

    target = TargetUtil.GetBestClusterUnit() ?? CurrentTarget;
    var isCastWindow = !ShouldWaitForConventionofElements(Skills.Crusader.Bombardment, Element.Physical, 1500, 1000); // The check is needed becasue its normally only "ironskin" that decide when ever possible to cast bombardment or not.
    if (target == null && Settings.BombardmentOOC && ((isCastWindow && !ShouldBombardWheneverPossible) || ShouldBombardWheneverPossible))
    {
        target = HostileMonsters.Where(x => x.Distance < 150f).OrderBy(x => x.Distance).FirstOrDefault(); // Get the closest target possible
    }

    return target != null;
}

I dont know if it's a good fix, but it works as intended.
 
Can you please share your .cs file cause i cannot implement this fix into mine! Thanks in advance :)
 
Hmm if your using Belt of the Trove it should cast bombardment every X amount of seconds reguardless of what your setting are.
 
They are two different bombardments , one triggered from the belt ( which has its own CD - defined from item ) and one Skill Bombardment that has to benefit from CD , bot use, bot synchronize with CoE!
 
Back
Top