특성에 '랜덤', '랜덤전특', '랜점내특' 가능. 0으로 지정 가능

This commit is contained in:
Hide_D committed 2018-04-29 00:28:06 +09:00
1 parent e97e702c2e
commit 63e888c9b1
2 files changed
+97 -50

No files matched your search

+4 -4
View File
@@ -60,17 +60,17 @@ class NPC{
];
if($char === '랜덤전특'){
$this->charWar = \sammo\Engine\SpecialityConst::pickSpecialWar($general);
$this->charWar = \sammo\SpecialityConst::pickSpecialWar($general);
}
else if($char === '랜덤내특'){
$this->charDomestic = \sammo\Engine\SpecialityConst::pickSpecialDomestic($general);
$this->charDomestic = \sammo\SpecialityConst::pickSpecialDomestic($general);
}
else if($char === '랜덤'){
if(Util::randBool(2/3)){
$this->charWar = \sammo\Engine\SpecialityConst::pickSpecialWar($general);
$this->charWar = \sammo\SpecialityConst::pickSpecialWar($general);
}
else{
$this->charDomestic = \sammo\Engine\SpecialityConst::pickSpecialDomestic($general);
$this->charDomestic = \sammo\SpecialityConst::pickSpecialDomestic($general);
}
}
else{