-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathdiffstuff.bgt
More file actions
45 lines (45 loc) · 755 Bytes
/
diffstuff.bgt
File metadata and controls
45 lines (45 loc) · 755 Bytes
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
double pointmult; //multiplier for all points gained
int swordrange; //range of sword
double enemhp; //enemy's health, which will be multiplied
double bladetime; //time between blades cutting, is subtracted;
double enemspd; //enemy speed division
double enemdam; //enemy damage multiplier.
void initDiffs() {
switch(gameDiff) {
case 1:
pointmult=1;
itemtime=24;
swordrange=2;
enemdam=0.9;
bladetime=0;
enemhp=1;
enemspd=1;
break;
case 2:
pointmult=1.2;
itemtime=18;
swordrange=2;
enemdam=1;
bladetime=150;
enemhp=1.4;
enemspd=1.5;
break;
case 3:
pointmult=1.4;
itemtime=13;
swordrange=2;
enemdam=1.2;
bladetime=250;
enemhp=2;
enemspd=2;
break;
case 4:
pointmult=1.6;
itemtime=9;
swordrange=1;
enemdam=1.5;
bladetime=345;
enemhp=2.6;
enemspd=2.4;
break;
}}