Cleaning unused variables
This commit is contained in:
@@ -937,7 +937,7 @@ class spell_dk_pet_scaling : public SpellScriptLoader
|
||||
int32 modifier = 33;
|
||||
|
||||
// xinef: impurity
|
||||
if (AuraEffect const* impurityEff = owner->GetDummyAuraEffect(SPELLFAMILY_DEATHKNIGHT, 1986, 0))
|
||||
if (owner->GetDummyAuraEffect(SPELLFAMILY_DEATHKNIGHT, 1986, 0))
|
||||
modifier = 40;
|
||||
|
||||
amount = CalculatePct(std::max<int32>(0, owner->GetTotalAttackPowerValue(BASE_ATTACK)), modifier);
|
||||
|
||||
@@ -624,7 +624,7 @@ class spell_dru_lifebloom : public SpellScriptLoader
|
||||
{
|
||||
if (Unit* target = GetUnitOwner())
|
||||
{
|
||||
if (AuraEffect const* aurEff = GetEffect(EFFECT_1))
|
||||
if (GetEffect(EFFECT_1))
|
||||
{
|
||||
Unit* caster = GetCaster();
|
||||
int32 healAmount = GetSpellInfo()->Effects[EFFECT_1].CalcValue(caster ? caster : target, 0, target) * dispelInfo->GetRemovedCharges();
|
||||
|
||||
Reference in New Issue
Block a user