Fixed Lifebloom final crit, by PrinceCreed.
--HG-- branch : trunk
This commit is contained in:
+2
-2
@@ -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:
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user