mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
[8709] Show spell miss as miss, not resist
Signed-off-by: ApoC <apoc@nymfe.net>
This commit is contained in:
parent
eb26f27a21
commit
53b6d28a24
2 changed files with 2 additions and 2 deletions
|
|
@ -2665,7 +2665,7 @@ SpellMissInfo Unit::MagicSpellHitResult(Unit *pVictim, SpellEntry const *spell)
|
||||||
uint32 rand = urand(0,10000);
|
uint32 rand = urand(0,10000);
|
||||||
|
|
||||||
if (rand < tmp)
|
if (rand < tmp)
|
||||||
return SPELL_MISS_RESIST;
|
return SPELL_MISS_MISS;
|
||||||
|
|
||||||
// cast by caster in front of victim
|
// cast by caster in front of victim
|
||||||
if (pVictim->HasInArc(M_PI,this))
|
if (pVictim->HasInArc(M_PI,this))
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "8708"
|
#define REVISION_NR "8709"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue