[Bug Fix] Aura effect spell id from #3964 (#4094)

Auras were trying to cast another aura spell vice the spell effect
This commit is contained in:
JJ 2024-02-18 17:13:32 -05:00 committed by GitHub
parent 04bb9bf39c
commit 767846f7e5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -942,12 +942,12 @@ bool ZoneDatabase::GetAuraEntry(uint16 spell_id, AuraRecord& r)
return false;
}
auto e = l.front();
auto& e = l.front();
strn0cpy(r.name, e.name.c_str(), sizeof(r.name));
r.npc_type = e.npc_type;
r.spell_id = spell_id;
r.spell_id = e.spell_id;
r.distance = e.distance * e.distance;
r.aura_type = e.aura_type;
r.spawn_type = e.spawn_type;