public Stats(dynamic jsonObject) { Name = jsonObject.name; HitPoints = jsonObject.HitPoints; Speed = jsonObject.Speed; Strength = (byte)jsonObject.STR; Dexterity = (byte)jsonObject.DEX; Constitution = (byte)jsonObject.CON; Intelligence = (byte)jsonObject.INT; Wisdom = (byte)jsonObject.WIS; Charisma = (byte)jsonObject.CHA; ChallengeRating = StatBlockParser.ParseChallengeRating(jsonObject.Challenge); ArmourClass = StatBlockParser.ParseAC(jsonObject.ArmorClass); ImgURL = jsonObject.img_url; SetModifiers(); }