performMath(calculation, effects, datavalue, maxRank, options) function

A function that takes in calculations and performs the necessary operations to generate appropriate tooltips.

Signature:

export declare function performMath(calculation: {    [key: string]: any;    __type: string;}, effects: {    value: number[];}[], datavalue: {    [name: string]: number[];}, maxRank: number, options: {    percent: boolean;}): string;

Parameters

ParameterTypeDescription
calculation{ key: string: any; __type: string; }The calculations.
effects{ value: number; }The effect values.
datavalue{ name: string: number; }The named data values.
maxRankNumberThe max applicable spell rank.
options{ percent: boolean; }Additional spell math options.

Return type : String