Jump to content

[patch] Spell_damage_class_none Bug Fix

Auntie Mangos

Recommended Posts


46008, this is a shadow damage spell, but it never miss/resist

43150, this is a physical damage spell, it never miss/crit/dodge

Please see bug report:


Index: Unit.cpp
--- Unit.cpp                (revision 6412)
+++ Unit.cpp                (working copy)
@@ -2827,87 +2766,44 @@
//                                                 return MeleeSpellHitResult(pVictim, spell);
                                                return SPELL_MISS_NONE;
                                case SPELL_DAMAGE_CLASS_NONE:
+                                                return SPELL_MISS_NONE; // This is not a hack, this is what it should be
                                case SPELL_DAMAGE_CLASS_MAGIC:
                                                return MagicSpellHitResult(pVictim, spell);
                return SPELL_MISS_NONE;

Link to comment
Share on other sites

  • 38 years later...
  • 1 year later...
This topic is now closed to further replies.
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use