-
Member
Super Awesome Sparke Cake
Parthan defender toughness
Any way to track this with THUD? Amount of mobs stunned/blinded etc xPassive%
-
Contributor
In the old forums, JACK seems to have a way that is not perfect
Maybe there is no good way to read the exact value(9%~12%)
-
Savvy ? 🐒
Originally Posted by
SeaDragon
In the old forums, JACK seems to have a way that is not perfect
The customization code is still available : JackCeparouCompass/AlertListSampleCustomizationPlugin.txt at master * JackCeparou/JackCeparouCompass * GitHub
PHP Code:
// Ancient Parthan Defenders
Hud.RunOnPlugin<Jack.Alerts.PlayerLeftAlertListPlugin>(plugin =>
{
plugin.AlertList.Alerts.Add(new Jack.Alerts.Alert(Hud)
{
AlertTextFunc = (id) =>
{
var count = Hud.Game.AliveMonsters.Count(m => (m.Stunned || m.Frozen) && m.NormalizedXyDistanceToMe <= 25);
var percent = 9;
if (Hud.Game.Me.CubeSnoItem2.LegendaryPower.Sno == Hud.Sno.SnoPowers.AncientParthanDefenders.Sno)
{
percent = 12;
}
return string.Format("{0} * {1}% = {2}%", count, percent, count * percent);
},
Label =
{
TextFont = Hud.Render.CreateFont("tahoma", 11, 255, 30, 244, 30, false, false, 242, 0, 0, 0, true),
},
Rule =
{
ShowOutOfCombat = false,
ActiveBuffs = new[] { new SnoPowerId(Hud.Sno.SnoPowers.AncientParthanDefenders.Sno), },
CustomCondition = (player) => Hud.Game.AliveMonsters.Count(m => (m.Stunned || m.Frozen) && m.NormalizedXyDistanceToMe <= 25) > 0,
}
});
plugin.AlertList.Alerts.Add(new Jack.Alerts.Alert(Hud)
{
TextSnoId = 962282719,
MessageFormat = "\u26A0 {0} \u26A0", //⚠
Rule =
{
ShowOutOfCombat = false,
ActiveBuffs = new[] { new SnoPowerId(Hud.Sno.SnoPowers.AncientParthanDefenders.Sno), },
CustomCondition = (player) => Hud.Game.AliveMonsters.Count(m => (m.Stunned || m.Frozen) && m.NormalizedXyDistanceToMe <= 25) == 0,
}
});
});
Originally Posted by
SeaDragon
Maybe there is no good way to read the exact value(9%~12%)
There is, but no chance to look into it, too much busy irl.. Just adapt the 'percent' value in the customization code to reflect the parthan you wear ;p
-
Post Thanks / Like - 2 Thanks
-
Contributor