Add skillbuffs to PlayerBuffList menu

User Tag List

Results 1 to 2 of 2
  1. #1
    wintermeister's Avatar Member
    Reputation
    1
    Join Date
    Jul 2017
    Posts
    1
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Add skillbuffs to PlayerBuffList

    Hi guys,

    I dont know if this is the right place and hope questions like this are allowed but i've been trying to figure out if its possible to add specific skill-buffs to the Playerbufflist (like Focus and Restraint is by default).

    More specifically im asking about the active skill buff of Laws of Valor (50% resource cost reduction). I have been trying out finding the skill IDs and adding a line similar to Focus below the already existing ones but it will not show up in game. I hope someone can help me out with this

    I tried adding these 4 lines seperately:

    RuleCalculator.Rules.Add(new BuffRule(290946) { IconIndex = 1, MinimumIconCount = 1, });
    RuleCalculator.Rules.Add(new BuffRule(323387) { IconIndex = 1, MinimumIconCount = 1, });
    RuleCalculator.Rules.Add(new BuffRule(342281) { IconIndex = 1, MinimumIconCount = 1, });
    RuleCalculator.Rules.Add(new BuffRule(342284) { IconIndex = 1, MinimumIconCount = 1, });

    Thanks and have a nice day!

    Add skillbuffs to PlayerBuffList
  2. #2
    Stormreaver's Avatar Contributor
    Reputation
    152
    Join Date
    Jul 2012
    Posts
    290
    Thanks G/R
    40/136
    Trade Feedback
    0 (0%)
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    You can use the Customize() method to customize a default file.

    For buffs, choose where you want to display your buffs: top, bottom, left or right of the player.

    Corresponding default files are:
    PlayerTopBuffListPlugin
    PlayerBottomBuffListPlugin
    PlayerLeftBuffListPlugin
    PlayerRightBuffListPlugin

    Go to Plugins > User folder.
    Rename PluginEnablerOrDisablerPlugin.txt to PluginEnablerOrDisablerPlugin.cs to make it active.

    In the Customize() method, paste your code.
    It should look like this, and in this example, buffs are displayed on the left.
    If you want to display buffs in another position, change the file name as per list above.

    Code:
            public void Customize()
            {
    
    		Hud.RunOnPlugin<PlayerLeftBuffListPlugin>(plugin =>
    		{
    
    			plugin.RuleCalculator.Rules.Add(new BuffRule(290946) { IconIndex = 1, MinimumIconCount = 1, });
    			plugin.RuleCalculator.Rules.Add(new BuffRule(323387) { IconIndex = 1, MinimumIconCount = 1, }); 
    			plugin.RuleCalculator.Rules.Add(new BuffRule(342281) { IconIndex = 1, MinimumIconCount = 1, }); 
    			plugin.RuleCalculator.Rules.Add(new BuffRule(342284) { IconIndex = 1, MinimumIconCount = 1, });
    
    		});
            }
    PS: I did not check the SNOs.
    Last edited by Stormreaver; 07-21-2017 at 05:14 PM.

  3. Thanks wintermeister (1 members gave Thanks to Stormreaver for this useful post)

Similar Threads

  1. [Request] Add Smaller Background Brush to Label Decorators
    By Styckz in forum TurboHUD Support
    Replies: 1
    Last Post: 07-19-2017, 11:57 PM
  2. [Add-On] Whisper Alerts
    By tahoebyker in forum World of Warcraft Bots and Programs
    Replies: 8
    Last Post: 11-18-2010, 07:31 AM
  3. Who needs Auctioneer Add-on, they're all right here!
    By Krazzee in forum World of Warcraft Guides
    Replies: 1
    Last Post: 09-27-2006, 04:13 PM
  4. Add-ons from curse-gaming.
    By volcom in forum World of Warcraft General
    Replies: 5
    Last Post: 05-16-2006, 11:50 AM
  5. Spell damage add reduction?
    By hannible in forum World of Warcraft General
    Replies: 5
    Last Post: 03-21-2006, 11:49 PM
All times are GMT -5. The time now is 02:39 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