summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2024-01-31 18:33:58 -0300
committerJesusaves <cpntb1@ymail.com>2024-01-31 18:33:58 -0300
commit0c0b5719babfa474185bf7aab273dae1fc614c9e (patch)
treeba5a2024c82fba52e3d905152fef58650350ed0e
parent70c2692d38e6fac1c230a51c283438de11a61ce1 (diff)
downloadtmwa-0c0b5719babfa474185bf7aab273dae1fc614c9e.tar.gz
tmwa-0c0b5719babfa474185bf7aab273dae1fc614c9e.tar.bz2
tmwa-0c0b5719babfa474185bf7aab273dae1fc614c9e.tar.xz
tmwa-0c0b5719babfa474185bf7aab273dae1fc614c9e.zip
Transfer something from local/ to live repository so there are less conflicts
-rw-r--r--src/map/pc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/pc.cpp b/src/map/pc.cpp
index c7c6acf..e6b65b7 100644
--- a/src/map/pc.cpp
+++ b/src/map/pc.cpp
@@ -1566,9 +1566,9 @@ int pc_calcstatus(dumb_ptr<map_session_data> sd, int first)
if (sd->attack_spell_override || first & (int)CalcStatusKind::MAGIC_OVERRIDE)
sd->aspd = sd->attack_spell_delay;
- /* Red Threshold Calculation (TODO) */
+ /* Red Threshold Calculation */
if (sd->aspd < 300_ms) {
- sd->aspd = 300_ms + ((sd->aspd - 300_ms) * 20 / 20);
+ sd->aspd = 300_ms + ((sd->aspd - 300_ms) * 19 / 20);
}
sd->aspd = std::max(sd->aspd, battle_config.max_aspd);