This commit is contained in:
aozhiwei 2024-01-15 16:56:48 +08:00
parent b21b0e1ea3
commit e897acee6f
3 changed files with 2 additions and 10 deletions

View File

@ -1386,6 +1386,7 @@ void Human::DeadDrop()
ClearGemStoneBuffs();
}
{
#if 0
if (GetInventory(IS_BLUE_STONE) > 0) {
room->frame_event.AddPropChg
(
@ -1408,6 +1409,7 @@ void Human::DeadDrop()
if (main_skill) {
main_skill->Reset();
}
#endif
}
{
if (GetInventory(IS_WEAPON_STONE) > 0) {

View File

@ -547,15 +547,6 @@ bool Skill::IsFullLevel()
return level_ == 4;
}
void Skill::Reset()
{
Clear();
for (int i = 2; i <= level_; ++i) {
owner->skill_hash_.erase(GetBaseSkillMeta()->skill_id() + i - 1);
}
level_ = 1;
}
const mt::Skill* Skill::GetCurrSkillMeta()
{
return curr_meta_;

View File

@ -59,7 +59,6 @@ class Skill
void LevelUp();
bool IsFullLevel();
void Clear();
void Reset();
const mt::Skill* GetCurrSkillMeta();
int GetSkillId();
int GetBaseSkillId();