Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ RegisterToMultipleNPCsRemixSeed()

IItemDropRule Terraria.GameContent.ItemDropRules.ItemDropDatabase.RegisterToMultipleNPCsRemixSeed ( IItemDropRule entry,
params int[] npcNetIds )
inline

Definition at line 101 of file ItemDropDatabase.cs.

102 {
103 for (int i = 0; i < npcNetIds.Length; i++)
104 {
105 RegisterToNPC(npcNetIds[i], new LeadingConditionRule(new Conditions.RemixSeed())).OnSuccess(entry);
106 }
107 return entry;
108 }
IItemDropRule RegisterToNPC(int type, IItemDropRule entry)

References Terraria.GameContent.ItemDropRules.ItemDropDatabase.RegisterToNPC().

Referenced by Terraria.GameContent.ItemDropRules.ItemDropDatabase.RegisterHardmodeDungeonDrops().