benilla-re systems structs docs

CGUnit_C::CanAssist_Corpse

function · objectlayer · orchestration

Address
0x6067d0 · 22 bytes, up to 0x6067e5
Signature
bool __thiscall (CGUnit_C *this, CGCorpse_C *corpse)
Meaning
Returns whether the unit's reaction toward a corpse is 4 or more
Confidence
verified, proof one
Name from
the community database (idb)
Finding
objectlayer/reaction#assisting-cooperating-and-interacting

Finding: Assisting, cooperating and interacting in objectlayer: reaction

0x6066f0(this = A, B) lets A assist B when B is selectable (bit 25 clear) and A's reaction is 4 or more. A controlled B's dueling player must share A's duel and team; a free-for-all one needs A's too; a missing player passes. An uncontrolled B passes for an uncontrolled A. Else, with a live charmer or creator unit, B fails on its own bit 8 and takes that unit's PvP flag; without one, it takes its own. A corpse needs a reaction of 4. Cooperating needs two uncharmed units, not one, with equal group masks. Interacting needs a selectable B with NPC flags, both reactions at least 3, and for a ghost A, a creature seen by ghosts.

The derivation is in the doc.

Callers 6

Callees 1

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