Applied Doze fix to item hits
This commit is contained in:
1 parent
8de95215d4
commit
896d5ea62d
1 file changed
+1
-1
@@ -901,7 +901,7 @@ namespace CalamityMod.Items
|
||||
if (target.Calamity().hyperiusMarked)
|
||||
{
|
||||
int damageDealt = (int)(damageDone * HyperiusBullet.overflowAppliedMult);
|
||||
int damage = (int)Math.Min(target.Calamity().hyperiusDamage, damageDealt);
|
||||
int damage = (int)Math.Min(target.Calamity().hyperiusDamage / HyperiusBullet.overflowEfficency, damageDealt);
|
||||
|
||||
target.Calamity().hyperiusDamage -= (int)(damage * HyperiusBullet.overflowEfficency);
|
||||
|
||||
|
||||
Reference in new issue
Block a user