benilla-re systems structs docs

s_targetKindCases

global · ui

Address
0x493f50 · 16 bytes, up to 0x493f5f
Type
void *[4]
Meaning
Holds the four case addresses of the targeting kind filter 0x493e40
Confidence
verified, proof one
Finding
ui/targeting#the-candidate-filter

Finding: The candidate filter in ui: selecting a target

A candidate is a unit that the kind accepts. Kind 1 accepts a living unit with health, that the player can attack, whose dynamic flags +0x224 lack bit 5, and whose slot +0xa4 does not answer 7. Kind 2 accepts a unit the player can assist that has health. Kind 3 accepts a party member other than the player, and kind 4 a party or raid member other than the player. Any other kind accepts everything.

The derivation is in the doc.