Skip to content

FinalDamageState

The last animation state at which a flame particle still burns what it drifts over.

Specification
Applies to
ParticleType
File
rules.ini
Section
[<ObjectType ID>]
Value
integer
When omitted
InheritedThe value EndStateAI holds in the same section.

A Fire particle applies its Damage only while its animation state is at or below this value. States only climb, so once a flame passes this state it does no more damage. A value at or above EndStateAI keeps the flame damaging for its whole life. A negative value stops it from ever damaging. The value is held in one signed byte, so 128 to 255 wrap to negative values and also stop all damage, and 256 wraps to 0. Other behaviors ignore the setting.

A flame with Normalized=yes also uses this value to pace its animation. When it is created, it divides its expected flight time to its target point by this value plus one, and advances one state per share. It therefore passes this state at about the time it reaches its target point.

A later rules file that opens the section without this key sets it to the EndStateAI in force after that file. A layer that changes only EndStateAI therefore moves the damage limit with it. A layer that sets neither key discards a shorter damage limit set earlier and returns it to the end state.