Fix incorrect handling of debuff on ring of Occidental Mages.
Now we can get Int and Con penalties too.master
parent
44e8febcaf
commit
0d1d8d831f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue