Terraria v1.4.4.9
Terraria 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 1089 of file DD2Event.cs.

1090 {
1091 if (NPC.waveNumber == 5 && NPC.waveKills >= 139f)
1092 {
1093 if (slainMonsterID == 564 || slainMonsterID == 565)
1094 {
1095 _downedDarkMageT1 = true;
1096 return 1;
1097 }
1098 return 0;
1099 }
1100 if ((uint)(slainMonsterID - 551) <= 14u || (uint)(slainMonsterID - 568) <= 10u)
1101 {
1102 if (NPC.waveNumber == 5 && NPC.waveKills == 138f)
1103 {
1104 return 1;
1105 }
1106 if (!Main.expertMode)
1107 {
1108 return 1;
1109 }
1110 return 2;
1111 }
1112 return 0;
1113 }

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

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