[10029] Clarify client dependence for some MeleeHitOutcome values

This commit is contained in:
VladimirMangos 2010-06-05 00:20:02 +04:00
parent 6ebbcd8dbb
commit fc3e046348
2 changed files with 11 additions and 3 deletions

View file

@ -838,10 +838,18 @@ struct DiminishingReturn
uint32 hitCount;
};
// At least some values expected fixed and used in auras field, other custom
enum MeleeHitOutcome
{
MELEE_HIT_EVADE, MELEE_HIT_MISS, MELEE_HIT_DODGE, MELEE_HIT_BLOCK, MELEE_HIT_PARRY,
MELEE_HIT_GLANCING, MELEE_HIT_CRIT, MELEE_HIT_CRUSHING, MELEE_HIT_NORMAL
MELEE_HIT_EVADE = 0,
MELEE_HIT_MISS = 1,
MELEE_HIT_DODGE = 2, // used as misc in SPELL_AURA_IGNORE_COMBAT_RESULT
MELEE_HIT_BLOCK = 3, // used as misc in SPELL_AURA_IGNORE_COMBAT_RESULT
MELEE_HIT_PARRY = 4, // used as misc in SPELL_AURA_IGNORE_COMBAT_RESULT
MELEE_HIT_GLANCING = 5,
MELEE_HIT_CRIT = 6,
MELEE_HIT_CRUSHING = 7,
MELEE_HIT_NORMAL = 8,
};
struct CleanDamage

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "10028"
#define REVISION_NR "10029"
#endif // __REVISION_NR_H__