징병 모병 추가, iAction 구조 일부 변경

This commit is contained in:
2018-10-20 23:31:32 +09:00
parent cee0d3f03e
commit 2de061203b
50 changed files with 560 additions and 183 deletions
@@ -17,7 +17,7 @@ class che_발명 implements iAction{
SpecialityConst::STAT_INTEL
];
public function onCalcDomestic(string $turnType, string $varType, float $value):float{
public function onCalcDomestic(string $turnType, string $varType, float $value, $aux=null):float{
if($turnType == '기술'){
if($varType == 'score') return $value * 1.1;
if($varType == 'cost') return $value * 0.8;