|
TModLoader v1.4.4.9
TModLoader source code documentation
|
| int Terraria.NPC.rarity |
How rare the NPC is for the Lifeform Analyzer. For example: 4 is for Tim and Mimics, 1 is for bound town NPCs.
Defaults to 0.
Definition at line 520 of file NPC.cs.
Referenced by Terraria.GameContent.CoinLossRevengeSystem.CacheEnemy(), Terraria.ID.ContentSamples.GetNPCBestiaryRarityStarsCount(), Terraria.NPC.SetDefaults(), and Terraria.NPC.SetDefaultsFromNetId().