trigger 타입에서 $tunType을 한글로 변경. 성격 추가. 계략 성공 확률을 onCalcDomestic으로 통합.

This commit is contained in:
2018-09-13 01:43:32 +09:00
parent 89bf457878
commit 981e42c5a9
37 changed files with 366 additions and 52 deletions
@@ -19,7 +19,12 @@ class che_귀모 implements iActionTrigger{
SpecialityConst::STAT_INTEL
];
public function onCalcSabotageProp(float $successRate):float{
return $successRate + 0.2;
public function onCalcDomestic(string $turnType, string $varType, float $value):float{
if($turnType == '계략'){
if($varType == 'succ') return $value + 0.1;
}
return $value;
}
}