mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 04:37:00 +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)
|
||||
{
|
||||
case 0: break; // not used
|
||||
case 0: // not used
|
||||
case 1: basePoints += 1; break; // range 1..1
|
||||
default:
|
||||
// range can have positive (1..rand) and negative (rand..1) values, so order its for irand
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue