mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-11 21:01:29 +00:00
Auras were trying to cast another aura spell vice the spell effect
This commit is contained in:
parent
04bb9bf39c
commit
767846f7e5
@ -942,12 +942,12 @@ bool ZoneDatabase::GetAuraEntry(uint16 spell_id, AuraRecord& r)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
auto e = l.front();
|
auto& e = l.front();
|
||||||
|
|
||||||
strn0cpy(r.name, e.name.c_str(), sizeof(r.name));
|
strn0cpy(r.name, e.name.c_str(), sizeof(r.name));
|
||||||
|
|
||||||
r.npc_type = e.npc_type;
|
r.npc_type = e.npc_type;
|
||||||
r.spell_id = spell_id;
|
r.spell_id = e.spell_id;
|
||||||
r.distance = e.distance * e.distance;
|
r.distance = e.distance * e.distance;
|
||||||
r.aura_type = e.aura_type;
|
r.aura_type = e.aura_type;
|
||||||
r.spawn_type = e.spawn_type;
|
r.spawn_type = e.spawn_type;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user