feat: add enchant value to pdef/mdef, patk/matk

This commit is contained in:
k0t9i
2023-01-24 23:50:59 +04:00
parent ca0183603f
commit 4cfb986ce0
8 changed files with 38 additions and 23 deletions

View File

@@ -66,7 +66,6 @@ namespace Interlude
EventDispatcher::GetInstance().Subscribe(HeroDeletedEvent::name, [this](const Event& evt) {
OnHeroDeleted(evt);
});
// TODO delete outdated skills: on hero change subclass?
}
SkillRepository() = delete;
@@ -91,6 +90,8 @@ namespace Interlude
m_ReloadingTimers.StopAll();
}
}
//todo need to delete skills if they are not exists in create "queue"
void OnSkillCreated(const Event& evt)
{
std::shared_lock<std::shared_timed_mutex>(m_Mutex);