CGPlayer_C::GetNegativeStat
function · objectlayer · orchestration
- Address
0x5efda0· 82 bytes, up to0x5efdf1- 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
| function | returns |
|---|---|
0x5f0700 | a 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 |
0x5efea0 | the relation of a GUID's unit, or a game object's creator, to the player, 0 to 9 |
0x5efe00 | the player's faction side: 0 Horde, 1 Alliance, −1 neither |
0x5efe60 | the gendered PVP_RANK_%d_%d text of a rank for that side |
0x5efcd0 | a resistance's base, effective, positive and negative values |
0x5ec4c0, 0x5ec890 | a race's male or female display id, which 0x5ec480 resolves to a model record; the race's ChrRaces row +0x20 |
0x5ed5b0 | the gender: PLAYER_BYTES_3 byte 0 for the active player, else UNIT_FIELD_BYTES_0 byte 2 |
0x5ed630 | the first carried item with an on-use spell of effect 0x5e, for Script::UseSoulstone |
0x5decc0 | sends 0x114 with a nonzero GUID and calls 0x4c6f70 |
The derivation is in the doc.
Callers 1
- CGPlayer_C::GetStat objectlayer
Callees 1
- ClntObjMgrGetActivePlayer objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.