Core: Codestyle cleanup
This commit is contained in:
@@ -94,7 +94,7 @@ public:
|
||||
class spell_q5206_test_fetid_skull_SpellScript : public SpellScript
|
||||
{
|
||||
PrepareSpellScript(spell_q5206_test_fetid_skull_SpellScript)
|
||||
bool Validate(SpellEntry const * /*spellEntry*/)
|
||||
bool Validate(SpellEntry const* /*spellEntry*/)
|
||||
{
|
||||
if (!sSpellStore.LookupEntry(SPELL_CREATE_RESONATING_SKULL))
|
||||
return false;
|
||||
@@ -219,14 +219,14 @@ public:
|
||||
class spell_q11396_11399_force_shield_arcane_purple_x3_AuraScript : public AuraScript
|
||||
{
|
||||
PrepareAuraScript(spell_q11396_11399_force_shield_arcane_purple_x3_AuraScript)
|
||||
void HandleEffectApply(AuraEffect const * /*aurEff*/, AuraEffectHandleModes /*mode*/)
|
||||
void HandleEffectApply(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/)
|
||||
{
|
||||
Unit* pTarget = GetTarget();
|
||||
pTarget->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_OOC_NOT_ATTACKABLE);
|
||||
pTarget->AddUnitState(UNIT_STAT_ROOT);
|
||||
}
|
||||
|
||||
void HandleEffectRemove(AuraEffect const * /*aurEff*/, AuraEffectHandleModes /*mode*/)
|
||||
void HandleEffectRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/)
|
||||
{
|
||||
GetTarget()->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_OOC_NOT_ATTACKABLE);
|
||||
}
|
||||
@@ -254,7 +254,7 @@ public:
|
||||
class spell_q11396_11399_scourging_crystal_controller_SpellScript : public SpellScript
|
||||
{
|
||||
PrepareSpellScript(spell_q11396_11399_scourging_crystal_controller_SpellScript);
|
||||
bool Validate(SpellEntry const * /*spellEntry*/)
|
||||
bool Validate(SpellEntry const* /*spellEntry*/)
|
||||
{
|
||||
if (!sSpellStore.LookupEntry(SPELL_FORCE_SHIELD_ARCANE_PURPLE_X3))
|
||||
return false;
|
||||
@@ -293,7 +293,7 @@ public:
|
||||
class spell_q11396_11399_scourging_crystal_controller_dummy_SpellScript : public SpellScript
|
||||
{
|
||||
PrepareSpellScript(spell_q11396_11399_scourging_crystal_controller_dummy_SpellScript);
|
||||
bool Validate(SpellEntry const * /*spellEntry*/)
|
||||
bool Validate(SpellEntry const* /*spellEntry*/)
|
||||
{
|
||||
if (!sSpellStore.LookupEntry(SPELL_FORCE_SHIELD_ARCANE_PURPLE_X3))
|
||||
return false;
|
||||
@@ -355,7 +355,7 @@ public:
|
||||
class spell_q11587_arcane_prisoner_rescue_SpellScript : public SpellScript
|
||||
{
|
||||
PrepareSpellScript(spell_q11587_arcane_prisoner_rescue_SpellScript)
|
||||
bool Validate(SpellEntry const * /*spellEntry*/)
|
||||
bool Validate(SpellEntry const* /*spellEntry*/)
|
||||
{
|
||||
if (!sSpellStore.LookupEntry(SPELL_SUMMON_ARCANE_PRISONER_MALE))
|
||||
return false;
|
||||
@@ -416,7 +416,7 @@ public:
|
||||
class spell_q11730_ultrasonic_screwdriver_SpellScript : public SpellScript
|
||||
{
|
||||
PrepareSpellScript(spell_q11730_ultrasonic_screwdriver_SpellScript)
|
||||
bool Validate(SpellEntry const * /*spellEntry*/)
|
||||
bool Validate(SpellEntry const* /*spellEntry*/)
|
||||
{
|
||||
if (!sSpellStore.LookupEntry(SPELL_SUMMON_SCAVENGEBOT_004A8))
|
||||
return false;
|
||||
@@ -545,7 +545,7 @@ public:
|
||||
{
|
||||
public:
|
||||
PrepareSpellScript(spell_q12634_despawn_fruit_tosser_SpellScript)
|
||||
bool Validate(SpellEntry const * /*spellEntry*/)
|
||||
bool Validate(SpellEntry const* /*spellEntry*/)
|
||||
{
|
||||
if (!sSpellStore.LookupEntry(SPELL_BANANAS_FALL_TO_GROUND))
|
||||
return false;
|
||||
@@ -640,7 +640,7 @@ public:
|
||||
{
|
||||
public:
|
||||
PrepareAuraScript(spell_q12851_going_bearback_AuraScript)
|
||||
void HandleEffectApply(AuraEffect const * /*aurEff*/, AuraEffectHandleModes /*mode*/)
|
||||
void HandleEffectApply(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/)
|
||||
{
|
||||
if (Unit* caster = GetCaster())
|
||||
{
|
||||
@@ -694,7 +694,7 @@ public:
|
||||
{
|
||||
public:
|
||||
PrepareSpellScript(spell_q12937_relief_for_the_fallen_SpellScript)
|
||||
bool Validate(SpellEntry const * /*spellEntry*/)
|
||||
bool Validate(SpellEntry const* /*spellEntry*/)
|
||||
{
|
||||
if (!sSpellStore.LookupEntry(SPELL_TRIGGER_AID_OF_THE_EARTHEN))
|
||||
return false;
|
||||
@@ -745,7 +745,7 @@ class spell_q10041_q10040_who_are_they : public SpellScriptLoader
|
||||
{
|
||||
PrepareSpellScript(spell_q10041_q10040_who_are_they_SpellScript);
|
||||
|
||||
bool Validate(SpellEntry const * /*spellEntry*/)
|
||||
bool Validate(SpellEntry const* /*spellEntry*/)
|
||||
{
|
||||
if (!sSpellStore.LookupEntry(SPELL_QUESTGIVER))
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user