fix: Fixes divide by zero in poison spell (#883)
This commit is contained in:
parent
16f65e59c6
commit
aba3473030
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ namespace Server.Spells.Third
|
|||
{
|
||||
if (Caster.InRange(m, 2))
|
||||
{
|
||||
level = (Caster.Skills.Magery.Fixed + Caster.Skills.Poisoning.Fixed) / 2 switch
|
||||
level = ((Caster.Skills.Magery.Fixed + Caster.Skills.Poisoning.Fixed) / 2) switch
|
||||
{
|
||||
>= 1000 => 3,
|
||||
> 850 => 2,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue