mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
[9709] change case 0 handle for basepoints calculation
This commit is contained in:
parent
c6af8b7d3e
commit
15e4d337c3
2 changed files with 2 additions and 2 deletions
|
|
@ -11312,7 +11312,7 @@ int32 Unit::CalculateSpellDamage(Unit const* target, SpellEntry const* spellProt
|
||||||
|
|
||||||
switch(randomPoints)
|
switch(randomPoints)
|
||||||
{
|
{
|
||||||
case 0: break; // not used
|
case 0: // not used
|
||||||
case 1: basePoints += 1; break; // range 1..1
|
case 1: basePoints += 1; break; // range 1..1
|
||||||
default:
|
default:
|
||||||
// range can have positive (1..rand) and negative (rand..1) values, so order its for irand
|
// range can have positive (1..rand) and negative (rand..1) values, so order its for irand
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "9708"
|
#define REVISION_NR "9709"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue