의병 고용으로는 무지장이 안나옴

This commit is contained in:
2019-03-09 01:59:41 +09:00
parent a3c4da4455
commit d5689b061f
+4 -4
View File
@@ -1974,14 +1974,14 @@ function process_76(&$general) {
$npc = 4;
$npcid = $admin['npccount'];
for($i=0; $i < $gencount; $i++) {
//무장 40%, 지장 40%, 무지장 20%
//무장 50%, 지장 50%, 무지장 0%
$stat_tier1 = GameConst::$defaultStatMax - 10 + rand()%11;
$stat_tier3 = GameConst::$defaultStatMin + rand()%6;
$stat_tier2 = GameConst::$defaultStatTotal - $stat_tier1 - $stat_tier3;
$type = Util::choiceRandomUsingWeight([
'power'=>4,
'intel'=>4,
'neutral'=>2
'power'=>5,
'intel'=>5,
'neutral'=>0
]);
switch($type){
case 'power':