fixed reaper drop rate being 1/300 instead of 1/100

This commit is contained in:
Ozzatron committed 2020-04-17 00:24:18 -04:00
1 parent d1fdf0c237
commit a220489d92
1 file changed
+1 -1
+1 -1
View File
@@ -677,7 +677,7 @@ namespace CalamityMod.NPCs.Abyss
{
float f = Main.rand.NextFloat();
bool replaceWithRare = f <= 0.01f; // 1/100 chance overall of getting The Reaper
if (Main.rand.NextBool(3)) // 1/3 chance of getting Valediction OR The Reaper replacing it
if (f <= 0.3333f) // 1/3 chance of getting Valediction OR The Reaper replacing it
{
DropHelper.DropItemCondition(npc, ModContent.ItemType<Valediction>(), !replaceWithRare);
DropHelper.DropItemCondition(npc, ModContent.ItemType<TheReaper>(), replaceWithRare);