Jump to content

[patch][5828]dealflatdamage


Auntie Mangos
 Share

Recommended Posts

What bug does the patch fix? What features does the patch add?

apply armor calculation for Physical flatdamage

For which SubVersion revision was the patch created?

5824

Who has been writing this patch? Please include either forum user names or email addresses.

me and kamir86

link bug report

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

Index: src/game/Unit.cpp
===================================================================
--- src/game/Unit.cpp                (revision 5824)
+++ src/game/Unit.cpp                (working copy)
@@ -1004,7 +1004,7 @@
                                                VictimState victimState = VICTIMSTATE_NORMAL;

                                                // Physical Damage
-                                                if ( GetSpellSchoolMask(spellInfo) & SPELL_SCHOOL_NORMAL )
+                                                if ( GetSpellSchoolMask(spellInfo) & SPELL_SCHOOL_MASK_NORMAL )
                                                {
                                                                uint32 modDamage=*damage;

Link to comment
Share on other sites

  • 38 years later...
Guest
This topic is now closed to further replies.
 Share

×
×
  • 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