Skip to content

StatEfficiencyPerHundred

Class Documentation

Edit documentation

A calculation part that turns a stat into a value with diminishing returns. With s = (stat + mBonusStatForEfficiency) / 100 and v the named data value mDataValue, the part returns:

s * v / ((1 - v) + s * v)

The result is never below 0. If the denominator is 1e-9 or less, the part returns 0. The unit and the stat are selected with the same fields as for a stat part.

Properties

UseNewStats

Bool = false
14.3
Edit documentation

When set, the part reads statType with OutputType instead of mStat and mStatFormula.

UseTargetStats

Bool = false
15.11
Edit documentation

When set, the part reads the stat of the target instead of the caster. Without a target, it reads the caster.

mBonusStatForEfficiency

F32 = 0
Edit documentation

A flat amount that the client adds to the stat before the division by 100.

mDataValue

Hash = "0x0"
Edit documentation

Name of the data value of the owner that gives v.