CheckCasterStateForSpell
function · objectlayer · primitive
- Address
0x6094f0· 2908 bytes, up to0x60a04b- Meaning
- Refuses a cast for the caster's state: cooldowns, power, crowd control, mount, stance, time, place
- Confidence
- verified, proof one
- Finding
- objectlayer/units#caster-checks-for-a-spell
- Test
objectlayer::cast_place_rung_difftest
Finding: Caster checks for a spell in objectlayer: units
0x6094f0 refuses a cast for the caster's state, in a fixed order: the record, cooldowns, power,
effects that need a free slot or a pet, life, crowd control, weapons, mount, stance, time of day,
water, movement, form, stealth, combat, aura state, reputation, indoors and outdoors, and taming.
The derivation is in the doc.
Callers 1
- TryCastSpell spell
Callees 27
- CDataStore::PutUInt32 base
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- CGGameUI::DisplayError ui
- GetFactionStanding ui
- ClientServices::Send net
- IsDaytime objectlayer
- CGUnit_C::KnowsSpell objectlayer
- CGUnit_C::GetSpellRequiredLevel objectlayer
- CGUnit_C::KnowsHigherRank objectlayer
- CheckSpellShapeshiftForm objectlayer
- CGUnit_C::TestNodeOutdoors objectlayer
- SErrSetLastError storm
- ReportCastFailure spell
- GetSpellCooldown spell
- GetItemCooldown spell
- GetSpellPowerCost spell
- GetSpellCastTime spell
- ShowPetTameFailure spell
- ScanStunAuras spell
- ScanSilenceAuras spell
- ScanPacifyAuras spell
- ScanFearAuras spell
- ScanConfuseAuras spell
- ScanCharmAuras spell
- GetAutoRepeatSpell spell
- StopAutoRepeatSpell spell
Calls and jumps by a bare address, from tables/calls.tsv.