mirror of
https://github.com/brues-code/ClassicAPI.git
synced 2026-11-16 08:00:42 +00:00
C_DeathInfo.GetSelfResurrectOptions, C_DeathInfo.UseSelfResurrectOption and Enum.SelfResurrectOptionType over what 1.12 already serves through HasSoulstone and UseSoulstone. Both pick one option the same way: PLAYER_SELF_RES_SPELL when the server set it, else the first carried item whose on-use spell is a self-resurrect. The list holds that option under HasSoulstone's alive gate, and using it calls the engine's UseSoulstone. Nothing in 1.12 limits a self-resurrection, so canUse is true, isLimited false and priority 0. SELF_RES_SPELL_CHANGED is 4.3.4's watcher on PLAYER_SELF_RES_SPELL from SetActiveMirrorHandlers. 1.12 watches no such field, so the watcher joins CGPlayer_C::AddActiveWatchers and leaves before its removal, the lifetime of the engine's own player watchers.