From 71bd866466e0ee753a04868a0f308480c0a0a6d5 Mon Sep 17 00:00:00 2001 From: hujiabin <519660157@qq.com> Date: Mon, 29 Apr 2024 17:34:41 +0800 Subject: [PATCH] 1 --- webapp/controller/HeroController.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/webapp/controller/HeroController.class.php b/webapp/controller/HeroController.class.php index c78c1c44..1df23e8f 100644 --- a/webapp/controller/HeroController.class.php +++ b/webapp/controller/HeroController.class.php @@ -258,6 +258,7 @@ class HeroController 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);