aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authorn0n4m3 <none@none>2009-12-26 16:47:40 +0100
committern0n4m3 <none@none>2009-12-26 16:47:40 +0100
commitaadbff5903ce9e4fb38acb7939bb426bc9e0e340 (patch)
tree9d47f1b2ba66c06d742eee7718dda362132082ae /src/game/Unit.cpp
parent37d255d70f4b0e70bc06eb35b2657138102663b1 (diff)
Revert not needed changes(this implemented soon)
--HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 0085ec18ae2..2d9383e53ee 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -5566,10 +5566,6 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger
// Combustion
case 11129:
{
- Unit *caster = triggeredByAura->GetCaster();
- if (!caster || !damage)
- return false;
-
//last charge and crit
if (triggeredByAura->GetParentAura()->GetAuraCharges() <= 1 && (procEx & PROC_EX_CRITICAL_HIT) )
{
@@ -5577,7 +5573,7 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger
return true; // charge counting (will removed)
}
- CastSpell(this, 28682, true, castItem, triggeredByAura);
+ CastSpell(this, 11129, true, castItem, triggeredByAura);
return (procEx & PROC_EX_CRITICAL_HIT);// charge update only at crit hits, no hidden cooldowns
}
// Glyph of Ice Block