CGPlayer_C::SpiritHealerDialog
function · objectlayer · primitive
- Address
0x5df730· 391 bytes, up to0x5df8b6- Meaning
- Asks the ghost to confirm the spirit healer's experience loss, or with 0 accepts within range
- Confidence
- verified, proof one
- Finding
- objectlayer/interaction#confirmation-dialogs
- Test
objectlayer::range_gate_5df730_difftest,objectlayer::skill_rank_scale_5df730_difftest,objectlayer::range_gate_5df980_clone_family_difftest
Finding: Confirmation dialogs in objectlayer: interaction
The spirit healer, talent wipe, pet unlearn and binder each run twice: with a GUID they remember
it and signal the confirmation; with 0 they act on the remembered one, if its unit is still in
range. The spirit healer needs a ghost and shows CONFIRM_XP_LOSS with 5% of the next level's
experience; the talent and pet dialogs remember the cost, show it, and on accept refuse with
ERR_NOT_ENOUGH_MONEY when it exceeds the money; the binder shows the inn's area name or
HOME_INN. The server's 0x222, 0x2aa, 0x2f1 and 0x2eb open them.
| dialog | GUID | event | accept |
|---|---|---|---|
0x5df730 | 0xc4d798 | CONFIRM_XP_LOSS | 0x21c |
0x5df980 | 0xc4d7a0, cost 0xc4d7a8 | CONFIRM_TALENT_WIPE | 0x2aa |
0x5dfba0 | 0xc4d7b0, cost 0xc4d7b8 | CONFIRM_PET_UNLEARN | 0x2f0 |
0x5dfdc0 | 0xc4d7c0 | CONFIRM_BINDER | 0x1b5 |
The derivation is in the doc.
Callers 3
- Script::AcceptXPLoss ui
- HandlePlayerNotice objectlayer
- CGPlayer_C::InteractWithNpc objectlayer
Callees 7
- __ftol crt
- CDataStore::PutUInt32 base
- CDataStore::PutGuid base
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- ClientServices::Send net
- FrameScript_SignalEvent2 ui
Calls and jumps by a bare address, from tables/calls.tsv.