benilla-re systems structs docs

TryCastSpell

function · spell · primitive

Address
0x6e4b60 · 1685 bytes, up to 0x6e51f4
Signature
uint8_t __fastcall (CGUnit *caster, uint32_t spell, CGItem *item, uint64_t target)
Meaning
Runs the local cast refusals, fills the pending cast, pushes it in flight and sends or raises the cursor
Confidence
verified, proof one
Finding
spell/cast#cast-attempt-refusals

Finding: Cast attempt refusals in spell: cast

0x6e4b60(caster, spell, item, target guid) returns 1 when the cast was sent or targeting began, else 0. Its first checks, in order, each return 0:

checkrefused whenreport
inputsno caster, no record, Attributes & 0x40none
0x494a50(2)it returns 0none
professionEffect[0] 47toggles a window, nothing sent
dead0x605f30 and not Attributes & 0x8000000x13
AttackEffect[0] 780x6131a0 on the target, nothing sent
lootingEffect[0] 99, 127, or 53, 54, 920x82, 0x83, 0x61
same spellspell is the in-flight onesound igPlayerInviteDecline

The derivation is in the doc.

Callers 2

Callees 31

Calls and jumps by a bare address, from tables/calls.tsv.