From 3b2a2fda02ebdb9c9963312f9411ca59c245fd3c Mon Sep 17 00:00:00 2001 From: hujiabin <519660157@qq.com> Date: Mon, 29 Apr 2024 11:58:26 +0800 Subject: [PATCH] 1 --- webapp/controller/FragmentController.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webapp/controller/FragmentController.class.php b/webapp/controller/FragmentController.class.php index 21951fae..b3ee0dd8 100644 --- a/webapp/controller/FragmentController.class.php +++ b/webapp/controller/FragmentController.class.php @@ -104,6 +104,7 @@ class FragmentController extends BaseAuthedController $this->_decItems($costItems); $propertyChgService = new services\PropertyChgService(); $propertyChgService->addBagChg(); + $propertyChgService->addUserChg(); $hashChance = \mt\Manufacture::hashChance($manufactureMeta['chance']); $weight = isset($hashChance[$itemNum]) ? $hashChance[$itemNum] : 0; @@ -193,6 +194,7 @@ class FragmentController extends BaseAuthedController $this->_decItems($costItems); $propertyChgService = new services\PropertyChgService(); $propertyChgService->addBagChg(); + $propertyChgService->addUserChg(); $hashChance = \mt\Manufacture::hashChance($manufactureMeta['chance']); $weight = isset($hashChance[$itemNum]) ? $hashChance[$itemNum] : 0; $rnd = rand(1,100);