-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbianQue.py
More file actions
33 lines (30 loc) · 783 Bytes
/
bianQue.py
File metadata and controls
33 lines (30 loc) · 783 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
'''
扁鹊二技能到底是瞬间治疗强还是被动强?
'''
# INSTA = (100, 20)
# SUSTA = (8, 2)
INSTA = 20
SUSTA = 2
CD = 5
from matplotlib import pyplot as plt
def main():
insta = 0
susta = 0
layer = 0
iHistory = []
sHistory = []
for sec in range(40):
if sec % CD == 0:
insta += INSTA
layer = min(5, layer + 1)
susta += layer * SUSTA
iHistory.append(insta)
sHistory.append(susta)
plt.plot(iHistory, color='b', label = 'instant')
plt.plot(sHistory, color='r', label = 'sustain')
plt.xlabel('Time (seconds)')
plt.ylabel('Accumulated Heal (% AP)')
plt.title('BianQue De ErJiNeng DaoDi Shi BeiDong Qiang HaiShi ShunJian ZhiLiao Qiang?')
plt.legend()
plt.show()
main()