-
Notifications
You must be signed in to change notification settings - Fork 1
/
shine.js
77 lines (67 loc) · 1.69 KB
/
shine.js
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
73
74
75
76
77
function Shinedata(){
this.getp = function(clear){
if(clear>=32*8-1) return 0.20
if(clear>=32*7) return 0.16
if(clear>=32*6) return 0.13
if(clear>=32*5) return 0.10
if(clear>=32*4) return 0.07
if(clear>=32*3) return 0.04
if(clear>=32*2) return 0.02
return 0
}
this.getbp = function(clear){
if(clear>=32*8-1) return 0.010
if(clear>=32*7) return 0.008
if(clear>=32*6) return 0.006
if(clear>=32*5) return 0.005
if(clear>=32*4) return 0.004
if(clear>=32*3) return 0.003
if(clear>=32*2) return 0.002
if(clear>=32*1) return 0.001
return 0
}
this.getfp = function(stage){
return 1/1000000 * stage
}
this.getmaxshine = function(clear){
if(clear>=32*8-1) return 10000000
if(clear>=32*7) return 3000000
if(clear>=32*6) return 1000000
if(clear>=32*5) return 700000
if(clear>=32*4) return 400000
if(clear>=32*3) return 200000
if(clear>=32*2) return 100000
return 0
}
this.getmaxbr = function(clear){
if(clear>=32*8-1) return 10000
if(clear>=32*7) return 6000
if(clear>=32*6) return 3500
if(clear>=32*5) return 2000
if(clear>=32*4) return 1200
if(clear>=32*3) return 700
if(clear>=32*2) return 300
if(clear>=32*1) return 100
return 0
}
this.getmaxfl = function(stage){
return stage * stage * 2
//max:2097152
}
this.shineshopcost = [
50000,
100000,
100000,
300000,
300000,
5000000,
]
this.rankrewardtext = [
"モード型登録",
"効力型登録1",
"効力型登録2",
"上位効力型登録1",
"上位効力型登録2",
"鋳片型効力",
]
}