tModLoader How do you make a minion take up a partial minion slot?

LuckyLMJ

Terrarian
I am making a minion using tModLoader, and I tried to make it take up half a minion slot using this code:
C#:
projectile.minionSlots = 0.5f;
When I have one minion slot, I can only summon one minion. But when I have two, I can summon three, and when I remove the 2nd minion slot so I only have one slot again, I keep two of the minions.


Can someone explain what is happening?

I also tried setting the minion slots per minion to 0.49, and it had the same issue.
 
Back
Top Bottom