-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProgram.cs
More file actions
53 lines (48 loc) · 1.45 KB
/
Copy pathProgram.cs
File metadata and controls
53 lines (48 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
namespace ZiggsDemolitionThreshold
{
internal class Program
{
static void Main(string[] args)
{
Console.Title = "Ziggs Demolition Threshold";
double[] levels = [0.25, 0.275, 0.3, 0.325, 0.35];
int[] turrets = [9000, 5000, 4750, 3500];
Console.WriteLine("Ziggs Demolition Threshold\n");
int x = 0;
string turretPosition = "";
while (x < 4)
{
if (x == 0)
{
turretPosition = "Outer";
}
if (x == 1)
{
turretPosition = "Inner";
}
if (x == 2)
{
turretPosition = "Inhib";
}
if (x == 3)
{
turretPosition = "Nexus";
}
Console.Write($"{turretPosition} turret has {turrets[x]:00} health\nExecute at ");
//5 spell levels
for (int i = 0; i < 5; i++)
{
Console.Write($"{turrets[x] * levels[i]:00}");
if (i < 4)
{
Console.Write("/");
}
}
Console.WriteLine("\n");
x++;
}
Console.ReadLine();
}
}
}