PDA

View Full Version : power group type toggle, incorrect character display.



bratch9
February 6th, 2022, 21:02
When you toggle the 'power group type' in the meta the display becomes incorrect.

Create a character with the wizard and add some spells, i've used 'Bard' for this..

The initial 'mode = preparation' display will show,

51348

If you toggle the 'Bard' meta 'group type' into 'weapon' mode from spell you will see,

51349

This has now reduced the 'cantrips' and 'leveled spells', into one group ( which is fine. ), But you can now see the mix of 'dots' for the 'prepared' tick box along with the '0' and 'daily' boxes for the 'weapon' group. You will see the 'cantrips' do not have the 'prepared' tick box.

This is showing 'both' modes items in an odd way...

If you look at the group type 'weapon' mode for the 'bard actions/effects' meta data. This started with '3' daily 'bardic inspiration' points.

51350

If you toggle the 'group type' into the 'spell' mode you see,

51351

And if you toggle the 'group type' back to 'weapon' mode you see that the 'bardic inspiration' points has been 'reset' to '1'.

51352

I feel this should not happen, if you 'accidentally' toggle the 'group type' the 'daily' values should be held and respected when it is returned.

As I understand the 'spell' mode forces this value to '1' due to how it 'adds' up the 'prepared tick' values to internally count the 'prepared' spell total. ( 'preparedTotal += value' type code.. )

Would it not be better, instead of forcing the user value to zero or one when it has a >1 value in group type spell, could the code that adds up the value do something more like 'preparedTotal += (value > 1)?1:0', so that it is valid in the 'spell' group type mode to allow >1 values to 'exist' but still only get counted as '1' towards the preparedTotal ?

Thanks, Pete