mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-03 15:47:04 +01:00
Core/Misc: Fix static analysis issues
This commit is contained in:
@@ -1426,7 +1426,7 @@ void Guardian::UpdateDamagePhysical(WeaponAttackType attType)
|
||||
float maxdamage = ((base_value + weapon_maxdamage) * base_pct + total_value) * total_pct;
|
||||
|
||||
// Pet's base damage changes depending on happiness
|
||||
if (IsHunterPet() && attType == BASE_ATTACK)
|
||||
if (IsHunterPet())
|
||||
{
|
||||
switch (ToPet()->GetHappinessState())
|
||||
{
|
||||
|
||||
@@ -241,7 +241,6 @@ public:
|
||||
boss_teron_gorefiendAI(Creature* creature) : BossAI(creature, DATA_TERON_GOREFIEND)
|
||||
{
|
||||
Initialize();
|
||||
instance = creature->GetInstanceScript();
|
||||
}
|
||||
|
||||
void Initialize()
|
||||
@@ -259,8 +258,6 @@ public:
|
||||
Done = false;
|
||||
}
|
||||
|
||||
InstanceScript* instance;
|
||||
|
||||
uint32 IncinerateTimer;
|
||||
uint32 SummonDoomBlossomTimer;
|
||||
uint32 EnrageTimer;
|
||||
|
||||
Reference in New Issue
Block a user