BuffRuleFactory - How to add new DH GoD Momentum Stacks? menu

User Tag List

Results 1 to 7 of 7
  1. #1
    alternate_'s Avatar Member
    Reputation
    3
    Join Date
    Feb 2020
    Posts
    39
    Thanks G/R
    17/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    BuffRuleFactory - How to add new DH GoD Momentum Stacks?

    BuffRuleFactory - How to add new DH GoD Momentum Stacks? Thank you

    BuffRuleFactory - How to add new DH GoD Momentum Stacks?
  2. #2
    Saico's Avatar Active Member
    Reputation
    21
    Join Date
    Apr 2019
    Posts
    379
    Thanks G/R
    35/20
    Trade Feedback
    0 (0%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Add this to your PluginEnablerDisabler.cs


    Code:
     Hud.TogglePlugin<PlayerBottomBuffListPlugin>(true);
    
                Hud.RunOnPlugin<PlayerBottomBuffListPlugin>(plugin =>
                {
                    plugin.BuffPainter.ShowTimeLeftNumbers = true;
                    plugin.RuleCalculator.Rules.Add(new BuffRule(484289) { IconIndex = 10, MinimumIconCount = 1, ShowStacks = false, ShowTimeLeft = true, IconSizeMultiplier = 1.0f });    // Gears of Dreadland / 2pc: Momentum 20sec Cap
                    plugin.RuleCalculator.Rules.Add(new BuffRule(134030) { IconIndex = 8, MinimumIconCount = 1, ShowStacks = false, ShowTimeLeft = true, IconSizeMultiplier = 1.0f });    // Gears of Dreadland / 4pc: 60% DmgReduction, 5sec
    
                });
    Last edited by Saico; 06-29-2020 at 10:53 AM.

  3. Thanks Colmans (1 members gave Thanks to Saico for this useful post)
  4. #3
    alternate_'s Avatar Member
    Reputation
    3
    Join Date
    Feb 2020
    Posts
    39
    Thanks G/R
    17/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you, while this works perfectly fine in PlayerBottomBuffList plugin, I'm looking for a way to add it to BuffRuleFactory which is part of gigi's PartyBuffPlugin

  5. #4
    IamJoze's Avatar Member
    Reputation
    1
    Join Date
    Jun 2020
    Posts
    4
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    How i do? i am a little rookies whit pluging

  6. #5
    Razorfish's Avatar Contributor
    Reputation
    188
    Join Date
    Apr 2019
    Posts
    178
    Thanks G/R
    19/158
    Trade Feedback
    0 (0%)
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by alternate_ View Post
    I'm looking for a way to add it to BuffRuleFactory which is part of gigi's PartyBuffPlugin
    Unfortunately, you cannot add it just as a config option, it must be edited into BuffRuleFactory.cs. Based on Saico's code, you'd need to add the following to BuffRuleFactory.cs right below the last pwr definitions that are already there:
    Code:
    			if (pwr == 484289) { // Gears of Dreadland / 2pc
    				yield return new BuffRule(pwr) { IconIndex = 10, MinimumIconCount = 1, ShowStacks = false, ShowTimeLeft = true };
    			}
    			if (pwr == 134030) { // Gears of Dreadland / 4pc
    				yield return new BuffRule(pwr) { IconIndex = 8, MinimumIconCount = 1, ShowStacks = false, ShowTimeLeft = true };
    			}
    Then you add those pwr numbers to your PartyBuffConfigPlugin.cs as desired.
    Last edited by Razorfish; 07-10-2020 at 12:18 PM.

  7. Thanks alternate_, noobgamer80, Colmans (3 members gave Thanks to Razorfish for this useful post)
  8. #6
    alternate_'s Avatar Member
    Reputation
    3
    Join Date
    Feb 2020
    Posts
    39
    Thanks G/R
    17/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thank you this is what I was looking for!!

  9. #7
    rambo99jose's Avatar Member
    Reputation
    4
    Join Date
    Nov 2007
    Posts
    26
    Thanks G/R
    20/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hud.Sno.SnoPowers.Generic_P69ItemPassiveUniqueRing010,

  10. Thanks alternate_ (1 members gave Thanks to rambo99jose for this useful post)

Similar Threads

  1. Question How to add new model to only Player characters. (3.3.5)
    By MaruluExploit in forum WoW ME Questions and Requests
    Replies: 4
    Last Post: 09-05-2013, 09:15 AM
  2. [Guide] How to add new ADTs(New continent) to wow
    By Bjarke in forum WoW ME Tools & Guides
    Replies: 45
    Last Post: 02-05-2013, 04:07 AM
  3. How to add new spellbook tab ?
    By Khira in forum WoW ME Questions and Requests
    Replies: 0
    Last Post: 04-25-2010, 07:29 AM
  4. Replies: 12
    Last Post: 04-03-2008, 09:40 PM
  5. How To Add A New Database
    By Illidan_000 in forum WoW EMU Guides & Tutorials
    Replies: 8
    Last Post: 12-18-2007, 04:13 PM
All times are GMT -5. The time now is 05:05 PM. 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