LogCastFailure
function · objectlayer · primitive
- Address
0x62c360· 643 bytes, up to0x62c5e2- Signature
void __fastcall (void *unit, uint32_t spell, const char *reason)- Meaning
- Writes a unit's cast failure line to the combat log after the one-sided range test
- Confidence
- verified, proof one
- Finding
- objectlayer/combatlog#the-one-sided-range-test
- Test
objectlayer::diff_combat_gate_copied_twin,objectlayer::diff_combat_gate_dist2
Finding: The one-sided range test in objectlayer: combat log
The formatters about one unit, deaths, casts, auras and dispels among them, test only that unit:
the player must lie strictly within its class's range. Each looks up CombatDeathLogRange first.
Only the death line uses it, as the range when the CVar exists; 0x628010 would with its flag set,
and both of its callers pass 0. The other thirteen lookups are dropped.
The derivation is in the doc.
Callers 1
- ReportCastFailure spell
Callees 15
- SetVector3 spline
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- ClassifyGuidForPlayer objectlayer
- IsActivePlayerUnit objectlayer
- CGUnit_C::GetUnitName objectlayer
- GetCombatLogRange objectlayer
- AddCombatLogLine objectlayer
- WarnMissingCombatString objectlayer
- SpellIsPerform objectlayer
- GetCastChatType objectlayer
- CombatLogSpellHook objectlayer
- CVar::Lookup cvar
- SStrPrintf storm
- FrameScript_GetText ui
Calls and jumps by a bare address, from tables/calls.tsv.