Hotfix for skills without effects breaking calculations
This commit is contained in:
@@ -31,7 +31,7 @@ export default function computeVariableAsSkill(computation, node, prop){
|
|||||||
// Combine everything to get the final result
|
// Combine everything to get the final result
|
||||||
const statBase = node.data.baseValue || 0;
|
const statBase = node.data.baseValue || 0;
|
||||||
const aggregator = node.data.effectAggregator;
|
const aggregator = node.data.effectAggregator;
|
||||||
const aggregatorBase = aggregator.base || 0;
|
const aggregatorBase = aggregator?.base || 0;
|
||||||
|
|
||||||
// If there is no aggregator, determine if the prop can hide, then exit
|
// If there is no aggregator, determine if the prop can hide, then exit
|
||||||
if (!aggregator){
|
if (!aggregator){
|
||||||
|
|||||||
Reference in New Issue
Block a user