Fixed several rogue weapon modifiers failing to roll
This commit is contained in:
1 parent
152466f344
commit
e92c110b93
1 file changed
+2
-2
@@ -93,9 +93,9 @@ namespace CalamityMod.Prefixes
|
||||
|
||||
public override void ValidateItem(Item item, ref bool invalid)
|
||||
{
|
||||
if (item.damage == Math.Round(item.damage * damageMult))
|
||||
if (item.damage == Math.Round(item.damage * damageMult) && damageMult != 1f)
|
||||
invalid = true;
|
||||
if (item.useAnimation == Math.Round(item.useAnimation * useTimeMult))
|
||||
if (item.useAnimation == Math.Round(item.useAnimation * useTimeMult) && useTimeMult != 1f)
|
||||
invalid = true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user