mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[10029] Clarify client dependence for some MeleeHitOutcome values
This commit is contained in:
parent
6ebbcd8dbb
commit
fc3e046348
2 changed files with 11 additions and 3 deletions
|
|
@ -838,10 +838,18 @@ struct DiminishingReturn
|
||||||
uint32 hitCount;
|
uint32 hitCount;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// At least some values expected fixed and used in auras field, other custom
|
||||||
enum MeleeHitOutcome
|
enum MeleeHitOutcome
|
||||||
{
|
{
|
||||||
MELEE_HIT_EVADE, MELEE_HIT_MISS, MELEE_HIT_DODGE, MELEE_HIT_BLOCK, MELEE_HIT_PARRY,
|
MELEE_HIT_EVADE = 0,
|
||||||
MELEE_HIT_GLANCING, MELEE_HIT_CRIT, MELEE_HIT_CRUSHING, MELEE_HIT_NORMAL
|
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
|
struct CleanDamage
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "10028"
|
#define REVISION_NR "10029"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue