Hi I am trying to get my crusader fully optimized for Holy Shotgun build relying only on Heaven't Fury Fires of Heaven. I'd like to do two things.
1. Decrease the range from which the skill is used. (It works much better standing right next to a target so all three rays hit one target). Bot will often spam at a distance to elites and only one ray will hit the elite.
2. I don't want to shoot it at the best cluster point. I'd like to shoot it at the unit I am fighting. Often happens with rift bots it will use wrath generator on rift boss and then turn around a fire a heaven's fury in some random direction since there is a hidden best cluster there somewhere.
I looked in the crusader.cs code to see what I can change to accomplish this.
Any one know what the parament 16F is for? Is it the range to cast from? If so it seems like a hex number, how do I lower the range? Second TargetUtil.GetBestClusterPoint() is probably telling the direction to cast it...any way to just keep it to the closest monster or to the one you are fighting?
thanks for the help.
Okay read through more posts and code and seems like this code should do the job. Will try it out once home today. Wondering if anyone else has any other suggestion it'll be great. Thanks!
Use this to cast Heaven't Fury whenever it is available.
1. Decrease the range from which the skill is used. (It works much better standing right next to a target so all three rays hit one target). Bot will often spam at a distance to elites and only one ray will hit the elite.
2. I don't want to shoot it at the best cluster point. I'd like to shoot it at the unit I am fighting. Often happens with rift bots it will use wrath generator on rift boss and then turn around a fire a heaven's fury in some random direction since there is a hidden best cluster there somewhere.
I looked in the crusader.cs code to see what I can change to accomplish this.
Code:
if (CanCastHeavensFury())
{
return new TrinityPower(SNOPower.X1_Crusader_HeavensFury3, 16f, TargetUtil.GetBestClusterPoint());
Any one know what the parament 16F is for? Is it the range to cast from? If so it seems like a hex number, how do I lower the range? Second TargetUtil.GetBestClusterPoint() is probably telling the direction to cast it...any way to just keep it to the closest monster or to the one you are fighting?
thanks for the help.
Okay read through more posts and code and seems like this code should do the job. Will try it out once home today. Wondering if anyone else has any other suggestion it'll be great. Thanks!
Code:
if (CanCastHeavensFury())
{
return new TrinityPower(SNOPower.X1_Crusader_HeavensFury3, 7f, CurrentTarget.ACDGuid);
}
}
Use this to cast Heaven't Fury whenever it is available.
Code:
private static bool CanCastHeavensFury()
{
return CanCast(SNOPower.X1_Crusader_HeavensFury3) && TargetUtil.AnyMobsInRange(15f, 1);
}
Last edited: