[V9.1] [INTERNATIONAL] [RNN] TimeLeftSkillBar menu

User Tag List

Results 1 to 12 of 12
  1. #1
    RNN's Avatar Legendary
    Reputation
    801
    Join Date
    Sep 2018
    Posts
    1,043
    Thanks G/R
    102/764
    Trade Feedback
    0 (0%)
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)

    [V9.1] [INTERNATIONAL] [RNN] TimeLeftSkillBar

    Supported TurboHUD version: 9.x

    Shows the remaining time (duration) of the buff associated with each of the skills.

    This is a simplified description, there can really be several timelefts related to the buff and this plugin selects 1 of them following certain criteria and subsequent adjustment.
    In some cases it may require some modification because I have not thoroughly checked all the skills.

    Download: TimeLeftSkillBar.cs

    Installation: Place TimeLeftSkillBar.cs in "plugins\RNN\TimeLeftSkillBar.cs"

    Last edited by RNN; 03-31-2020 at 12:24 PM. Reason: Corrected index for Soul Harvest

    [V9.1] [INTERNATIONAL] [RNN] TimeLeftSkillBar
  2. Thanks AffaBanana, Mugatuu, 731113, JollyTex, BeeAntOS, Pe1a0, takayo72, mois, rogue00722, llllll5749, profredseries, TobiaSBooN, NiGHTsC (13 members gave Thanks to RNN for this useful post)
  3. #2
    Jembo's Avatar Active Member
    Reputation
    33
    Join Date
    Nov 2018
    Posts
    112
    Thanks G/R
    28/30
    Trade Feedback
    0 (0%)
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    I noticed the buff Soul Harvest for WD would persist for 30secs after it expires (IconIndex: 4) - So i decided to put it in the Exlusions section. Seems to be working well
    Code:
    { 67616, new List<int>{4} },		// Soul Harvest		(WD)
    Last edited by Jembo; 03-31-2020 at 11:42 AM.

  4. Thanks RNN (1 members gave Thanks to Jembo for this useful post)
  5. #3
    RNN's Avatar Legendary
    Reputation
    801
    Join Date
    Sep 2018
    Posts
    1,043
    Thanks G/R
    102/764
    Trade Feedback
    0 (0%)
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    You are right, thanks. I have already corrected it.
    As there does not seem to be any other interesting index I have added it to FixedIndex
    Code:
     { 67616, 0},	//Soul Harvest		(WD) // or exclude 4

  6. Thanks Jembo (1 members gave Thanks to RNN for this useful post)
  7. #4
    Jembo's Avatar Active Member
    Reputation
    33
    Join Date
    Nov 2018
    Posts
    112
    Thanks G/R
    28/30
    Trade Feedback
    0 (0%)
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Hey RNN, do you think it would be possible to change Fist of the Heavens for the Crusader from showing how long the Fissure rune last to instead show *(stacks) + Duration* of the Aegis of Valor 4pc Damage Reduction buff ?

  8. #5
    RNN's Avatar Legendary
    Reputation
    801
    Join Date
    Sep 2018
    Posts
    1,043
    Thanks G/R
    102/764
    Trade Feedback
    0 (0%)
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Not the purpose of this plugin (show the Timeleft of the power associated with the skill).
    If you want to see an icon under your character with that information, add this to file PluginEnablerOrDisablerPlugin.cs
    Code:
    	Hud.RunOnPlugin<PlayerBottomBuffListPlugin>(plugin => { 
    		plugin.BuffPainter.ShowTimeLeftNumbers = true;
    		plugin.RuleCalculator.Rules.Add(new BuffRule(483655) { IconIndex = 1, MinimumIconCount = 1, ShowTimeLeft = true, ShowStacks = true });   //P67_ItemPassive_Unique_Ring_949
    	}   );

  9. #6
    Jembo's Avatar Active Member
    Reputation
    33
    Join Date
    Nov 2018
    Posts
    112
    Thanks G/R
    28/30
    Trade Feedback
    0 (0%)
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Hey RNN, would it possible to hide storm armour/magic weapon buffs if Archon buff is active: 134872 (2) Archon Buff.png
    Last edited by Jembo; 08-09-2020 at 10:26 AM.

  10. #7
    RNN's Avatar Legendary
    Reputation
    801
    Join Date
    Sep 2018
    Posts
    1,043
    Thanks G/R
    102/764
    Trade Feedback
    0 (0%)
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Jembo View Post
    Hey RNN, would it possible to hide storm armour/magic weapon buffs if Archon buff is active: 134872 (2) Archon Buff.png
    I think it should not happen because the plugin uses:
    Code:
     foreach (var skill in Hud.Game.Me.Powers.CurrentSkills)
    try:
    change line 143
    Code:
     else { buff = skill.Buff; }
    to
    Code:
    else { buff = Hud.Game.Me.Powers.AllBuffs.FirstOrDefault(b => b.SnoPower.Sno == skill.CurrentSnoPower.Sno ); }
    and if you want to see the archon timeleft in the first icon you can do this: Add to "ReplaceSno" {392883, 134872},
    Last edited by RNN; 08-09-2020 at 12:58 PM.

  11. Thanks Jembo (1 members gave Thanks to RNN for this useful post)
  12. #8
    Jembo's Avatar Active Member
    Reputation
    33
    Join Date
    Nov 2018
    Posts
    112
    Thanks G/R
    28/30
    Trade Feedback
    0 (0%)
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Hey RNN, bit of an odd one: Would it be possible to change when this rune is selected DemonHunter_MarkedForDeath Rune: 2 (Valley of Death) - 130738 IconIndex: 3
    Timer from 30secs to 15secs due to the Valley of Death only lasting 15secs ?

  13. #9
    RNN's Avatar Legendary
    Reputation
    801
    Join Date
    Sep 2018
    Posts
    1,043
    Thanks G/R
    102/764
    Trade Feedback
    0 (0%)
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    There is no specific index for that rune, the only way is to subtract 15 from the time remaining when you are using it.
    You can do the math mentally or if you prefer, change these lines of code (147-153):


    Code:
    	if (FixedIndex.TryGetValue(buff.SnoPower.Sno, out var index))  // Por si queremos fijar el índice para determinadas habilidades. 
    	{ 
    		if (buff.TimeLeftSeconds[index] > 0)
    		{
    			TimeLeftDraw( skill.Key, buff.TimeLeftSeconds[index]);      
    		}
    	}
    Code:
    	if (FixedIndex.TryGetValue(buff.SnoPower.Sno, out var index))  // Por si queremos fijar el índice para determinadas habilidades. 
    	{ 
    		var timeleft = (skill.CurrentSnoPower.Sno == 130738 && skill.Rune == 2)? buff.TimeLeftSeconds[index] - 15: buff.TimeLeftSeconds[index];  // or buff.SnoPower.Sno == 130738  
    		if (timeleft > 0)
    		{
    			TimeLeftDraw( skill.Key, timeleft);		
    		}
    	}
    Last edited by RNN; 09-01-2020 at 03:37 AM.

  14. Thanks Jembo (1 members gave Thanks to RNN for this useful post)
  15. #10
    Jembo's Avatar Active Member
    Reputation
    33
    Join Date
    Nov 2018
    Posts
    112
    Thanks G/R
    28/30
    Trade Feedback
    0 (0%)
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Hey RNN, was wondering if it's possible to change the Rain of Vengeance skill to instead show the 10second buff from the Natalya's Vengeance 6pc set *434964 [1]* when it is equipped and active. Instead of currently showing the Dark Cloud rune which last 8seconds. Thanks
    RaidOfVengeance6pc.png
    Last edited by Jembo; 12-12-2020 at 07:03 AM.

  16. #11
    RNN's Avatar Legendary
    Reputation
    801
    Join Date
    Sep 2018
    Posts
    1,043
    Thanks G/R
    102/764
    Trade Feedback
    0 (0%)
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    You could add in ReplaceSno:
    Code:
    {130831, 434964},

  17. Thanks Jembo (1 members gave Thanks to RNN for this useful post)
  18. #12
    Ggod9012's Avatar Member
    Reputation
    2
    Join Date
    May 2019
    Posts
    22
    Thanks G/R
    1/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This is another dead addon/plug in - when going to the pastebin to download - "Error, this is a private paste or is pending moderation. If this paste belongs to you, please login to Pastebin to view it."

Similar Threads

  1. [V9.0] [INTERNATIONAL] [RNN] OtherShrinePlugin
    By RNN in forum TurboHUD Community Plugins
    Replies: 137
    Last Post: 15 Hours Ago, 04:25 PM
  2. [V9.0] [INTERNATIONAL] [RNN] BLueLines
    By RNN in forum TurboHUD Community Plugins
    Replies: 28
    Last Post: 03-20-2022, 07:48 PM
  3. [V9.0] [INTERNATIONAL] [RNN] TimersBarGR
    By RNN in forum TurboHUD Community Plugins
    Replies: 37
    Last Post: 04-09-2021, 09:20 AM
  4. [V9.0] [INTERNATIONAL] [RNN] LogChat
    By RNN in forum TurboHUD Community Plugins
    Replies: 19
    Last Post: 01-08-2021, 09:14 AM
  5. [V9.0] [INTERNATIONAL] [RNN] Icount
    By RNN in forum TurboHUD Community Plugins
    Replies: 17
    Last Post: 09-29-2019, 09:02 AM
All times are GMT -5. The time now is 07:43 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search