foundryvtt / dnd5e

An implementation of the 5th Edition game system for Foundry Virtual Tabletop (http://foundryvtt.com).
MIT License
332 stars 222 forks source link

Support an option so that an action can designate a spell slot as its target for automatic resource consumtion. #818

Closed aaclayton closed 3 months ago

aaclayton commented 3 years ago

Originally in GitLab by @Angor-de-Redjak

Hello!

I play in an AU/system using D&D5 SRD.

In this game there is a ranger's action which allow to spend a spell slot to make an arrow shot magical and inflicts more damage. I would like to automatize this action but I can't choose a spell slot as a consumable resource for the time being.

Would it be possible to implement this?

While I'm at it, do you think it would be possible to do like "damage formula", a + button adding a new line, for the consumption of resources? I could set this way spell slot and arrow consumption.

Thanks for reading me!

aaclayton commented 3 years ago

Comment from @akrigline

The new artificer class also leverages spell slots for it's class features, to add another example.

aaclayton commented 3 years ago

Submission from @zeel01:

When selecting a resource to consume on an Item, add an option for "Spell Slots", with slots of each level available to the item owner listed, along with "any" as targets.

Example Usage: Divine Smite, which consumes a spell slot of any level to add radiant damage to an attack.

Additionally, a number of special class abilities including many in the latest 5e sourcebook, allow a spent use of the ability to be regained by expending a spell slot.

aaclayton commented 3 years ago

It would need to go into an ability use dialog prompt to get the user to choose what level of spell slot they want to use at the time of the ability usage (similar to how upcasting works).

Complicated, but doable.

aaclayton commented 3 years ago

Originally in GitLab by @aoanla

[Note that this feature request is part of a set of "make consumable resources more useful" requests - like https://gitlab.com/foundrynet/dnd5e/-/issues/506 and https://gitlab.com/foundrynet/dnd5e/-/issues/485 ]

aaclayton commented 3 years ago

Originally in GitLab by @aoanla

+1 on this: this functionality is also needed for core SRD content -

(Further subclass features in the PHB and other official 5e content also require such a feature - the Hexblade "Eldritch Smite" for example)

- (edited: there was a comment about other consumable resources, but it seems that this is a bug in the SRD compendium entries - not referencing "Ki" for Ki features - rather than a limitation of the 5e module as it is.)

arbron commented 3 months ago

Been possible for awhile.