내정 커맨드 버그 수정, 정착장려, 주민선정 추가, RemainCityTrust 추가, succ -> success

This commit is contained in:
2018-09-15 03:42:09 +09:00
parent 7b71a1cf20
commit 732528ce85
17 changed files with 393 additions and 57 deletions
@@ -21,7 +21,7 @@ class che_경작 implements iActionTrigger{
if($turnType == '농업'){
if($varType == 'score') return $value * 1.1;
if($varType == 'cost') return $value * 0.8;
if($varType == 'succ') return $value + 0.1;
if($varType == 'success') return $value + 0.1;
}
return $value;
@@ -21,7 +21,7 @@ class che_귀모 implements iActionTrigger{
public function onCalcDomestic(string $turnType, string $varType, float $value):float{
if($turnType == '계략'){
if($varType == 'succ') return $value + 0.1;
if($varType == 'success') return $value + 0.1;
}
@@ -21,7 +21,7 @@ class che_발명 implements iActionTrigger{
if($turnType == '기술'){
if($varType == 'score') return $value * 1.1;
if($varType == 'cost') return $value * 0.8;
if($varType == 'succ') return $value + 0.1;
if($varType == 'success') return $value + 0.1;
}
return $value;
@@ -21,7 +21,7 @@ class che_상재 implements iActionTrigger{
if($turnType == '상업'){
if($varType == 'score') return $value * 1.1;
if($varType == 'cost') return $value * 0.8;
if($varType == 'succ') return $value + 0.1;
if($varType == 'success') return $value + 0.1;
}
return $value;
@@ -21,7 +21,7 @@ class che_수비 implements iActionTrigger{
if($turnType == '수비'){
if($varType == 'score') return $value * 1.1;
if($varType == 'cost') return $value * 0.8;
if($varType == 'succ') return $value + 0.1;
if($varType == 'success') return $value + 0.1;
}
return $value;
@@ -21,7 +21,7 @@ class che_통찰 implements iActionTrigger{
if($turnType == '민심' || $turnType == '인구'){
if($varType == 'score') return $value * 1.1;
if($varType == 'cost') return $value * 0.8;
if($varType == 'succ') return $value + 0.1;
if($varType == 'success') return $value + 0.1;
}
return $value;
@@ -21,7 +21,7 @@ class che_축성 implements iActionTrigger{
if($turnType == '성벽'){
if($varType == 'score') return $value * 1.1;
if($varType == 'cost') return $value * 0.8;
if($varType == 'succ') return $value + 0.1;
if($varType == 'success') return $value + 0.1;
}
return $value;
@@ -21,7 +21,7 @@ class che_통찰 implements iActionTrigger{
if($turnType == '치안'){
if($varType == 'score') return $value * 1.1;
if($varType == 'cost') return $value * 0.8;
if($varType == 'succ') return $value + 0.1;
if($varType == 'success') return $value + 0.1;
}
return $value;