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

◆ Difficulty_2_GetRequiredWaveKills()

static int Terraria.GameContent.Events.DD2Event.Difficulty_2_GetRequiredWaveKills ( ref int waveNumber,
ref int currentKillCount,
bool currentlyInCheckProgress )
inlinestaticprivate

Definition at line 1145 of file DD2Event.cs.

1146 {
1147 switch (waveNumber)
1148 {
1149 case -1:
1150 return 0;
1151 case 1:
1152 return 60;
1153 case 2:
1154 return 80;
1155 case 3:
1156 return 100;
1157 case 4:
1158 return 120;
1159 case 5:
1160 return 140;
1161 case 6:
1162 return 180;
1163 case 7:
1164 if (!_downedOgreT2 && currentKillCount > 219)
1165 {
1166 currentKillCount = 219;
1167 }
1168 return 220;
1169 case 8:
1170 waveNumber = 7;
1171 currentKillCount = 1;
1173 {
1175 }
1176 return 1;
1177 default:
1178 return 10;
1179 }
1180 }

References Terraria.GameContent.Events.DD2Event._downedOgreT2, and Terraria.GameContent.Events.DD2Event.StartVictoryScene().

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