I am looking for a way to make a configurable figure spell DCs based on the highest mental attribute a character has (it is for a campaign where everyone has some sort of cantrip).
The way I see it, I have to...
1- go through mental attributes and pick the highest associated bonus, then
2- store that somewhere and
3- replace the StandardDC.? tag with the appropriate new tag
I have an idea how to do 3, but can't wrap my head around 1 and 2. Any pointers or existing examples I can base myself on?
|