Skip to content

Commit

Permalink
Add (core): Effect Transmit Anticheat Helper (#13447)
Browse files Browse the repository at this point in the history
Add (core): Anticheat Helper
  • Loading branch information
acidmanifesto committed Oct 23, 2022
1 parent 7d2eb5e commit 55a5684
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/server/game/Spells/SpellEffects.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5530,6 +5530,11 @@ void Spell::EffectTransmitted(SpellEffIndex effIndex)

ExecuteLogEffectSummonObject(effIndex, linkedTrap);
}

if (Player* player = m_caster->ToPlayer())
{
player->SetCanTeleport(true);
}
}

void Spell::EffectProspecting(SpellEffIndex /*effIndex*/)
Expand Down

0 comments on commit 55a5684

Please sign in to comment.