스킬 안 쓰는 버그 해결

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
+1 -1
View File
@@ -119,7 +119,7 @@ abstract class TriggerCaller{
}
function fire(?array $env = null, $arg = null):?array{
foreach($this->triggerListByPriority as $subTriggerList){
foreach($this->triggerListByPriority as $priority=>$subTriggerList){
/** @var ObjectTrigger[] $subTriggerList */
foreach($subTriggerList as $trigger){
$env = $trigger->action($env, $arg);