We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eed037a commit c44795cCopy full SHA for c44795c
module/documents/actor.mjs
@@ -273,12 +273,10 @@ export class BasicFantasyRPGActor extends Actor {
273
"label": 'BASICFANTASYRPG.Height'
274
};
275
276
- console.warn('totalCost: ' + totalCost);
277
data.cost = {
278
"value": (totalCost + (totalCost * (totalHeight / 100))) * data.costMultiplier.value, // each 10' of height adds 10% to the costs in both time and money
279
"label": 'BASICFANTASYRPG.Cost'
280
281
- console.warn('data.cost.value: ' + data.cost.value);
282
283
data.buildTime = {
284
"value": Math.ceil(Math.max(data.cost.value / data.workers.value, Math.sqrt(data.cost.value))),
0 commit comments