This commit is contained in:
aozhiwei 2024-08-15 19:11:19 +08:00
commit 1da90c7fdc

View File

@ -497,7 +497,7 @@ void Obstacle::SetRotate(float rotate)
void Obstacle::DoTreasureBoxInteraction(Human* sender)
{
if (!IsDead(sender->room)) {
if (!IsDead(sender->room) && sender->GetHeroQuality() > 1) {
++sender->box_num;
sender->room->frame_event.AddPropChg
(