스킬 안 쓰는 버그 해결

This commit is contained in:
2020-04-26 23:52:17 +09:00
parent 5aea034a17
commit c2364e3508
25 changed files with 178 additions and 25 deletions
@@ -7,6 +7,7 @@ use sammo\WarUnit;
use sammo\GameUnitDetail;
use sammo\Util;
use sammo\ObjectTrigger;
use sammo\ActionLogger;
class che_계략발동 extends BaseWarUnitTrigger{
protected $priority = ObjectTrigger::PRIORITY_POST + 100;
@@ -28,7 +29,7 @@ class che_계략발동 extends BaseWarUnitTrigger{
$damage = $general->onCalcStat($general, 'warMagicFailDamage', $damage, $magic);
$josaUl = \sammo\JosaUtil::pick($magic, '을');
$general->pushGeneralBattleDetailLog("<D>{$magic}</>{$josaUl} <C>성공</>했다!", ActionLogger::PLAIN);
$general->getLogger()->pushGeneralBattleDetailLog("<D>{$magic}</>{$josaUl} <C>성공</>했다!", ActionLogger::PLAIN);
$oppose->getLogger()->pushGeneralBattleDetailLog("<D>{$magic}</>에 당했다!", ActionLogger::PLAIN);
$self->multiplyWarPowerMultiply($damage);