mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 09:17:36 +01:00
Core/Battlegrounds/IoC: fix fortress teleport pads
(and replace a hack with an other hack) Closes #5846 Closes #7993 Ref #8984
This commit is contained in:
@@ -2072,8 +2072,6 @@ class spell_q12641_death_comes_from_on_high : public SpellScriptLoader
|
||||
{
|
||||
uint32 spellId = 0;
|
||||
|
||||
TC_LOG_DEBUG(LOG_FILTER_SPELLS_AURAS, "spell_q12641_death_comes_from_on_high:: Caster: %s (GUID: %u) On Hit Target: Creature: %s (Entry: %u GUID: %u)",
|
||||
GetOriginalCaster()->GetName().c_str(), GetOriginalCaster()->GetGUIDLow(), GetHitCreature()->GetName().c_str(), GetHitCreature()->GetEntry(), GetHitCreature()->GetGUIDLow());
|
||||
switch (GetHitCreature()->GetEntry())
|
||||
{
|
||||
case NPC_NEW_AVALON_FORGE:
|
||||
@@ -2092,7 +2090,7 @@ class spell_q12641_death_comes_from_on_high : public SpellScriptLoader
|
||||
return;
|
||||
}
|
||||
|
||||
GetOriginalCaster()->CastSpell((Unit*)NULL, spellId, true);
|
||||
GetCaster()->CastSpell((Unit*)NULL, spellId, true);
|
||||
}
|
||||
|
||||
void Register() OVERRIDE
|
||||
|
||||
Reference in New Issue
Block a user