PDA

View Full Version : Prompt for input on effect application



flashgordon
October 1st, 2024, 22:07
This would probably not be trivial to implement, but would it be possible to add a prompt for input on applying an effect? Either from a drop down / list or manual text input. So something like the following:

DMG: 2 [PROMPT]

The idea is that it would open a menu prompt for the user to input the damage type. This would be useful for things like Arcane Cascade, or the Mortal Weakness effect of Exploit Vulnerability.

Trenloe
October 1st, 2024, 23:54
Interesting idea. This could get pretty complex to code and use. There's additional complexity for each effect type that could then require specifying what does [PROMPT] refer to? In the DMG example it could be [range], [damage type], [proflevel] or [trait]. So additional code would need to be added to cater for prompting for different things - and trait couldn't be reliably coded as in practice a trait could be anything. Sure, there could be something like [PROMPT DMGTYPE], but then there'd need to be specific coding to do that for each supported prompt type. I'm not saying it's impossible, just a lot of coding for a somewhat niche requirement.

I'll add it to the dev request list, but it'll be a low priority with no guarantee of implementation. It might get added when other effect coding is being added to the ruleset.