mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-08-30 03:40:32 +00:00
Fix for AUX reserve cost error.
This commit is contained in:
@@ -18183,7 +18183,7 @@
|
||||
const endCost = 1;
|
||||
const recCost = 2;
|
||||
|
||||
let reserveCP = heroRoundLow( (endCost * Math.ceil(endValue/4) + recCost * Math.ceil(recValue/3))/(1+limValue) );
|
||||
let reserveCP = heroRoundLow( (endCost * Math.ceil(endValue/4) + recCost * Math.floor(recValue/3))/(1+limValue) );
|
||||
|
||||
// Update cost
|
||||
setAttrs({
|
||||
|
||||
Reference in New Issue
Block a user