NPC 사령턴 일부 수정
This commit is contained in:
@@ -580,8 +580,7 @@ class GeneralAI{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$resBaseType = [['gold', 1], ['rice', 2]];
|
$resName = Util::choiceRandom(['gold', 'rice']);
|
||||||
[$resName, $resType] = Util::choiceRandom($resBaseType);
|
|
||||||
|
|
||||||
usort($userGeneralsID, function($lhs, $rhs) use ($nationGenerals, $resName){
|
usort($userGeneralsID, function($lhs, $rhs) use ($nationGenerals, $resName){
|
||||||
return $nationGenerals[$lhs][$resName] - $nationGenerals[$rhs][$resName];
|
return $nationGenerals[$lhs][$resName] - $nationGenerals[$rhs][$resName];
|
||||||
|
|||||||
Reference in New Issue
Block a user