game: 반계도구 제거, 도구 밸런스 조정

This commit is contained in:
Hide_D committed 2022-02-22 00:14:20 +09:00
1 parent 90a71ba75d
commit 0807f9912c
17 files changed
+56 -38

No files matched your search

+3 -1
View File
@@ -2415,7 +2415,9 @@ function SabotageInjury(array $cityGeneralList, string $reason): int
foreach ($cityGeneralList as $general) {
/** @var General $general */
if (!Util::randBool(0.3)) {
$injuryProb = 0.3;
$injuryProb = $general->onCalcStat($general, 'injuryProb', $injuryProb);
if (!Util::randBool($injuryProb)) {
continue;
}
$general->getLogger()->pushGeneralActionLog($text);