Script::GetComboPoints
function · ui · orchestration
- Address
0x51a190· 232 bytes, up to0x51a277- Signature
int __fastcall (lua_State *L)- Meaning
- Returns the combo points of a rogue or druid on its combo target, else 0
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/actionuse#combo-points
Finding: Combo points in ui: placing, picking up and using actions
GetComboPoints (0x51a190) pushes one number, never nil. It is 0 unless the active player is a rogue
(class 4) or a druid (class 11) and the player's combo target ([player+0xe68]+0x838) equals the
selected target (0xb4e2d8); then it is the combo-point byte ([player+0xe68]+0x1029, byte 1 of
PLAYER_FIELD_BYTES). The button usable test reads the same byte class-blind and target-blind
(spell/checks#usability-predicate, gate 5), and a change of the byte signals PLAYER_COMBO_POINTS
(202) (objectlayer/playerfields#combo-points-form-and-far-sight).
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 3
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- lua_pushnumber lua
Calls and jumps by a bare address, from tables/calls.tsv.