Skip to content

Commit

Permalink
Fix Orb of Deception for patch 1.6 and below (#2190)
Browse files Browse the repository at this point in the history
Before patch 1.7, Orb of Deception was applied as a Dummy aura instead
of a Transform aura. Otherwise the spell is nearly identical, so we
simply reuse the existing Transform aura handling.
  • Loading branch information
codestothestars authored Sep 20, 2023
1 parent 171e919 commit deb66bd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/game/Spells/SpellAuras.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1786,6 +1786,8 @@ void Aura::HandleAuraDummy(bool apply, bool Real)
m_modifier.periodictime = 5 * IN_MILLISECONDS; // expected to tick with 5 sec period
return;
}
case 16739: // Orb of Deception (before patch 1.7)
return HandleAuraTransform(apply, Real);
case 21827: // Frostwolf Aura DND
case 21863: // Alterac Ram Aura DND
{
Expand Down Expand Up @@ -1966,6 +1968,8 @@ void Aura::HandleAuraDummy(bool apply, bool Real)

return;
}
case 16739: // Orb of Deception (before patch 1.7)
return HandleAuraTransform(apply, Real);
case 20939: // Undying Soul - Dummy aura used for Unstuck command
{
if (m_removeMode == AURA_REMOVE_BY_EXPIRE)
Expand Down

0 comments on commit deb66bd

Please sign in to comment.