UnitClearPrecastSpell
function · objectlayer · orchestration
- Address
0x60d040· 213 bytes, up to0x60d114- Meaning
- Clears the precast spell +0xc8c and bit 0x400 when they match; optionally ends chains and effect
- Confidence
- verified, proof one
- Finding
- objectlayer/auras#precast-and-spell-visual-choice
Finding: Precast and spell visual choice in objectlayer: auras
0x60d450(spell, out) builds the 64-byte visual a unit shows for a spell: the spell's
SpellVisual record, with a ranged spell's empty kits, missile and sound filled from the ranged
weapon's own visual. 0x60d040(spell, end, stop) clears the precast spell +0xc8c and its bit
0x400 and, when told, ends a tracking auto-move, the chain count and the spell effect, and calls
0x48f200 for the active player.
The derivation is in the doc.
Callers 10
- CGUnit_C::OnMonsterMove objectlayer
- CGUnit_C::OnHealthFieldChanged objectlayer
- ProcessLocalMoveEvent objectlayer
- ReportCastFailure spell
- Spell_C::CancelAura spell
- HandleSpellGo spell
- SpellFailedHandler spell
- HandleSpellFailedOtherPacket spell
- StopAutoRepeatSpell spell
- EndSpellPrecastVisual spell
Callees 6
- EndLootWindow ui
- IsActivePlayerUnit objectlayer
- GetAutoMoveMode objectlayer
- CGUnit_C::StopAutoMove objectlayer
- CGUnit_C::IsAutoMovingInModes objectlayer
- CGUnit_C::ReleaseSpellEffect objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.