feat: 전투 상대방의 특정 수치를 접근할 수 있는 callback류 생성
This commit is contained in:
@@ -25,10 +25,12 @@ class che_계략발동 extends BaseWarUnitTrigger{
|
||||
$general = $self->getGeneral();
|
||||
|
||||
[$magic, $damage] = $selfEnv['magic'];
|
||||
|
||||
|
||||
$damage = $general->onCalcStat($general, 'warMagicFailDamage', $damage, $magic);
|
||||
$damage = $oppose->getGeneral()->onCalcOpposeStat($general, 'warMagicFailDamage', $damage, $magic);
|
||||
$josaUl = \sammo\JosaUtil::pick($magic, '을');
|
||||
|
||||
|
||||
$general->getLogger()->pushGeneralBattleDetailLog("<D>{$magic}</>{$josaUl} <C>성공</>했다!", ActionLogger::PLAIN);
|
||||
$oppose->getLogger()->pushGeneralBattleDetailLog("<D>{$magic}</>에 당했다!", ActionLogger::PLAIN);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user