defulatGold, defaultRice 개념 지정
This commit is contained in:
1 parent
68a471b859
commit
88f97ecb4e
14 files changed
+232
-128
No files matched your search
@@ -263,7 +263,7 @@ class GeneralAI{
|
||||
|
||||
$commandList['che_물자조달'] = (
|
||||
(GameConst::$minNationalGold + GameConst::$minNationalRice + 10000) /
|
||||
Util::valueFit($nation['gold'] + $nation['rice'], 1000)
|
||||
Util::valueFit($nation['gold'] + $nation['rice'], (GameConst::$defaultGold + GameConst::$defaultRice)/2)
|
||||
) * 10;
|
||||
|
||||
return [Util::choiceRandomUsingWeight($commandList), null];
|
||||
|
||||
Reference in new issue
Block a user