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

◆ Difficulty_3_GetMonsterPointsWorth()

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

Definition at line 1492 of file DD2Event.cs.

1493 {
1494 if (NPC.waveNumber == 7)
1495 {
1496 if (slainMonsterID == 551)
1497 {
1498 return 1;
1499 }
1500 return 0;
1501 }
1502 if ((uint)(slainMonsterID - 551) <= 14u || (uint)(slainMonsterID - 568) <= 10u)
1503 {
1504 if (!Main.expertMode)
1505 {
1506 return 1;
1507 }
1508 return 2;
1509 }
1510 return 0;
1511 }

References Terraria.Main.expertMode, and Terraria.NPC.waveNumber.

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