feat: NPC 추방,몰수, 고유메시지 빈도를 GameConst에서 조절

This commit is contained in:
2022-03-10 23:11:56 +09:00
parent 90b3684cdb
commit 1ae95ba4bc
12 changed files with 25 additions and 8 deletions
+1 -1
View File
@@ -241,7 +241,7 @@ function do추방(General $general, int $myOfficerLevel):?string{
}
$general->setVar('troop', 0);
if($general->getNPCType() >= 2 && ($env['scenario'] < 100 || Util::randBool(0.01))) {
if($general->getNPCType() >= 2 && Util::randBool(GameConst::$npcBanMessageProb)) {
$str = Util::choiceRandom([
'날 버리다니... 곧 전장에서 복수해주겠다...',