mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 18:36:31 +01:00
Scripts/Misc: Some code style fixes for old code
This commit is contained in:
@@ -40,7 +40,6 @@ enum Says
|
||||
enum Spells
|
||||
{
|
||||
SPELL_MORTAL_WOUND = 30641,
|
||||
H_SPELL_MORTAL_WOUND = 36814,
|
||||
SPELL_SURGE = 34645,
|
||||
SPELL_RETALIATION = 22857
|
||||
};
|
||||
@@ -78,7 +77,6 @@ class boss_watchkeeper_gargolmar : public CreatureScript
|
||||
}
|
||||
|
||||
void MoveInLineOfSight(Unit* who) override
|
||||
|
||||
{
|
||||
if (!me->GetVictim() && me->CanCreatureAttack(who))
|
||||
{
|
||||
|
||||
@@ -280,8 +280,8 @@ class spell_q11396_11399_force_shield_arcane_purple_x3 : public SpellScriptLoade
|
||||
void HandleEffectApply(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/)
|
||||
{
|
||||
Unit* target = GetTarget();
|
||||
target->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_IMMUNE_TO_PC);
|
||||
target->AddUnitState(UNIT_STATE_ROOT);
|
||||
target->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_IMMUNE_TO_PC);
|
||||
target->AddUnitState(UNIT_STATE_ROOT);
|
||||
}
|
||||
|
||||
void HandleEffectRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/)
|
||||
|
||||
Reference in New Issue
Block a user