Files
WoW-Hybrid-gateway/include/gateway/source_self_applied_aura_profile.hpp
praxisandClaude Fable 5.2 c2194c59d4 Protocol core: packet translation between source and native
127 files, from working commit b1a079a.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 01:32:47 +02:00

19 lines
1.0 KiB
C++

// Reviewed source auras that the source applies to its own holder without a
// cast event, so Turtle sends no SMSG_SPELL_GO and no cast identity.
// Tortoise Player::SetGMVisible(false) AddAura(16380, permanent) on self;
// native SpellEffect 687616 targets only the caster (ImplicitTarget 1,0).
// Native Unit::AddAura still assigns a CastID and AuraApplication sends
// NOCASTER with no CastUnit for a self-cast. Observed contract (ghost 8326,
// bd4c985): the identical state-kit procedural alpha Type14/0.5 renders only
// with that self-cast context, not with the empty-caster fallback. Spell 37800
// (the reference GM visual) is absent from native 70334 DB2s and the official
// hotfix cache, so the source spell keeps its own native definition/visual.
#pragma once
#include <algorithm>
#include <cstdint>
#include <iterator>
namespace gateway::source_self_applied_aura_profile {
inline constexpr uint32_t Spells[]={16380};
inline bool contains(uint32_t spell){return std::binary_search(std::begin(Spells),std::end(Spells),spell);}
}