Beispiel #1
0
        public override LocalEmbed ToEmbed()
        {
            var embed = base.ToEmbed();

            if (ErgonomicsFloat != 0)
            {
                embed.AddField("Ergonomics", ErgonomicsFloat.ToString("+0.00;-#.00"), true);
            }
            if (Accuracy != 0)
            {
                embed.AddField("Accuracy", Accuracy.ToString("+0.00;-#.00"), true);
            }
            if (Recoil != 0)
            {
                embed.AddField("Recoil", Recoil.ToString("+0.00;-#.00"), true);
            }

            embed.AddGridModifier(GridModifier);

            return(embed);
        }