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

◆ Difficulty_2_GetEnemiesForWave()

static short[] Terraria.GameContent.Events.DD2Event.Difficulty_2_GetEnemiesForWave ( int wave)
inlinestaticprivate

Definition at line 1115 of file DD2Event.cs.

1116 {
1117 LaneSpawnRate = 60;
1118 switch (wave)
1119 {
1120 case 1:
1121 LaneSpawnRate = 90;
1122 return new short[2] { 553, 562 };
1123 case 2:
1124 LaneSpawnRate = 70;
1125 return new short[3] { 553, 562, 572 };
1126 case 3:
1127 return new short[5] { 553, 556, 562, 559, 572 };
1128 case 4:
1129 LaneSpawnRate = 55;
1130 return new short[5] { 553, 559, 570, 572, 562 };
1131 case 5:
1132 LaneSpawnRate = 50;
1133 return new short[6] { 553, 556, 559, 572, 574, 570 };
1134 case 6:
1135 LaneSpawnRate = 45;
1136 return new short[8] { 553, 556, 562, 559, 568, 570, 572, 574 };
1137 case 7:
1138 LaneSpawnRate = 42;
1139 return new short[8] { 553, 556, 572, 559, 568, 574, 570, 576 };
1140 default:
1141 return new short[1] { 553 };
1142 }
1143 }

References Terraria.GameContent.Events.DD2Event.LaneSpawnRate.

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