fix: Fixes curse spell fizzling (#2193)
This commit is contained in:
parent
c47ecadace
commit
c5c647bf77
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ namespace Server.Spells.Fourth
|
|||
var oldDexOffset = SpellHelper.GetCurse(caster, m, StatType.Dex);
|
||||
var oldIntOffset = SpellHelper.GetCurse(caster, m, StatType.Int);
|
||||
|
||||
if (oldStrOffset <= newStrOffset && oldDexOffset <= newDexOffset && oldIntOffset <= newIntOffset)
|
||||
if (oldStrOffset > newStrOffset && oldDexOffset > newDexOffset && oldIntOffset > newIntOffset)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue