PetSpellFailedHandler
function · spell · primitive
- Address
0x6e8eb0· 1251 bytes, up to0x6e9392- Signature
uint32_t __fastcall (void *param, uint32_t opcode, uint32_t time, CDataStore *msg)- Meaning
- Handles opcode 0x138: shows the pet's failure message by its own reason table, with no log line or event
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- spell/failures#pet-cast-failure-packet
Finding: Pet cast failure packet in spell: failures
SMSG_PET_CAST_FAILED (0x138) carries a u32 spell id, a u8 that is never read, and a u8
reason, then, by reason, two u32 for 0x19 to 0x1b (item class, subclass mask) or one u32 id for
0x5d, 0x5e and 0x8d. 0x6e8eb0 needs the spell's record, else shows nothing, and uses the reason
byte whatever the second byte holds. It shows one message through CGGameUI::DisplayError: no
combat-log line, no event, no sound, no _PET key, and no change to the cast. Its argument
words start at 0 and stay 0 when the packet is short.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 8
- CDataStore::GetUInt8 base
- CDataStore::GetInt32 base
- CGGameUI::DisplayError ui
- SStrCopy storm
- SStrPrintf storm
- FindItemSubClassByMask spell
- GetCastFailureKey spell
- FrameScript_GetText ui
Calls and jumps by a bare address, from tables/calls.tsv.