|
TModLoader v1.4.4.9
TModLoader source code documentation
|
|
static |
How many minion slots one usage of this item will spawn.
This is only used when F:Terraria.ID.ProjectileID.Sets.MinionSacrificable[F:Terraria.Item.shoot] and F:Terraria.Main.projPet are true and when the player tries to summon a new minion.
The retrieved value's worth of minion slots (F:Terraria.Projectile.minionSlots) will be killed, if necessary, to make room for the minion projectiles prior to spawning them.
Defaults to 1f. If the value is greater than 1f, make sure to check F:Terraria.Player.maxMinions in M:Terraria.ModLoader.ModItem.CanUseItem(Terraria.Player) as well.
The full process for sacrificing minions can be found at M:Terraria.Player.FreeUpPetsAndMinions(Terraria.Item).
Definition at line 1363 of file ItemID.cs.
Referenced by Terraria.Player.FreeUpPetsAndMinions().