Core/Defines: define faction templates and replace magic numbers from scripts
This commit is contained in:
1 parent
ec3945c3b7
commit
f0e36b0863
83 files changed
+227
-278
No files matched your search
@@ -3531,7 +3531,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