This commit is contained in:
aozhiwei 2024-01-15 14:43:12 +08:00
parent 968b825a5d
commit 306676db5c

View File

@ -4050,10 +4050,14 @@ void Creature::GenLevelAttr()
}
if (hero_grow_meta_->GetSkillEffect()) {
for (auto& pair : skill_hash_) {
pair.second->LevelUp();
if (!pair.second->IsFullLevel()) {
pair.second->LevelUp();
}
}
for (auto& pair : passive_skill_hash_) {
pair.second->LevelUp();
if (!pair.second->IsFullLevel()) {
pair.second->LevelUp();
}
}
}
}