This commit is contained in:
aozhiwei 2024-08-15 17:49:54 +08:00
parent 727395db4d
commit a411b20b6f

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
(