턴 버그 수정, 아이템 관련 구 코드 수정

This commit is contained in:
2019-10-06 01:45:50 +09:00
parent 44f0e78086
commit 2006845ff7
14 changed files with 41 additions and 795 deletions
-16
View File
@@ -300,27 +300,11 @@ class WarUnit{
throw new NotInheritedMethodException();
}
function useBattleInitItem():bool{
return false;
}
function beginPhase():void{
$this->clearActivatedSkill();
$this->computeWarPower();
}
function checkBattleBeginSkill(){
yield true;
}
function checkBattleBeginItem():bool{
return false;
}
function applyBattleBeginSkillAndItem():bool{
return false;
}
function hasActivatedSkill(string $skillName):bool{
return $this->activatedSkill[$skillName] ?? false;
}