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

◆ Difficulty_2_GetMonsterPointsWorth()

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

Definition at line 1264 of file DD2Event.cs.

1265 {
1266 if (NPC.waveNumber == 7 && NPC.waveKills >= 219f)
1267 {
1268 if (slainMonsterID == 576 || slainMonsterID == 577)
1269 {
1270 _downedOgreT2 = true;
1271 return 1;
1272 }
1273 return 0;
1274 }
1275 if ((uint)(slainMonsterID - 551) <= 14u || (uint)(slainMonsterID - 568) <= 10u)
1276 {
1277 if (NPC.waveNumber == 7 && NPC.waveKills == 218f)
1278 {
1279 return 1;
1280 }
1281 if (!Main.expertMode)
1282 {
1283 return 1;
1284 }
1285 return 2;
1286 }
1287 return 0;
1288 }

References Terraria.GameContent.Events.DD2Event._downedOgreT2, 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: