Tweaked Gluttony Blender food tier multipliers
This commit is contained in:
1 parent
7e05764dfb
commit
1871550184
1 file changed
+2
-2
@@ -236,8 +236,8 @@ namespace CalamityMod.Tiles.Furniture
|
||||
{
|
||||
Item dummy = new Item();
|
||||
dummy.SetDefaults(ItemType);
|
||||
// 0.1% per minute of duration, multiplied by 1.5x for T2 food and 2x for T3 food
|
||||
float goodPercent = dummy.buffTime * (dummy.buffType == BuffID.WellFed3 ? 2f : dummy.buffType == BuffID.WellFed2 ? 1.5f : 1f) / 3600f / 10f;
|
||||
// 0.1% per minute of duration, multiplied by 2x for T2 food and 10x for T3 food
|
||||
float goodPercent = dummy.buffTime * (dummy.buffType == BuffID.WellFed3 ? 10f : dummy.buffType == BuffID.WellFed2 ? 2f : 1f) / 3600f / 10f;
|
||||
|
||||
int itemDrop = Main.rand.NextFloat(100f) < goodPercent ? ModContent.ItemType<QualitySlop>() : ModContent.ItemType<DisgustingSlop>();
|
||||
int i = Item.NewItem(Projectile.GetItemSource_DropAsItem(), Projectile.Center, itemDrop);
|
||||
|
||||
Reference in new issue
Block a user