mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-18 06:00:10 -04:00
Core/Defines: define faction templates and replace magic numbers from scripts
This commit is contained in:
@@ -3742,7 +3742,7 @@ class spell_gen_gm_freeze : public SpellScriptLoader
|
||||
if (Player* player = GetTarget()->ToPlayer())
|
||||
{
|
||||
// stop combat + make player unattackable + duel stop + stop some spells
|
||||
player->SetFaction(35);
|
||||
player->SetFaction(FACTION_FRIENDLY);
|
||||
player->CombatStop();
|
||||
if (player->IsNonMeleeSpellCast(true))
|
||||
player->InterruptNonMeleeSpells(true);
|
||||
|
||||
Reference in New Issue
Block a user