diff options
Diffstat (limited to 'src/map/pc.cpp')
-rw-r--r-- | src/map/pc.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/pc.cpp b/src/map/pc.cpp index c7c6acf..12af48f 100644 --- a/src/map/pc.cpp +++ b/src/map/pc.cpp @@ -1135,7 +1135,7 @@ int pc_calcstatus(dumb_ptr<map_session_data> sd, int first) b_weight = sd->weight; b_max_weight = sd->max_weight; earray<int, ATTR, ATTR::COUNT> b_paramb = sd->paramb; - earray<int, ATTR, ATTR::COUNT> b_parame = sd->paramc; + earray<int, ATTR, ATTR::COUNT> b_parame = sd->parame; earray<SkillValue, SkillID, MAX_SKILL> b_skill = sd->status.skill; b_hit = sd->hit; b_flee = sd->flee; @@ -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); |