-
Contributor
A BUG, appeared in 17.11.3 and 4 build
Unable to get skeleton mage skills count buff Icon(Newly added in 2.6.1)
This is a plugin for GIGI
The following code, no icon
Code:
If (PWR = Hud.Sno.SnoPowers.Necromancer_SkeletalMage.Sno)
{
Yield return new BuffRule (PWR) {IconIndex = 6, MinimumIconCount = 1, ShowTimeLeft = true, ShowStacks = true};
}
The following code, has icon (temporary substitutes)
Code:
If (PWR = Hud.Sno.SnoPowers.Necromancer_SkeletalMage.Sno)
{
Yield return new BuffRule (PWR) {IconIndex = 6, MinimumIconCount = 1, ShowTimeLeft = true, ShowStacks = true, UseLegendaryItemTexture = Hud.Inventory.GetSnoItem (Hud.Sno.SnoItems.Unique_Sword_2H_103_x1.Sno)};
}
This BUG does not exist in the PTR Version (17.10.23)
-
I guess because the skill has no icon assigned in Diablo 3 by default?
you can check that with ISnoPower.NormalIconTextureId
also you can try to set UsePowersTexture in BuffRule, maybe the first icon has a proper texture...
FYI: the texture getter code is in \plugins\Default\BuffLists\Painter\BuffRuleCalculator.cs
private ITexture GetIconTexture(BuffPaintInfo info)
Do not send me private messages unless it is absolutely necessary or the content is sensitive or when I ask you to do that...
-
Post Thanks / Like - 1 Thanks
SeaDragon (1 members gave Thanks to KillerJohn for this useful post)
-
Contributor
Originally Posted by
KillerJohn
I guess because the skill has no icon assigned in Diablo 3 by default?
you can check that with ISnoPower.NormalIconTextureId
also you can try to set UsePowersTexture in BuffRule, maybe the first icon has a proper texture...
FYI: the texture getter code is in \plugins\Default\BuffLists\Painter\BuffRuleCalculator.cs
private ITexture GetIconTexture(BuffPaintInfo info)
Code:
yield return new BuffRule(pwr) { IconIndex = 6, MinimumIconCount = 1, ShowTimeLeft = true, ShowStacks = true, UsePowersTexture = true};
It can be solved like this!:shh:I was stupid
Last edited by SeaDragon; 11-04-2017 at 06:30 AM.
-
Post Thanks / Like - 1 Thanks
Litespeed0 (1 members gave Thanks to SeaDragon for this useful post)
-
Member
Posted in wrong section. Deleted.
A banana a day keeps the doctor away!
