일단 push

This commit is contained in:
2018-09-17 02:57:44 +09:00
parent 777ec39bd9
commit 6eb67b1a3c
15 changed files with 3269 additions and 265 deletions
+3 -3
View File
@@ -58,7 +58,7 @@ class General implements iActionTrigger{
$this->personalityObj = new $personalityClass;
}
protected function clearActivatedSkill(){
function clearActivatedSkill(){
foreach ($this->activatedSkill as $skillName=>$state) {
if (!$state) {
continue;
@@ -190,7 +190,7 @@ class General implements iActionTrigger{
return $result;
}
public function onPreTurnExecute(General $general, ?array $nation):array{
public function onPreTurnExecute(General $general):array{
$chain = [];
foreach(array_merge([
$this->nationType,
@@ -202,7 +202,7 @@ class General implements iActionTrigger{
if(!$iObj){
continue;
}
$chain[] = $iObj->onPreTurnExecute($general, $nation);
$chain[] = $iObj->onPreTurnExecute($general);
}
return array_merge([], ...$chain);
}