From 2fd2caa7c54e3dd6898bb60d33e0e47153b10eb5 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 8 Nov 2022 23:20:42 -0300 Subject: Nerf the "Red Threshold" attack speed. --- src/map/pc.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/map/pc.cpp') diff --git a/src/map/pc.cpp b/src/map/pc.cpp index 7ceb8f1..49ef5a4 100644 --- a/src/map/pc.cpp +++ b/src/map/pc.cpp @@ -1524,6 +1524,11 @@ int pc_calcstatus(dumb_ptr sd, int first) if (aspd_rate != 100) sd->aspd = sd->aspd * aspd_rate / 100; + /* Red Threshold Calculation */ + if (sd->aspd < 300_ms) { + sd->aspd = 300_ms + ((sd->aspd - 300_ms) / 2); + } + sd->aspd = std::max(sd->aspd, battle_config.max_aspd); sd->amotion = sd->aspd; sd->dmotion = std::chrono::milliseconds(800 - sd->paramc[ATTR::AGI] * 4); -- cgit v1.2.3-60-g2f50