mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-15 00:06:11 +00:00
fix(Scripts/Brewfest): Rewritten Coren Direbrew's fight(#8040)
- Closes #7890
This commit is contained in:
@@ -3800,6 +3800,8 @@ void Spell::EffectSummonObjectWild(SpellEffIndex effIndex)
|
||||
// xinef: this is wrong
|
||||
//ExecuteLogEffectSummonObject(effIndex, linkedGO);
|
||||
|
||||
pGameObj->SetLinkedTrap(linkedGO);
|
||||
|
||||
// Wild object not have owner and check clickable by players
|
||||
map->AddToMap(linkedGO, true);
|
||||
}
|
||||
@@ -5696,6 +5698,7 @@ void Spell::EffectTransmitted(SpellEffIndex effIndex)
|
||||
// xinef: this is wrong
|
||||
//linkedGO->SetOwnerGUID(m_caster->GetGUID());
|
||||
//ExecuteLogEffectSummonObject(effIndex, linkedGO);
|
||||
pGameObj->SetLinkedTrap(linkedGO);
|
||||
|
||||
cMap->AddToMap(linkedGO, true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user