1
This commit is contained in:
parent
fe7b3cad6b
commit
3b2a2fda02
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user