feat: 입대독력, 병장기지원 추가, 기타 개인전략 수정

This commit is contained in:
2023-12-25 14:36:13 +00:00
parent 2bcdbb0177
commit f5dfb83356
7 changed files with 146 additions and 2 deletions
@@ -0,0 +1,19 @@
<?php
namespace sammo\ActionBuff;
use \sammo\iAction;
class g65_징병비용무시 implements iAction
{
use \sammo\DefaultAction;
public function onCalcDomestic(string $turnType, string $varType, float $value, $aux = null): float
{
if ($varType == 'cost' && in_array($turnType, ['징병', '모병'])) {
return 0;
}
return $value;
}
}
@@ -0,0 +1,19 @@
<?php
namespace sammo\ActionBuff;
use \sammo\iAction;
class g65_징병인구무시 implements iAction
{
use \sammo\DefaultAction;
public function onCalcDomestic(string $turnType, string $varType, float $value, $aux = null): float
{
if ($turnType == '징집인구' && $varType == 'score') {
return 0;
}
return $value;
}
}