rendered paste bodyIndex: game/Unit.cpp
===================================================================
--- game/Unit.cpp (revision 5491)
+++ game/Unit.cpp (working copy)
@@ -4465,17 +4465,19 @@
return;
}
}
- if( ((Player*)this)->HasSpellCooldown(32910))
+ if( ((Player*)this)->HasSpellCooldown(dummySpell->Id))
return;
+ ((Player*)this)->AddSpellCooldown(dummySpell->Id,0,time(NULL) + 3);
+
SpellEntry const* windfurySpellEntry = sSpellStore.LookupEntry(windfurySpellId);
int32 addvalue = windfurySpellEntry->EffectBasePoints[0]+windfurySpellEntry->EffectBaseDice[0];
CastCustomSpell(this, 32910, &addvalue, NULL, NULL, true, castItem, triggeredByAura);
- ((Player*)this)->AddSpellCooldown(32910,0,time(NULL) + 3);
+
return;
}