This commit is contained in:
aozhiwei 2024-01-15 15:06:41 +08:00
parent 306676db5c
commit 69cc08e7bb

View File

@ -267,9 +267,11 @@ void Skill::InitActiveSkill()
}
#if 1
actived_ = true;
#if 0
if (owner->IsPlayer()) {
owner->AddInventory(IS_BLUE_STONE, 1);
}
#endif
#endif
}
@ -528,6 +530,8 @@ void Skill::Clear()
void Skill::LevelUp()
{
#if 1
#else
if (owner->GetInventory(IS_BLUE_STONE) % 3 == 0) {
Clear();
auto merge_item_meta = mt::MergeItem::GetById(mt::Equip::BLUE_STONE_ID);
@ -548,6 +552,7 @@ void Skill::LevelUp()
}
}
}
#endif
}
bool Skill::IsFullLevel()