-
Member
New User looking for BuffRule Numbers for Wizard
Hey guys, first of all yes I searched for sno ids on the forum and the files under interfaces\controllers\sno for what I'm looking for but I was not successful.
I tried to enable PlayerBottomBuffListPlugin and add the corresponding buffs but I just couldnt find the correct BuffRule's. I would appreciate if you can tell me how to find such numbers instead of just telling me what I need so I can learn and improve what I want to do.
I'm trying to show specific wizard buffs on my PlayerBottomBuffList
Archon stacks
Blackhole buff
Squirt's Necklace buff
Shrine Buffs
Here is the code I'm using (PluginEnablerOrDisablerPlugin.cs) but I dont see anything
Code:
using Turbo.Plugins.Default;
namespace Turbo.Plugins.User
{
public class PluginEnablerOrDisablerPlugin : BasePlugin, ICustomizer
{
public PluginEnablerOrDisablerPlugin()
{
Enabled = true;
}
public override void Load(IController hud)
{
base.Load(hud);
}
// "Customize" methods are automatically executed after every plugin is loaded.
// So these methods can use Hud.GetPlugin<class> to access the plugin instances' public properties (like decorators, Enabled flag, parameters, etc)
// Make sure you test the return value against null!
public void Customize()
{
// basic examples
// turn off sell darkening
Hud.GetPlugin<InventoryAndStashPlugin>().NotGoodDisplayEnabled = false;
Hud.TogglePlugin<ConventionOfElementsBuffListPlugin>(false);
Hud.TogglePlugin<PlayerBottomBuffListPlugin>(true);
Hud.RunOnPlugin<PlayerBottomBuffListPlugin>(plugin =>
{
plugin.RuleCalculator.Rules.Add(new BuffRule(134872) { IconIndex = 1, MinimumIconCount = 1, }); //archon
plugin.RuleCalculator.Rules.Add(new BuffRule(243141) { IconIndex = 1, MinimumIconCount = 1, }); //blackhole
plugin.RuleCalculator.Rules.Add(new BuffRule(483552) { IconIndex = 1, MinimumIconCount = 1, }); //squirt necklace
});
}
}
}
Last edited by dotwboost; 09-07-2019 at 08:24 AM.
-
Contributor
-
Post Thanks / Like - 1 Thanks
dotwboost (1 members gave Thanks to JarJarD3 for this useful post)
-
Active Member
You are on the right track. Just need to test different IconIndex's for each buff. Each buff is different. Just by trial and error (quite a time consuming process) figuring out which IconIndex belongs to a buff/rune for a skill.
Ie. Archon Buff IconIndex:
null = any of
0 = Initial Explosion entering and exiting Archon
1 = N/A
2 = Active Archon Stacks (main)
3 = Same as 2
4 = Same as 2 and 3
5 = Swami
6 = Swami when main Archon is inactive
Blackhole Buff Index:
null = any of
5 = Rune 5 Spellsteal (Arcane)
8 = Rune 2 Absolute Zero (Cold)
Code:
Hud.RunOnPlugin<PlayerBottomBuffListPlugin>(plugin =>
{
plugin.BuffPainter.ShowTimeLeftNumbers = true;
plugin.RuleCalculator.Rules.Add(new BuffRule(134872) { IconIndex = 2, MinimumIconCount = 1, ShowStacks = true, ShowTimeLeft = true }); // Archon
plugin.RuleCalculator.Rules.Add(new BuffRule(243141) { IconIndex = null, MinimumIconCount = 1, ShowStacks = true, ShowTimeLeft = true }); // Blackhole
plugin.RuleCalculator.Rules.Add(new BuffRule(483552) { IconIndex = 5, MinimumIconCount = 1, ShowStacks = true, ShowTimeLeft = false }); // Squirt's Necklace
});
Hud.RunOnPlugin<PlayerLeftBuffListPlugin>(plugin =>
{
plugin.BuffPainter.ShowTimeLeftNumbers = true;
/* --| SHRINES |-- */
plugin.RuleCalculator.Rules.Add(new BuffRule(260349) { MinimumIconCount = 1 }); // Empowered | +100% res regen (only DH Hatred), +50% CDR
plugin.RuleCalculator.Rules.Add(new BuffRule(278269) { MinimumIconCount = 1 }); // Enlightened | +25% exp on kill
plugin.RuleCalculator.Rules.Add(new BuffRule(030477) { MinimumIconCount = 1 }); // Enlightened | +25% exp on kill
plugin.RuleCalculator.Rules.Add(new BuffRule(260348) { MinimumIconCount = 1 }); // Fleeting | +25% move speed, +25y pickup radius
plugin.RuleCalculator.Rules.Add(new BuffRule(278270) { MinimumIconCount = 1 }); // Fortune | +25% GF & MF
plugin.RuleCalculator.Rules.Add(new BuffRule(030478) { MinimumIconCount = 1 }); // Fortune | +25% GF & MF
plugin.RuleCalculator.Rules.Add(new BuffRule(278271) { MinimumIconCount = 1 }); // Frenzied | +25% IAS
plugin.RuleCalculator.Rules.Add(new BuffRule(030479) { MinimumIconCount = 1 }); // Frenzied | +25% IAS
plugin.RuleCalculator.Rules.Add(new BuffRule(278268) { MinimumIconCount = 1 }); // Blessed | -25% dmg taken
plugin.RuleCalculator.Rules.Add(new BuffRule(030476) { MinimumIconCount = 1 }); // Blessed | -25% dmg taken
/* --| PYLONS |-- */
plugin.RuleCalculator.Rules.Add(new BuffRule(266258) { MinimumIconCount = 1 }); // Channeling | 100% RCR, 75% CDR
plugin.RuleCalculator.Rules.Add(new BuffRule(263029) { MinimumIconCount = 1 }); // Conduit | huge lightning damage
plugin.RuleCalculator.Rules.Add(new BuffRule(403404) { MinimumIconCount = 1 }); // Conduit (in Rift)
plugin.RuleCalculator.Rules.Add(new BuffRule(262935) { MinimumIconCount = 1 }); // Power | +400% damage
plugin.RuleCalculator.Rules.Add(new BuffRule(266254) { MinimumIconCount = 1 }); // Shield | damage immunity
plugin.RuleCalculator.Rules.Add(new BuffRule(266271) { MinimumIconCount = 1 }); // Speed | max move speed, run thru & kb mobs, smash items
plugin.RuleCalculator.Rules.Add(new BuffRule(402458) { MinimumIconCount = 1 }); // In-geom
});
Last edited by Jembo; 09-11-2019 at 10:03 AM.
-
Post Thanks / Like - 2 Thanks
-
Member
Ah great thanks <3 May I ask what is the purpose of MinimumIconCount ?
-
Active Member
I don't 100% know what it means or how to word it properly but i'll give it a try. From my testing I've found the following:
MinimumIconCount = 1 means the icon will only be shown when the buff is active and stacks are > 0
It appears that MinimumIconCount is not necessary as even if you don't use MinimumIconCount, THUD defaults to only show when buff is active / stacks = 1 or more
Ie.
Code:
plugin.RuleCalculator.Rules.Add(new BuffRule(402458)); // In-geom
With an item that stacks such as Squirt's Necklace:
Code:
plugin.RuleCalculator.Rules.Add(new BuffRule(483552) { IconIndex = 5, MinimumIconCount = 0, ShowStacks = true, ShowTimeLeft = false }); // Squirt's Necklace
MinimumIconCount = 0: This means Squirt's Necklace will show even when the buff is inactive / stacks = or > than 0
MinimumIconCount = 1: Squirt's Necklace icon will show only when stacks are > 0
MinimumIconCount = 5: Squirt's Necklace icon will show only when stacks are > 4
MinimumIconCount = 10: Squirt's Necklace icon will show only when stacks = 10
MinimumIconCount = 11: Squirt's Necklace icon will never show as the buff caps at 10 stacks
As for Buffs that don't stack:
MinimumIconCount = 0: Icon will show even when the buff is inactive
MinimumIconCount = 1: Icon will show only when the buff is active
MinimumIconCount = 2: The icon will never show
Last edited by Jembo; 09-11-2019 at 11:46 PM.
-
Post Thanks / Like - 3 Thanks
-
-
Post Thanks / Like - 3 Thanks
-
Legendary
Now it will only show 1 decimal instead of 2 and we will also see the total Buff duration, to better identify the one we are looking for.
To examine the Buffs is easier if we take a screenshot (prt sc) and then paste it into an image editor (edit - paste).
In the image above the buff of Echoing Fury is highlighted (Buff sno = 483518, index = 1)
Last edited by RNN; 09-16-2019 at 08:15 AM.
-
Post Thanks / Like - 1 Thanks
Jembo (1 members gave Thanks to RNN for this useful post)
-
Active Member
all the documentation is in install folders.
Code:
//active
ArcaneOrb // 30668 - Arcane Orb
ArcaneTorrent // 134456 - Arcane Torrent
Archon // 134872 - Archon
ArchonArcaneBlast // 167355 - Arcane Blast
ArchonArcaneBlastCold // 392883 - Ice Blast
ArchonArcaneBlastFire // 392884 - Fire Blast
ArchonArcaneBlastLightning // 392885 - Lightning Blast
ArchonArcaneStrike // 135166 - Arcane Strike
ArchonArcaneStrikeCold // 392886 - Frozen Strike
ArchonArcaneStrikeFire // 392887 - Inferno Strike
ArchonArcaneStrikeLightning // 392888 - Lightning Strike
ArchonCancel // 166616 - Cancel Archon Form
ArchonDisintegrationWave // 135238 - Disintegration Wave
ArchonDisintegrationWaveCold // 392889 - Disintegration Wave
ArchonDisintegrationWaveFire // 392890 - Disintegration Wave
ArchonDisintegrationWaveLightning // 392891 - Disintegration Wave
ArchonSlowTime // 135663 - Slow Time
ArchonTeleport // 167648 - Teleport
BlackHole // 243141 - Black Hole
Blizzard // 30680 - Blizzard
DiamondSkin // 75599 - Diamond Skin
Disintegrate // 91549 - Disintegrate
Electrocute // 1765 - Electrocute
EnergyArmor // 86991 - Energy Armor
EnergyTwister // 77113 - Energy Twister
ExplosiveBlast // 87525 - Explosive Blast
Familiar // 99120 - Familiar
FrostNova // 30718 - Frost Nova
Hydra // 30725 - Hydra
IceArmor // 73223 - Ice Armor
MagicMissile // 30744 - Magic Missile
MagicWeapon // 76108 - Magic Weapon
Meteor // 69190 - Meteor
MirrorImage // 98027 - Mirror Image
RayOfFrost // 93395 - Ray of Frost
ShockPulse // 30783 - Shock Pulse
SlowTime // 1769 - Slow Time
SpectralBlade // 71548 - Spectral Blade
StormArmor // 74499 - Storm Armor
Teleport // 168344 - Teleport
WaveOfForce // 30796 - Wave of Force
//passive
ArcaneDynamo // 208823 - Arcane Dynamo
AstralPresence // 208472 - Astral Presence
Audacity // 341540 - Audacity
Blur // 208468 - Blur
ColdBlooded // 226301 - Cold Blooded
Conflagration // 218044 - Conflagration
Dominance // 341344 - Dominance
ElementalExposure // 342326 - Elemental Exposure
Evocation // 208473 - Evocation
GalvanizingWard // 208541 - Galvanizing Ward
GlassCannon // 208471 - Glass Cannon
Illusionist // 208547 - Illusionist
Paralysis // 226348 - Paralysis
PowerHungry // 208478 - Power Hungry
Prodigy // 208493 - Prodigy
TemporalFlux // 208477 - Temporal Flux
UnstableAnomaly // 208474 - Unstable Anomaly
UnwaveringWill // 298038 - Unwavering Will
gigi has a plugin, BuffRulesFactory.cs which gives details on which runes to use for a lot of skills as well
Last edited by iThinkiWin; 09-16-2019 at 09:38 AM.