PHP Code:
Hud.RunOnPlugin<OtherPlayersPlugin>(plugin =>
{
plugin.DecoratorByClass[HeroClass.Barbarian].Add(new GroundCircleDecorator(Hud)
{
Radius = 5,
Brush = Hud.Render.CreateBrush(200, 250, 10, 10, 0),
});
plugin.DecoratorByClass[HeroClass.Crusader].Add(new GroundCircleDecorator(Hud)
{
Radius = 5,
Brush = Hud.Render.CreateBrush(240, 0, 200, 250, 0),
});
plugin.DecoratorByClass[HeroClass.DemonHunter].Add(new GroundCircleDecorator(Hud)
{
Radius = 5,
Brush = Hud.Render.CreateBrush(255, 0, 0, 200, 0),
});
plugin.DecoratorByClass[HeroClass.Monk].Add(new GroundCircleDecorator(Hud)
{
Radius = 5,
Brush = Hud.Render.CreateBrush(245, 120, 0, 200, 0),
});
plugin.DecoratorByClass[HeroClass.Necromancer].Add(new GroundCircleDecorator(Hud)
{
Radius = 5,
Brush = Hud.Render.CreateBrush(255, 175, 238, 238, 0),
});
plugin.DecoratorByClass[HeroClass.WitchDoctor].Add(new GroundCircleDecorator(Hud)
{
Radius = 5,
Brush = Hud.Render.CreateBrush(155, 0, 155, 125, 0),
});
plugin.DecoratorByClass[HeroClass.Wizard].Add(new GroundCircleDecorator(Hud)
{
Radius = 5,
Brush = Hud.Render.CreateBrush(255, 250, 50, 180, 0),
});
});
Change colors/radius to your liking ; )