Fix incorrect handling of debuff on ring of Occidental Mages.

Now we can get Int and Con penalties too.
master
SilverNexus 2023-04-17 14:30:55 -04:00
parent 44e8febcaf
commit 0d1d8d831f
1 changed files with 3 additions and 3 deletions

View File

@ -32,17 +32,17 @@ if (me.Applied == 0):
me.Cursed= 1
me.Con = me.Con + 1
me.Identified=0
elif (r >= 0.97):
elif (1 - r <= 0.03):
if me.Dex > -2:
me.Cursed= 1
me.Dex = me.Dex - 1
me.Identified=0
elif (r >= 0.98):
elif (1 - r <= 0.02):
if me.Int > -2:
me.Cursed= 1
me.Int = me.Int - 1
me.Identified=0
elif (r >= 0.99):
elif (1 - r <= 0.01):
if me.Con > -2:
me.Cursed= 1
me.Con = me.Con - 1