benilla-re systems structs docs

BlizzardObject::Update

function · spell · primitive

Address
0x6ebad0 · 822 bytes, up to 0x6ebe05
Signature
uint32_t __thiscall (BlizzardObject *this)
Meaning
Accumulates frame time times rate, spawns a shard per whole unit, returns 0 once the rate is 0.0 and no shard is left
Confidence
verified, proof one
Finding
spell/visuals#shard-emission-rate
Test
spell::spellvisual_emitter_difftest

Finding: Shard emission rate in spell: visuals

0x6ebad0 adds frameSeconds · rate to the accumulator +0x120 and, while the sum is at least 1.0, spawns a shard and subtracts 1.0. It returns 1 while the rate is not 0.0 (NaN counts as not 0.0) or the shard list is not empty, else 0. A NaN accumulator never spawns again.

The derivation is in the doc.

Callers 1

Callees 11

Calls and jumps by a bare address, from tables/calls.tsv.