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

1183 {
1184 if (NPC.waveNumber == 7 && NPC.waveKills >= 219f)
1185 {
1186 if (slainMonsterID == 576 || slainMonsterID == 577)
1187 {
1188 _downedOgreT2 = true;
1189 return 1;
1190 }
1191 return 0;
1192 }
1193 if ((uint)(slainMonsterID - 551) <= 14u || (uint)(slainMonsterID - 568) <= 10u)
1194 {
1195 if (NPC.waveNumber == 7 && NPC.waveKills == 218f)
1196 {
1197 return 1;
1198 }
1199 if (!Main.expertMode)
1200 {
1201 return 1;
1202 }
1203 return 2;
1204 }
1205 return 0;
1206 }

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

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