견고 추가 상향
This commit is contained in:
1 parent
fab148d168
commit
2c092997ba
2 files changed
+38
-9
No files matched your search
@@ -353,6 +353,13 @@ class WarUnit{
|
||||
return $this->activatedSkill[$skillName] ?? false;
|
||||
}
|
||||
|
||||
function hasActivatedSkillOnLog(string $skillName):bool{
|
||||
if(key_exists($skillName, $this->logActivatedSkill)){
|
||||
return true;
|
||||
}
|
||||
return $this->hasActivatedSkill($skillName);
|
||||
}
|
||||
|
||||
function activateSkill(... $skillNames){
|
||||
foreach($skillNames as $skillName){
|
||||
$this->activatedSkill[$skillName] = true;
|
||||
|
||||
Reference in new issue
Block a user