diff options
-rw-r--r-- | src/map/pc.cpp | 5 | ||||
-rw-r--r-- | src/map/script-fun.cpp | 4 |
2 files changed, 7 insertions, 2 deletions
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<map_session_data> 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); diff --git a/src/map/script-fun.cpp b/src/map/script-fun.cpp index 500d892..bcb5a45 100644 --- a/src/map/script-fun.cpp +++ b/src/map/script-fun.cpp @@ -3146,7 +3146,7 @@ void builtin_mapannounce(ScriptState *st) /*========================================== * ユーザー数所得 - * User Revenue + * User Count *------------------------------------------ */ static @@ -3169,7 +3169,7 @@ void builtin_getusers(ScriptState *st) /*========================================== * マップ指定ユーザー数所得 - * maps Designated User Income + * maps Designated User Count *------------------------------------------ */ static |