Skip to content

Commit 9afbe06

Browse files
committed
段落改
1 parent 925f3a1 commit 9afbe06

File tree

2 files changed

+5
-25
lines changed

2 files changed

+5
-25
lines changed

_posts/2025-05-30-羊刀计算.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,20 @@ date: 2025-05-30
1111
基于羊刀的基础特性,我们设立一个模型,以计算其攻击速度随时间变化的关系。
1212

1313
## 基础假设
14+
1415
为了让计算更美观,我们做了一些和游戏中实际运行逻辑不同的假设。不过该假设在一定范围内不会产生过大误差
1516
- 英雄的攻击速度无上限
1617
- 羊刀的攻击叠加是连续的,而非离散。即攻击次数可以为小数,可被无限细分
1718
- 英雄总是在攻击
19+
1820
## 模型设定
21+
1922
$$ f(x) = p \int_{0}^{x} f(t)dt, x\in[0,+\infin) + a $$
2023
$$ f(0)=a $$
2124
其中,p是每次攻击带来的攻速提升,a是初始攻速,f(x)表示在时间x下,英雄的攻速值
2225
基于以上公式,不难得到:
2326
$$ f(x) = ae^{px} $$
27+
2428
## 结论
29+
2530
尽管羊刀每次攻击的攻速提升是一个固定收益,但是攻速随时间是一个指数提升。

_posts/2025-05-39-羊刀计算.md

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)