Skip to content

BuffCounterDynamicMaterialFloatDriver

Inheritance 2 ancestors · 48 siblings

Class Documentation

Edit documentation

A float driver that returns the counter of a buff on the source. The counter is the number a buff script counts up or down, which is usually the stack count. The value is the raw count, not a fraction.

The source must be a unit. The driver returns 0 without one, when the buff cannot be resolved, and when the unit does not have the buff. When the unit has several instances of the buff, the first valid one supplies the value.

Shipped uses: Sett's grit meter and its pips in the LogicDriverViewController UI, and Irelia's passive stack conditions in her animation graph.

Properties

Spell

Hash = "0x0"
Edit documentation

The spell object of the buff. When it resolves, the buff is found by the script name of that spell. This is the form shipped data uses.

mScriptName

String = ""
Edit documentation

The script name of the buff. Used only when Spell does not resolve.