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

[FEATURE] Cost of Higher Level Spells #91

Open
Kharmans opened this issue Jun 5, 2024 · 5 comments
Open

[FEATURE] Cost of Higher Level Spells #91

Kharmans opened this issue Jun 5, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@Kharmans
Copy link
Contributor

Kharmans commented Jun 5, 2024

I don't know if you can make this on the module, since it's something I use only on my tables and it's not a rule on D&D5e, but since there's a part of homebrew rules already on the module why not give a try.

It's possible to configure an option that, when you cast spells of 6º level or above, the cost of spell points would double? Like, for the first time I cast a 6º level spell, it would have the cost of 9 spell points, but the second time I cast a 6º level spell, it would cost 18 spell points. For the third cast, 36 spell points, and so on. The same with spells of 7º, 8º and 9º level.

Can be done?

@misthero
Copy link
Owner

misthero commented Jun 5, 2024

that's a good question with no easy solution, I've been thinking.

You can enter formulas in the spell cost field, but something should count how many spells you've already launched. The only solution I can think of, with the current tools and no other modules could be this, for level 6 slots the cost should be something like:

9*(1+ @spells.spell6.max - @spells.spell6.value)

this means that if you are full of level 6 spell slots the formula woud be: 9*1 (since your max slots and current slots are equal)

if you consume a 6th level spell your @spells.spell6.value would be 1 less than the max, and the formula would return 18 (9*2) and so on.

BUT...

for this to work your players should check the "consume slot" checkbox every time they cast a spell. Also if you want to allow like 20 6th level spells per rest you should increase the number of slots.

@misthero misthero added the enhancement New feature or request label Jun 5, 2024
@Kharmans
Copy link
Contributor Author

Kharmans commented Jun 5, 2024

Hummmmm... that's a good solution! I can configure a max of spell slots of 3 for 6º spell, since thats the maximum of casts a player can do with 133 spell points.

1º cast: 9 points for a total of 124 spellpoints;
2º cast: 18 points for a total of 106 spellpoints;
3º cast: 36 points for a total of 70 spellpoints.

Another cast can't be done cause it would cost 72 spellpoints and the player would'n have that. And I would do the same for spells of 7º, 8º and 9º levels, cause their also permit only 3 casts.

The thing is... how can I adjust the maximum of spell slots? I don't remember seeing this on Foundry.

@misthero
Copy link
Owner

misthero commented Jun 5, 2024

The thing is... how can I adjust the maximum of spell slots? I don't remember seeing this on Foundry.

immagine

@Kharmans
Copy link
Contributor Author

Kharmans commented Jun 5, 2024

Oh, I know how to add manually, I am talking about add them by default.

@misthero
Copy link
Owner

misthero commented Jun 7, 2024

Oh, I know how to add manually, I am talking about add them by default.

I don't know if a module exists for that, you could probably create a macro to update the actors with one click, but that's out of the scope of this module. May I suggest looking for help in the macro channel on the foundry discord server?

https://discord.com/channels/170995199584108546/699750150674972743

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

No branches or pull requests

2 participants