상성 가상인 경우 상성이 리셋되지 않는 버그 해결
This commit is contained in:
@@ -70,6 +70,11 @@ class NPC{
|
||||
$nationID = 0;
|
||||
};
|
||||
|
||||
$affinity = $this->affinity;
|
||||
if(Util::array_get($env['fiction'],false) || $affinity === 0){
|
||||
$affinity = mt_rand(1, 150);
|
||||
}
|
||||
|
||||
$year = $env['year'];
|
||||
$month = $env['month'];
|
||||
$age = $year - $this->birth;
|
||||
@@ -137,7 +142,7 @@ class NPC{
|
||||
'npcid'=>$npcID,
|
||||
'npc'=>2,
|
||||
'npc_org'=>2,
|
||||
'affinity'=>$this->affinity,
|
||||
'affinity'=>$affinity,
|
||||
'name'=>$name,
|
||||
'picture'=>$picture,
|
||||
'nation'=>$nationID,
|
||||
|
||||
@@ -124,7 +124,7 @@
|
||||
[54, "김기태", -1, 0, null, 86, 90, 76, 0, 160, 300, "패권", null],
|
||||
[67, "이승호", -1, 0, null, 71, 80, 53, 0, 160, 300, "할거", null],
|
||||
[69, "김광현", -1, 0, null, 84, 90, 86, 0, 160, 300, "정복", null, "제가 현진이형보단 낫죠"],
|
||||
[0, "박정배", -1, 0, null, 62, 63, 67, 0, 160, 300, "정복", null],
|
||||
[150, "박정배", -1, 0, null, 62, 63, 67, 0, 160, 300, "정복", null],
|
||||
[94, "채병용", -1, 0, null, 68, 77, 79, 0, 160, 300, "의협", null],
|
||||
[101, "윤희상", -1, 0, null, 56, 58, 67, 0, 160, 300, "대의", null],
|
||||
[73, "이재원", -1, 0, null, 83, 67, 10, 0, 160, 300, "출세", null],
|
||||
|
||||
Reference in New Issue
Block a user