There is no manual or documentation, we have all learned by consulting the interfaces\ folder, doing many tests, and analyzing the code of other plugins: fortunately TH includes many, they are a base, a reference on how to program them, but also take a look at other plugins, for this case i recommend MonsterCirclePlugin (CB), EliteBarPlugin (Gigi) , DangerousAffixMonsterPlugin (Jack) ..
You must use Rarity y AffixSnoList (IMonster)
Code:
foreach (var monster in Hud.Game.AliveMonsters)
{
if (monster.Rarity == ActorRarity.Rare) // Elite
{
if (monster.AffixSnoList.Any(a => a.Affix == MonsterAffix.Juggernaut)) // Jugger
{
DECORATORJUGGER.Paint(layer, monster, monster.FloorCoordinate, string.Empty);
}
}
}