benilla-re systems structs docs

CGPlayer_C::GetNegativeStat

function · objectlayer · orchestration

Address
0x5efda0 · 82 bytes, up to 0x5efdf1
Meaning
Returns the active player's resistance buff mod, negative, for a school, else 0
Confidence
verified, proof one
Finding
objectlayer/interaction#other-units

Finding: Other units in objectlayer: interaction

functionreturns
0x5f0700a unit is trivial: not a player, below the player's level by more than 4, 4, 5, 5, 6, 6, 7, 7, 8, 9, 10, 11, then 12, by level / 5
0x5efea0the relation of a GUID's unit, or a game object's creator, to the player, 0 to 9
0x5efe00the player's faction side: 0 Horde, 1 Alliance, −1 neither
0x5efe60the gendered PVP_RANK_%d_%d text of a rank for that side
0x5efcd0a resistance's base, effective, positive and negative values
0x5ec4c0, 0x5ec890a race's male or female display id, which 0x5ec480 resolves to a model record; the race's ChrRaces row +0x20
0x5ed5b0the gender: PLAYER_BYTES_3 byte 0 for the active player, else UNIT_FIELD_BYTES_0 byte 2
0x5ed630the first carried item with an on-use spell of effect 0x5e, for Script::UseSoulstone
0x5decc0sends 0x114 with a nonzero GUID and calls 0x4c6f70

The derivation is in the doc.

Callers 1

Callees 1

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