Rathma's Shield as BuffIcon under Toon menu

User Tag List

Results 1 to 6 of 6
  1. #1
    kC0pter's Avatar Member
    Reputation
    1
    Join Date
    Dec 2017
    Posts
    7
    Thanks G/R
    4/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Rathma's Shield as BuffIcon under Toon

    Hey fellow Thud'ers,

    I have a little request for a snippit. I want to see the remaining duration of the Rathmas Shield passive under my toon like the Focus and Restraint.
    I myself tried to get it to work and .. well ... it doesnt
    Code:
    Hud.RunOnPlugin<PlayerBottomBuffListPlugin>(plugin =>
                {
                    plugin.RuleCalculator.Rules.Add(new BuffRule(472910) { IconIndex = 3, MinimumIconCount = 1, ShowTimeLeft = true });
                });
    Thats basically the code i put in the Customize function but it doesnt seem to work.
    Can someone please quickly help me?

    Thank you guys and have a good one.

    Rathma's Shield as BuffIcon under Toon
  2. #2
    gjuz's Avatar Contributor
    Reputation
    121
    Join Date
    Mar 2017
    Posts
    228
    Thanks G/R
    49/118
    Trade Feedback
    0 (0%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by kC0pter View Post
    Hey fellow Thud'ers,

    I have a little request for a snippit. I want to see the remaining duration of the Rathmas Shield passive under my toon like the Focus and Restraint.
    I myself tried to get it to work and .. well ... it doesnt
    Code:
    Hud.RunOnPlugin<PlayerBottomBuffListPlugin>(plugin =>
                {
                    plugin.RuleCalculator.Rules.Add(new BuffRule(472910) { IconIndex = 3, MinimumIconCount = 1, ShowTimeLeft = true });
                });
    Thats basically the code i put in the Customize function but it doesnt seem to work.
    Can someone please quickly help me?

    Thank you guys and have a good one.
    use "IconIndex = 1"


    greetz gjuz

  3. #3
    kC0pter's Avatar Member
    Reputation
    1
    Join Date
    Dec 2017
    Posts
    7
    Thanks G/R
    4/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Doesnt that interfere with the Focus BuffIcon ?

  4. #4
    gjuz's Avatar Contributor
    Reputation
    121
    Join Date
    Mar 2017
    Posts
    228
    Thanks G/R
    49/118
    Trade Feedback
    0 (0%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    you create for each buff its own buffrule.
    no it doesn't interfere

    some of my own rules:
    PHP Code:
    // 465350 - Simulacrum
    plugin.RuleCalculator.Rules.Add(new BuffRule(465350)
    IconIndex 1MinimumIconCount 1ShowTimeLeft trueIconSizeMultiplier 1.0f, });
    // 465839 - Land of the Dead
    plugin.RuleCalculator.Rules.Add(new BuffRule(465839)
    IconIndex 0MinimumIconCount 1ShowTimeLeft trueIconSizeMultiplier 1.0f, });
    // 466857 - Bone Armor
    plugin.RuleCalculator.Rules.Add(new BuffRule(466857)
    IconIndex 0MinimumIconCount 1ShowTimeLeft trueIconSizeMultiplier 1.0fShowStacks true, });
    // 462089 - SkeletalMage
    plugin.RuleCalculator.Rules.Add(new BuffRule(462089)
    IconIndex 6MinimumIconCount 1ShowTimeLeft falseIconSizeMultiplier 1.0fShowStacks trueUsePowersTexture true, });
    // 476587 - NayrsBlackDeath
    plugin.RuleCalculator.Rules.Add(new BuffRule(476587)
    IconIndex 7MinimumIconCount 1ShowTimeLeft trueIconSizeMultiplier 1.0fShowStacks true, });
    // 472910 - Rathma's Shield
    plugin.RuleCalculator.Rules.Add(new BuffRule(472910)
    IconIndex 1MinimumIconCount 1ShowTimeLeft trueIconSizeMultiplier 1.0f, }); 
    greetz gjuz
    Last edited by gjuz; 12-07-2017 at 05:15 AM.

  5. #5
    kC0pter's Avatar Member
    Reputation
    1
    Join Date
    Dec 2017
    Posts
    7
    Thanks G/R
    4/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Since obviously you know what you're doing in this framework what does that IconIndex mean and how do i find out what IconIndex to use ?

  6. #6
    gjuz's Avatar Contributor
    Reputation
    121
    Join Date
    Mar 2017
    Posts
    228
    Thanks G/R
    49/118
    Trade Feedback
    0 (0%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    each buff has some arrays off numbers, with length 32
    IconIndex is the postion where to get number from the arrays.

    how to get IconIndex, you have to get the data from whole arrays, use the index which match your purpose.


    greetz gjuz

  7. Thanks kC0pter (1 members gave Thanks to gjuz for this useful post)

Similar Threads

  1. wont change thread title same as post under me
    By Jennifer07 in forum Report Bugs
    Replies: 1
    Last Post: 01-19-2015, 10:59 AM
  2. Earth Shield as Elemental in Arena
    By Xuchilbara in forum World of Warcraft Exploits
    Replies: 4
    Last Post: 10-24-2011, 04:53 PM
  3. [Earth shield] As dps specced shammy
    By corz in forum World of Warcraft Exploits
    Replies: 5
    Last Post: 01-08-2011, 04:19 PM
  4. Buying All Accounts with level 30 and under toons on them
    By Mr. Herbert in forum Members Only Accounts And CD Keys Buy Sell
    Replies: 4
    Last Post: 07-19-2008, 08:30 PM
  5. your self as a wow toon
    By antihero998 in forum Screenshot & Video Showoff
    Replies: 7
    Last Post: 11-03-2007, 08:05 AM
All times are GMT -5. The time now is 11:31 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