question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

under classes/barbarian/levels there are 2 level 6 objects. its not an exact duplicate though since the 1st one has information that the other is missing and vice versa. I believe the correct object should be:

{
		"level": 6,
		"ability_score_bonuses": 1,
		"prof_bonus": 3,
		"feature_choices": [],
		"features": [
			{
				"index": "mindless-rage",
				"name": "Mindless Rage",
				"url": "/api/features/mindless-rage"
			}
		],
		"class_specific": {
			"creating_spell_slots": [],
			"rage_count": 4,
			"rage_damage_bonus": 2,
			"brutal_critical_dice": 0
		},
		"index": "barbarian-6",
		"class": {
			"index": "barbarian",
			"name": "Barbarian",
			"url": "/api/classes/barbarian"
		},
		"subclass": {
			"index": "berserker",
			"name": "Berserker",
			"url": "/api/subclasses/berserker"
		},
		"url": "/api/classes/barbarian/levels/6"
},

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
fergcbcommented, May 21, 2021

I’m aware that they exist. I was just offering an alternative given the suggestion that having all the levels (subclass or not) in the /classes/{index}/levels might be confusing.

My suggestion of a query parameter on that endpoint would allow consumers to query levels for a base class and a particular subclass. An absence of that parameter would just return the base levels.

E.g. /classes/barbarian/levels?subclass=beserker could return all the base barbarian levels and the barbarian>berserker levels.

I hope that makes more sense?

0reactions
bagelbitscommented, Aug 3, 2021

Oh. This is an issue for the API and not the database I believe. I’ll migrate it over.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Barbarian Class Details
Beginning at 10th level, you can use your action to frighten someone with your menacing presence. When you do so, choose one creature...
Read more >
Barbarian | D&D 5th Edition on Roll20 Compendium
As a Barbarian, you gain the following class features: Hit Points. Hit Dice: 1d12 per Barbarian level. Hit Points at 1st Level: 12...
Read more >
Barbarian | Clash of Clans Wiki - Fandom
At level 6, the Barbarian wields a dark iron claymore and sports a mightier horned helmet of a dark gray color and gray...
Read more >
Barbarian :: d20srd.org - Classes
These bonuses rise by +1 every three barbarian levels thereafter (6th, 9th, 12th, 15th, and 18th level). Trap sense bonuses gained from multiple...
Read more >
[Level 1 to Level 9] Barbarian all levels comparison - YouTube
Troop Showcase Playlist : https://bit.ly/2XwcTrjMy Links :Steam Profile Link - http://steamcommunity.com/id/MEGUSTAPLAYSCSSteam Trade URL ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found