javierriveracastro / betteroll-swade

A Better Rolls port for SWADE
GNU General Public License v3.0
15 stars 31 forks source link

Improve handling of powers with 0 PP base cost #642

Closed steveculshaw closed 8 months ago

steveculshaw commented 9 months ago

Working on the Shape Change power modifiers. If I set the actual power to a non-zero PP cost, after the cast roll, the chat card with PP cost is displayed and the extra points correctly added. But if it's a 0 PP power, even with extra costs from power modifiers, the PP cost chat card isn't displayed, nor are the PP's subtracted from the players PP pool

If something has 0 PP base cost the power point counting code is not executed at all. Maybe we need a better heuristic.

From discussion starting around in ...

javierriveracastro commented 8 months ago

Ummm... maybe activating it for powers or things that have PPs?

javierriveracastro commented 8 months ago

Done.