Skip to content

Commit

Permalink
修正精神点数防御加成
Browse files Browse the repository at this point in the history
  • Loading branch information
ilusrdbb committed Jan 30, 2024
1 parent 8721fbc commit 91eb72f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions newkf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2168,12 +2168,12 @@ void preparePcBStat(const Player& pc, BStat& b)
b.pDefB = tVit * (1.0 +
(pc.kfLvl >= 2000 ? 3.0 : int(pc.kfLvl / 100) * 0.15)) +
tSpr * (0.5 +
(pc.kfLvl >= 2000 ? 2.0 : int(pc.kfLvl / 100) * 0.1));
(pc.kfLvl >= 1900 ? 1.5 : int(pc.kfLvl / 100) * 0.08));
b.pDefA = pc.wish[WISH_PDEFA] * 1.0;
b.mDefB = tMnd * (1.0 +
(pc.kfLvl >= 2000 ? 3.0 : int(pc.kfLvl / 100) * 0.15)) +
tSpr * (0.5 +
(pc.kfLvl >= 2000 ? 2.0 : int(pc.kfLvl / 100) * 0.1));
(pc.kfLvl >= 1900 ? 1.5 : int(pc.kfLvl / 100) * 0.08));
b.mDefA = pc.wish[WISH_MDEFA] * 1.0;
b.pRdc = 0.0;
b.mRdc = 0.0;
Expand Down

0 comments on commit 91eb72f

Please sign in to comment.