Jump to content

Recommended Posts

Posted

Examples:

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:

http://getmangos.eu/community/viewtopic.php?id=28637

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;
}

  • 38 years later...
Posted

You may check any SPELL_DAMAGE_CLASS_NONE spells and you will find none of them should miss. There is no flag. It is the property of such spells, just like class_magic can be resist and class_physical can be dodge

  • 1 year later...
Guest
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