Skip to content

FloatPerSpellLevel

Class Documentation

Edit documentation

A number that can depend on the spell level, used by the targeting indicators for sizes, ranges and growth times. mValueType says whether it is unset, one value for every level, or one value per level.

The holder decides what an unset value means. Most holders replace it with a field of the spell, such as mLineWidth or castRadius; each property that takes this class states its replacement. A holder that names no replacement reads mPerLevelValues[0] for an unset value, which is 0 unless the data writes it.

Properties

mPerLevelValues

List<F32> = [0, 0, 0, 0, 0, 0]
Edit documentation

The values for spell levels 1-6. With mValueType 1 only the first entry is read.

mValueType

U32 = 0
Edit documentation

How the value is read:

Value Name Value read
0 Unset The holder's replacement, see above.
1 Single mPerLevelValues[0] at every level.
2 Per level mPerLevelValues[level - 1]. Level 0 reads the first entry.

Referenced by 9 classes · 24 properties