feat, game: 징병 전특 리밸런싱, 징병/소집해제시 인구 변동 트리거 설정

This commit is contained in:
2022-09-06 19:48:52 +09:00
parent 88c78ec892
commit 62f53d09bf
7 changed files with 62 additions and 16 deletions
+5 -1
View File
@@ -9,7 +9,7 @@ class che_징병_낙주 extends \sammo\BaseItem{
protected $rawName = '낙주';
protected $name = '낙주(징병)';
protected $info = '[군사] 징·모병비 -30%, 통솔 순수 능력치 보정 +15%';
protected $info = '[군사] 징·모병비 -30%<br>[기타] 통솔 순수 능력치 보정 +15%, 징병/모병/소집해제 시 인구 변동 없음';
protected $cost = 200;
protected $consumable = false;
@@ -18,6 +18,10 @@ class che_징병_낙주 extends \sammo\BaseItem{
if($varType == 'cost') return $value * 0.7;
}
if($turnType == '징집인구' && $varType == 'score'){
return 0;
}
return $value;
}