-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBoss.cs
More file actions
72 lines (68 loc) · 2.56 KB
/
Boss.cs
File metadata and controls
72 lines (68 loc) · 2.56 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
namespace EternityRPG
{
class Boss : Enemy
{
public Boss(int bossType) => CreateBoss(bossType);
private void CreateBoss(int bossType)
{
switch (bossType)
{
case 1:
Name = "Evil forest spirit";
MaxHP = 2000;
HP = MaxHP;
MinDamage = 60;
MaxDamage = 100;
CritChance = 10;
Exp = 250;
Gold = 450;
CounterToReachTheBoss = random.Next(15, 25);
ChanceToInterruptTheEscape = 100;
NormalAttackPhrase = "strikes with a branch";
CriticalAttackPhrase = "brings a tree down on you";
break;
case 2:
Name = "Spiteful golem";
MaxHP = 3000;
HP = MaxHP;
MinDamage = 100;
MaxDamage = 140;
CritChance = 13;
Exp = 450;
Gold = 650;
CounterToReachTheBoss = random.Next(20, 30);
ChanceToInterruptTheEscape = 100;
NormalAttackPhrase = "throws a huge stone";
CriticalAttackPhrase = "throws many sharp stalactites";
break;
case 3:
Name = "Fire dragon";
MaxHP = 4000;
HP = MaxHP;
MinDamage = 140;
MaxDamage = 180;
CritChance = 16;
Exp = 650;
Gold = 850;
CounterToReachTheBoss = random.Next(25, 35);
ChanceToInterruptTheEscape = 100;
NormalAttackPhrase = "attacks with fire breath";
CriticalAttackPhrase = "grabs you and pushes you into the fire";
break;
case 4:
Name = "Descendant of the fallen gods";
MaxHP = 8000;
HP = MaxHP;
MinDamage = 180;
MaxDamage = 250;
CritChance = 20;
Exp = 999;
Gold = 999;
ChanceToInterruptTheEscape = 100;
NormalAttackPhrase = "pierces with the sword of darkness";
CriticalAttackPhrase = "devours you with darkness from within";
break;
}
}
}
}