-
Legendary
[V9.1] [RNN] Shield Of Fury Stacks
Show an icon with Shield of Fury stacks on elites and Boss, with a green border if they are blinded, stunned, or immobilized by the Judgment skill and you wear Bracers of Fury. I do not know how to check if a monster is immobilized in general.
It will only show if you are a Crusader and if you are playing GR. Alternative version in post #10 ([V9.1] [RNN] Shield Of Fury Stacks)
The limit of stacks should only reach 20, it is not established/limited by the plugin. I have observed that in certain circumstances the monsters lose their stacks, for example when you return to the town (it does not always happen), and the plugin seems to be consistent with this.
It is not thoroughly tested, not group tested.
Download: ShieldOfFuryStacks.cs
Installation: Place ShieldOfFuryStacks.cs in "plugins\RNN\ShieldOfFuryStacks.cs"
Custom code (in Plugins\User\PluginEnablerOrDisablerPlugin.cs , Optional) :
Code:
Hud.GetPlugin<RNN.ShieldOfFuryStacks>().Enabled = true;
Hud.RunOnPlugin<RNN.ShieldOfFuryStacks>(plugin =>
{
plugin.Opacity = 0.75f; // 0f..1f Opacity for icon texture
plugin.SizeMultiplier = 0.65f; // Size multiplier for icons
plugin.OfssetY = -11f; // By default it will be shown in the monster's position and this value will be added
plugin.CheckBracer = true; // Check if the monster is blinded, stunned or immobilized to show a green frame if yes
plugin.ShowTimer = true; // Shows a timer, 4 seconds before Holy
plugin.OnlyBoss = false;
plugin.ShowStacks = true; // Stacks Set Aegis of Valor , bonus 2 y 4
} );
Last edited by RNN; 06-02-2020 at 02:52 PM.
Reason: Added OnlyBoss, ShowStacks. Adjusted text
-
Post Thanks / Like - 3 Thanks
-
Member
Thx a lot for your efforts. I will test it after work.
-
Member
Hi RNN!
I tested the plugin today
The maximum number of stacks on elites - 20, on Rift Boss - 19.
Shield stacks do not depend on blinded, stunned, or immobilized mobs. I don't quite understand why this is in the plugin
TY
-
Member
It's just QoL. so u can see if the bracers are pocced as well.
-
Legendary
To my knowledge there is no way to know the total stacks on a monster at any given time. I found a way to count them one by one and it is based on observing how a parameter alternates between two values (0 and 1). It is not a foolproof method, and it may not count a stack on occasion, but it does not depend on whether it is a boss or an elite. In my tests it only happened to me once in an elite of an blue pack (and that's why I updated with additional code to try to avoid it). If you continue attacking with the skill and you see that it does not increase, it has reached 20, even if you dial 19 or even 18. The causes can be various: latency and / or desynchronization with the servers, momentary blocking of the PC.
What do you want to know the stacks for? to know when you reach the maximum of your damage. Isn't it interesting to know if you also have the bonus of the active bracer that can give you 400% extra damage? I will include an option to disable it because it is not complicated, the alternative is to rename the plugin to ShieldOfFuryStacksAndBonusBracerOfFury.cs
Last edited by RNN; 05-11-2020 at 09:20 AM.
-
Post Thanks / Like - 1 Thanks
d3snorter (1 members gave Thanks to RNN for this useful post)
-
Active Member
Awesome plugin! Would it be possible to show only on rift guardian and for the complete group? I want to control the BK!
-
Member
Originally Posted by
RNN
To my knowledge there is no way to know the total stacks on a monster at any given time. I found a way to count them one by one and it is based on observing how a parameter alternates between two values (0 and 1). It is not a foolproof method, and it may not count a stack on occasion, but it does not depend on whether it is a boss or an elite. In my tests it only happened to me once in an elite of an blue pack (and that's why I updated with additional code to try to avoid it). If you continue attacking with the skill and you see that it does not increase, it has reached 20, even if you dial 19 or even 18. The causes can be various: latency and / or desynchronization with the servers, momentary blocking of the PC.
What do you want to know the stacks for? to know when you reach the maximum of your damage. Isn't it interesting to know if you also have the bonus of the active bracer that can give you 400% extra damage? I will include an option to disable it because it is not complicated, the alternative is to rename the plugin to ShieldOfFuryStacksAndBonusBracerOfFury.cs
thanks for the answer, that would be cool
-
Legendary
A comment on the plugin:
It behaves as if someone is staring at a lightbulb that gives a green light and sometimes turns red for a brief moment and then returns to green, and this can only happen a total of 20 times. the problem is that if that person blinks you can miss one of those color changes. This plugin will sometimes only count to 19 for this reason, usually it will not happen.
Originally Posted by
Romanmas
thanks for the answer, that would be cool
if CheckBracer = false It won't do those checks
Originally Posted by
bm206
Awesome plugin! Would it be possible to show only on rift guardian and for the complete group? I want to control the BK!
If I have a chance to try it maybe I will, I don't play meta. Two possible complications occur to me
Last edited by RNN; 05-11-2020 at 01:41 PM.
-
Member
Originally Posted by
RNN
A comment on the plugin:
It behaves as if someone is staring at a lightbulb that gives a green light and sometimes turns red for a brief moment and then returns to green, and this can only happen a total of 20 times. the problem is that if that person blinks you can miss one of those color changes. This plugin will sometimes only count to 19 for this reason, usually it will not happen.
if CheckBracer = false It won't do those checks
If I have a chance to try it maybe I will, I don't play meta. Two possible complications occur to me
Would this work?
add // for Line 67. (this will show to all players)
and
Line 69 change to var monsters = Hud.Game.AliveMonsters.Where(m => m.SnoMonster.Priority == MonsterPriority.boss); (shows on RG only)
-
Legendary
Originally Posted by
Bs4237
Would this work? ..
almost, but you need to modify something else (Hud.Game.Me)
Try [C#] ShieldOfFuryStacks - Pastebin.com (Added OnlyBoss)
This version should work in solo player and in group (meta). With more than one crusader the stacks will be mixed and some will not be counted, I have not tried it in this situation
Last edited by RNN; 06-02-2020 at 01:32 PM.
Reason: Added OnlyBoss, ShowStacks
-
Post Thanks / Like - 2 Thanks
Wasted75,
mois (2 members gave Thanks to RNN for this useful post)
-
Member
Hi. It is possible to border become yellow like 3 sec before Holy element or any other marker to mark this time??
Ty for all help in advance
-
Legendary
Originally Posted by
Stefanooo
Hi. It is possible to border become yellow like 3 sec before Holy element or any other marker to mark this time??
Ty for all help in advance
Update
Added ShowTimer (shows a timer, 4 seconds before Holy)
-
Active Member
Originally Posted by
RNN
Update
Added ShowTimer (shows a timer, 4 seconds before Holy)
Nice, you missed Show Only in Boss bool, didn`t you ?
public bool OnlyBoss { get; set; }
OnlyBoss = true;
if (OnlyBoss && Hud.Game.RiftPercentage != 100) return;
-
Legendary
OnlyBoss was only added in variant of post 11, it is exactly those lines which you should include in the plugin of post 0 if you want to have that option (at first it was intended to be used only by the crusader)
-
Active Member
Originally Posted by
RNN
OnlyBoss was only added in variant of post 11, it is exactly those lines which you should include in the plugin of post 0 if you want to have that option (at first it was intended to be used only by the crusader)
hmm, got it, I thought you would put this option definitively in the plugin, I prefered that way cause I dont play solo and the counter only matters at boss for me. Gonna try this ShowTimer when I play to see. Thx