Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add number of spells cast field #361

Open
ASTRELION opened this issue Jul 25, 2023 · 1 comment
Open

Add number of spells cast field #361

ASTRELION opened this issue Jul 25, 2023 · 1 comment

Comments

@ASTRELION
Copy link

Database issue: 5e-bits/5e-database#541

I'd like to propose a new optional field for spells similar to damage_at_slot_level: casts_at_slot_level. casts_at_slot_level holds the value of how many times a specific spell is cast per usage.

For instance, Magic Missile can be cast 3 times, increasing by 1 for each slot level. An example field for Magic Missile would contain the following:

"casts_at_slot_level": {
  "1": 3,
  "2": 4,
  "3": 5,
  "4": 6,
  "5": 7,
  "6": 8,
  "7": 9,
  "8": 10,
  "9": 11
}

Another spell that would contain this field would be Eldritch Blast. I'm not sure the extent of spells that would need this field.

I'm not sure if there is a spell that does this, but this may also need to add casts_at_character_level if casts increases by character level and not slot level.

The API changes would likely just need to add something similar to damage for spells.

@BcCakeman
Copy link

I am a bit confused by your wording... I don't think there are any spells that you cast multiple times as part of their effect. For example, Eldritch Blast may allow you to make several spell attacks, but it is still only cast once. Scorching Ray is another spell that causes several spell attacks per cast., though it scales off slot level and not character level. Magic Missile allows you to create several darts, and choose their respective targets, but that is all part of a single effect from a single cast.

It seems you are using "cast" to refer to several different mechanics, none of which are actually casting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants