game: 과실주(상성)를 대등한 병종에도 발동

This commit is contained in:
2022-04-10 01:17:41 +09:00
parent 54e4d74d0a
commit 082f847b1f
@@ -10,7 +10,7 @@ class che_상성보정_과실주 extends \sammo\BaseItem{
protected $rawName = '과실주';
protected $name = '과실주(상성)';
protected $info = '[전투] 유리한 병종 전투시 공격력 +10%, 피해 -10%';
protected $info = '[전투] 대등/유리한 병종 전투시 공격력 +10%, 피해 -10%';
protected $cost = 200;
protected $consumable = false;
@@ -18,7 +18,7 @@ class che_상성보정_과실주 extends \sammo\BaseItem{
{
$oppose = $unit->getOppose();
$attackCoef = $unit->getCrewType()->getAttackCoef($oppose->getCrewType());
if($attackCoef <= 1){
if($attackCoef < 1){
return null;
}
return new WarUnitTriggerCaller(