benilla-re systems structs docs

ReadSpellNonMeleeDamage

function · objectlayer · primitive

Address
0x5e85e0 · 986 bytes, up to 0x5e89b9
Signature
uint32_t __fastcall (void *param, uint32_t opcode, uint32_t time, CDataStore *msg)
Meaning
Reads a spell's damage, logs it, raises WOUND with its marks and floats the number or miss word
Confidence
verified, proof one
Finding
objectlayer/playercombat#non-melee-damage

Finding: Non-melee damage in objectlayer: player spells and combat

0x250 (0x5e85e0) reads packed target and caster, spell, damage, school, absorbed, resisted, a periodic byte, a byte, blocked, hit flags and a debug byte. Hit flag 0x8 logs through 0x62de60 and raises a plain WOUND. Otherwise it logs periodic or direct damage and raises WOUND with critical (hit flag 0x2), absorb, block and resist marks; the target floats the damage, or for none the absorb (10), block (5) or resist (2) word.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 12

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