-
Established Member
Originally Posted by
jaeheung09
For the sake of accuracy, this is what I tested to check the difference between yours and mine.
They are identical. I defined it within 20 yards.
if (player.Powers.UsedLegendaryGems.PainEnhancerPrimary?.Active != true)
return;
var monsters = Hud.Game.AliveMonsters.Where(m => m.NormalizedXyDistanceToMe <= 20f && m.Attackable).ToList();
// var monsters = Hud.Game.AliveMonsters.ToList();
var noBleedMonsters2 = monsters.Where(m => m.DotDpsApplied <= 0 && m.NormalizedXyDistanceToMe <= 20f).ToList();
var noBleedMonsters = monsters.Where(m => m.GetAttributeValueAsInt(m_PowerBuff1, m_PainEnhancerPrimarySno) != 1).ToList();
var bleedCount2 = monsters.Count - noBleedMonsters2.Count;
var bleedCount = monsters.Count - noBleedMonsters.Count;
foreach (var m in noBleedMonsters)
{
NoBleedDecorator.Paint(layer, m, m.FloorCoordinate, string.Empty);
}
PlayerLabel.Paint(layer, player, player.FloorCoordinate.Offset(-20f, -20f, 0), $"ASUp2 : {bleedCount2 * 3} %");
PlayerLabel.Paint(layer, player, player.FloorCoordinate.Offset(-18f, -18f, 0), $"ASUp1 : {bleedCount * 3} %");
You modified the script to have a distance check when retrieving the list of monsters, but it's more helpful IMO to see which monsters are bleeding or not regardless of range and then filter by 20 yards to see which ones are actually contributing to the attack speed buff.
If there's a huge group of mobs which have my bleeding debuff on them, I want to then vault to them and get more attack speed gains to tear through the GRift.
I assume "noBleedMonsters2" is the version with modifications that you made to the script? If you're still using DotDpsApplied, this will work fine in solo play where that bleed is the only DoT you have, but my group has a wizard with burns, so I swapped to filtering by pain enhancer.
Developer of RoastBot https://www.ownedcore.com/forums/fps/overwatch-exploits-hacks/619893-roastbot-continuation-of-serenity.html
-
Active Member
You're definitely right. I know there's a broad distinction between DotDpsApplied and exact PainEnhancer buff.
I usually play solo with PainEnhancer equipped, so I don't care much, though.
This is what I use now.
.
.
var monsters = Hud.Game.AliveMonsters.Where(m => m.NormalizedXyDistanceToMe <= 20f && m.Attackable).ToList();
var noBleedMonsters = monsters.Where(m => m.GetAttributeValueAsInt(m_PowerBuff1, m_PainEnhancerPrimarySno) != 1).ToList();
var bleedCount = monsters.Count - noBleedMonsters.Count;
.
.
-
Established Member
Added an up to date image.
Added a black background for the player label to make it easier to see.
Developer of RoastBot https://www.ownedcore.com/forums/fps/overwatch-exploits-hacks/619893-roastbot-continuation-of-serenity.html
-
Active Member
Pain Enhancer atk speed bonus is granted for *any* physical DoT, so if you are playing with PE as your only physical DoT it is accurate but for group play for example, it is not.
-
Member
is it possible to get a working version for current hud? tx in advance
-
Member
it works in the current hud
-
Member
Is it possible to show the actual attack speed (flat number) of the player instead of %?
-
Member
Originally Posted by
Gilavar
Is it possible to show the actual attack speed (flat number) of the player instead of %?
Use this plugin: https://www.ownedcore.com/forums/dia...ack-speed.html (WD's Attack speed)
-
Post Thanks / Like - 1 Thanks
Gilavar (1 members gave Thanks to Romanmas for this useful post)