Results 1 to 6 of 6
  1. #1
    Member kC0pter's Avatar
    Reputation
    1
    Join Date
    Dec 2017
    Posts
    3
    Thanks G/R
    1/0
    CoreCoins
    9
    Trade Feedback
    0 (0%)

    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.

  2. #2
    Contributor CoreCoins User gjuz's Avatar
    Reputation
    97
    Join Date
    Mar 2017
    Posts
    209
    Thanks G/R
    40/95
    CoreCoins
    658
    Trade Feedback
    0 (0%)
    Quote 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
    Member kC0pter's Avatar
    Reputation
    1
    Join Date
    Dec 2017
    Posts
    3
    Thanks G/R
    1/0
    CoreCoins
    9
    Trade Feedback
    0 (0%)
    Doesnt that interfere with the Focus BuffIcon ?

  4. #4
    Contributor CoreCoins User gjuz's Avatar
    Reputation
    97
    Join Date
    Mar 2017
    Posts
    209
    Thanks G/R
    40/95
    CoreCoins
    658
    Trade Feedback
    0 (0%)
    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; 6 Days Ago at 05:15 AM.

  5. #5
    Member kC0pter's Avatar
    Reputation
    1
    Join Date
    Dec 2017
    Posts
    3
    Thanks G/R
    1/0
    CoreCoins
    9
    Trade Feedback
    0 (0%)
    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
    Contributor CoreCoins User gjuz's Avatar
    Reputation
    97
    Join Date
    Mar 2017
    Posts
    209
    Thanks G/R
    40/95
    CoreCoins
    658
    Trade Feedback
    0 (0%)
    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. The Following 1 Members Gave Thanks To gjuz For This Useful Post:

    kC0pter
 

 

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, 05: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, 09: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 05:17 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2017 vBulletin Solutions, Inc. All rights reserved. Digital Point modules: Sphinx-based search