Skip to content

Commit

Permalink
艾星火宝石减攻效果修正为葡萄层计算
Browse files Browse the repository at this point in the history
  • Loading branch information
ilusrdbb committed Aug 24, 2024
1 parent 7f7d9a0 commit ac56b31
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


def start():
print('Version 2.9.1')
print('Version 2.9.3')
# 加载配置文件
config._init()
# 加载模板
Expand Down
6 changes: 2 additions & 4 deletions newkf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2982,10 +2982,8 @@ BResult calcBattle(const BStat& attacker, const BStat& defender, bool showDetail
{
b0.sklC += (b0.myst & MYST_DAGGER ? 2 : 1);
aa[s] += int((b0.pAtkB + b0.pAtkA + b0.mAtkB + b0.mAtkA) * 9 * (b0.myst & MYST_DAGGER ? 20 + b0.sklC * 3 : 20) / 400.0);
b1.pAtkB *= 0.99;
b1.pAtkA *= 0.99;
b1.mAtkB *= 0.99;
b1.mAtkA *= 0.99;
b1.pAtkR -= 1;
b1.mAtkR -= 1;
}
if (b0.role == ROLE_MENG)
{
Expand Down

0 comments on commit ac56b31

Please sign in to comment.