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

◆ Difficulty_1_GetMonsterPointsWorth()

static int Terraria.GameContent.Events.DD2Event.Difficulty_1_GetMonsterPointsWorth ( int slainMonsterID)
inlinestaticprivate

Definition at line 1171 of file DD2Event.cs.

1172 {
1173 if (NPC.waveNumber == 5 && NPC.waveKills >= 139f)
1174 {
1175 if (slainMonsterID == 564 || slainMonsterID == 565)
1176 {
1177 _downedDarkMageT1 = true;
1178 return 1;
1179 }
1180 return 0;
1181 }
1182 if ((uint)(slainMonsterID - 551) <= 14u || (uint)(slainMonsterID - 568) <= 10u)
1183 {
1184 if (NPC.waveNumber == 5 && NPC.waveKills == 138f)
1185 {
1186 return 1;
1187 }
1188 if (!Main.expertMode)
1189 {
1190 return 1;
1191 }
1192 return 2;
1193 }
1194 return 0;
1195 }

References Terraria.GameContent.Events.DD2Event._downedDarkMageT1, Terraria.Main.expertMode, Terraria.NPC.waveKills, and Terraria.NPC.waveNumber.

Referenced by Terraria.GameContent.Events.DD2Event.GetMonsterPointsWorth().

+ Here is the caller graph for this function: