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

◆ RegisterBossTrophies()

void Terraria.GameContent.ItemDropRules.ItemDropDatabase.RegisterBossTrophies ( )
inlineprivate

Definition at line 837 of file ItemDropDatabase.cs.

838 {
839 Conditions.LegacyHack_IsABoss condition = new Conditions.LegacyHack_IsABoss();
840 RegisterToNPC(4, ItemDropRule.ByCondition(condition, 1360, 10));
841 RegisterToNPC(13, ItemDropRule.ByCondition(condition, 1361, 10));
842 RegisterToNPC(14, ItemDropRule.ByCondition(condition, 1361, 10));
843 RegisterToNPC(15, ItemDropRule.ByCondition(condition, 1361, 10));
844 RegisterToNPC(266, ItemDropRule.ByCondition(condition, 1362, 10));
845 RegisterToNPC(35, ItemDropRule.ByCondition(condition, 1363, 10));
846 RegisterToNPC(222, ItemDropRule.ByCondition(condition, 1364, 10));
847 RegisterToNPC(113, ItemDropRule.ByCondition(condition, 1365, 10));
848 RegisterToNPC(134, ItemDropRule.ByCondition(condition, 1366, 10));
849 RegisterToNPC(127, ItemDropRule.ByCondition(condition, 1367, 10));
850 RegisterToNPC(262, ItemDropRule.ByCondition(condition, 1370, 10));
851 RegisterToNPC(245, ItemDropRule.ByCondition(condition, 1371, 10));
852 RegisterToNPC(50, ItemDropRule.ByCondition(condition, 2489, 10));
853 RegisterToNPC(370, ItemDropRule.ByCondition(condition, 2589, 10));
854 RegisterToNPC(439, ItemDropRule.ByCondition(condition, 3357, 10));
855 RegisterToNPC(395, ItemDropRule.ByCondition(condition, 3358, 10));
856 RegisterToNPC(398, ItemDropRule.ByCondition(condition, 3595, 10));
857 RegisterToNPC(636, ItemDropRule.ByCondition(condition, 4783, 10));
858 RegisterToNPC(657, ItemDropRule.ByCondition(condition, 4958, 10));
859 RegisterToNPC(668, ItemDropRule.ByCondition(condition, 5108, 10));
860 RegisterToNPC(125, ItemDropRule.Common(1368, 10));
861 RegisterToNPC(126, ItemDropRule.Common(1369, 10));
862 RegisterToNPC(491, ItemDropRule.Common(3359, 10));
863 RegisterToNPC(551, ItemDropRule.Common(3866, 10));
864 RegisterToNPC(564, ItemDropRule.Common(3867, 10));
865 RegisterToNPC(565, ItemDropRule.Common(3867, 10));
866 RegisterToNPC(576, ItemDropRule.Common(3868, 10));
867 RegisterToNPC(577, ItemDropRule.Common(3868, 10));
868 }
IItemDropRule RegisterToNPC(int type, IItemDropRule entry)

References Terraria.GameContent.ItemDropRules.ItemDropRule.ByCondition(), Terraria.GameContent.ItemDropRules.ItemDropRule.Common(), and Terraria.GameContent.ItemDropRules.ItemDropDatabase.RegisterToNPC().

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