Skip to content

LastDamageAmountFloatDriver

15.15

Inheritance 2 ancestors · 48 siblings

Class Documentation

Edit documentation

A float driver that returns the amount stored with the last death of the source. The client writes the value only when the unit dies, from the record the server sends with the death. While the unit lives, the value does not change.

The source must be a unit. Without one the driver returns 0. A unit that has not died yet has the value it was created with.