This commit is contained in:
aozhiwei 2023-05-24 17:56:11 +08:00
parent 0c3c1ce1f8
commit adf5ff8bc6

View File

@ -3457,7 +3457,7 @@ void Human::ProcPurpleStoneItem(AddItemDTO& dto)
max_armor_shield = GetMaxHP();
armor_shield += max_armor_shield * dto.item_meta->_float_param1;
armor_shield = std::max(armor_shield, max_armor_shield);
armor_shield = std::min(armor_shield, max_armor_shield);
room->frame_event.AddPropChg
(
GetWeakPtrRef(),