aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellEffects.cpp
diff options
context:
space:
mode:
authorQAston <none@none>2009-08-12 18:51:19 +0200
committerQAston <none@none>2009-08-12 18:51:19 +0200
commitbee1dff87f0b3ab7acd3f0fb511354e5cc8850fd (patch)
treea6c108c8799be9a3a8de55ac61b368cd7a3c0f44 /src/game/SpellEffects.cpp
parent864e17924060ac865bd7f7db511e536b0933d78e (diff)
*Use #defines instead of spellids for often used spells.
*Make recently broken talent Improved Healthstone work again - by iadus3. --HG-- branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r--src/game/SpellEffects.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index 3a45b57c9a3..74eafcbba54 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -5218,17 +5218,11 @@ void Spell::EffectScriptEffect(uint32 effIndex)
if (AuraEffect const * aurEff = unitTarget->GetDummyAura(SPELLFAMILY_WARLOCK, 284, 0))
{
if(aurEff->GetId() == 18692)
- {
rank = 1;
- break;
- }
else if(aurEff->GetId() == 18693)
- {
rank = 2;
- break;
- }
else
- sLog.outError("Unknown rank of Improved Healthstone id: %f", aurEff->GetId());
+ sLog.outError("Unknown rank of Improved Healthstone id: %d", aurEff->GetId());
}
static uint32 const itypes[8][3] = {