UnitHasAura
function · objectlayer · primitive
- Address
0x61dc20· 37 bytes, up to0x61dc44- Signature
bool __fastcall (CGUnit_C *unit, uint32_t spell)- Meaning
- Returns whether a unit's aura fields hold a spell
- Confidence
- verified, proof one
- Finding
- objectlayer/missiles#arrival-without-a-target
Finding: Arrival without a target in objectlayer: missiles
0x61d870 plays the visual's +0x34 kit on the caster as kind 3 at the arrival point. Then for each
GUID it carries: with reasons, a nonzero reason not yet reported floats the miss word, raises
UNIT_COMBAT and writes the miss line, unless the spell has Attributes 0x100 (only the line
remains); without reasons, the target plays the impact kit +0xc as kind 1 and, while alive with
the spell's aura, the state kit +0x10 as kind 2. A visual +0x30 effect model replaces the
missile's model as an impact model; otherwise the missile is freed.
The derivation is in the doc.
Callers 2
- CMissile::ArriveWithoutTarget objectlayer
- CMissile::ArriveHit objectlayer
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.