game: 저지 작동 방식 변경

- 최대 페이즈를 1 깎는 형태로 변경
This commit is contained in:
2024-06-08 13:24:32 +00:00
parent c45758b054
commit d5c0d16758
@@ -24,6 +24,12 @@ class che_저지발동 extends BaseWarUnitTrigger{
}
$selfEnv['저지발동'] = true;
$self->addPhase(-1);
$oppose->addPhase(-1);
if($self->getPhase() < $self->getMaxPhase()){
$oppose->addBonusPhase(-1);
}
$self->getLogger()->pushGeneralBattleDetailLog("상대를 <C>저지</>했다!", ActionLogger::PLAIN);
$oppose->getLogger()->pushGeneralBattleDetailLog("저지</>당했다!", ActionLogger::PLAIN);