Fixed Lifebloom final crit, by PrinceCreed.

--HG--
branch : trunk
This commit is contained in:
n0n4m3
2010-01-16 18:47:40 +03:00
parent 8050bdd7b1
commit b9c09071b0
+2 -2
View File
@@ -10135,8 +10135,8 @@ bool Unit::isSpellCrit(Unit *pVictim, SpellEntry const *spellProto, SpellSchoolM
float crit_chance = 0.0f; float crit_chance = 0.0f;
switch(spellProto->DmgClass) switch(spellProto->DmgClass)
{ {
case SPELL_DAMAGE_CLASS_NONE: // Exception for earth shield case SPELL_DAMAGE_CLASS_NONE: // Exception for Earth Shield and Lifebloom Final Bloom
if (spellProto->Id != 379) // We need more spells to find a general way (if there is any) if (spellProto->Id != 379 && spellProto->Id != 33778) // We need more spells to find a general way (if there is any)
return false; return false;
case SPELL_DAMAGE_CLASS_MAGIC: case SPELL_DAMAGE_CLASS_MAGIC:
{ {