diff options
author | Gacko <gacko28@gmx.de> | 2017-04-26 20:43:42 +0200 |
---|---|---|
committer | Gacko <gacko28@gmx.de> | 2017-04-26 20:43:42 +0200 |
commit | 9386db7d750579b1685d355aba8e89293a2f742b (patch) | |
tree | d2167ca38a1209c5046729aee3b622fb39ec1858 | |
parent | adc7764d73d77dd0b5ba188773771130d69bd769 (diff) |
Fix warning.
-rw-r--r-- | src/server/scripts/Spells/spell_item.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/server/scripts/Spells/spell_item.cpp b/src/server/scripts/Spells/spell_item.cpp index fe2c7b3b170..78789581f7b 100644 --- a/src/server/scripts/Spells/spell_item.cpp +++ b/src/server/scripts/Spells/spell_item.cpp @@ -1210,10 +1210,11 @@ class spell_item_crystal_spire_of_karabor : public SpellScriptLoader bool CheckProc(ProcEventInfo& eventInfo) { - int32 pct = GetSpellInfo()->GetEffect(EFFECT_0)->CalcValue(); + //int32 pct = GetSpellInfo()->GetEffect(EFFECT_0)->CalcValue(); if (HealInfo* healInfo = eventInfo.GetHealInfo()) if (Unit* healTarget = healInfo->GetTarget()) - // @todo: fix me if (healTarget->GetHealth() - healInfo->GetEffectiveHeal() <= healTarget->CountPctFromMaxHealth(pct)) + // @todo: fix me + //if (healTarget->GetHealth() - healInfo->GetEffectiveHeal() <= healTarget->CountPctFromMaxHealth(pct)) return true; return false; |