1
This commit is contained in:
parent
fe7b3cad6b
commit
3b2a2fda02
@ -104,6 +104,7 @@ class FragmentController extends BaseAuthedController
|
|||||||
$this->_decItems($costItems);
|
$this->_decItems($costItems);
|
||||||
$propertyChgService = new services\PropertyChgService();
|
$propertyChgService = new services\PropertyChgService();
|
||||||
$propertyChgService->addBagChg();
|
$propertyChgService->addBagChg();
|
||||||
|
$propertyChgService->addUserChg();
|
||||||
|
|
||||||
$hashChance = \mt\Manufacture::hashChance($manufactureMeta['chance']);
|
$hashChance = \mt\Manufacture::hashChance($manufactureMeta['chance']);
|
||||||
$weight = isset($hashChance[$itemNum]) ? $hashChance[$itemNum] : 0;
|
$weight = isset($hashChance[$itemNum]) ? $hashChance[$itemNum] : 0;
|
||||||
@ -193,6 +194,7 @@ class FragmentController extends BaseAuthedController
|
|||||||
$this->_decItems($costItems);
|
$this->_decItems($costItems);
|
||||||
$propertyChgService = new services\PropertyChgService();
|
$propertyChgService = new services\PropertyChgService();
|
||||||
$propertyChgService->addBagChg();
|
$propertyChgService->addBagChg();
|
||||||
|
$propertyChgService->addUserChg();
|
||||||
$hashChance = \mt\Manufacture::hashChance($manufactureMeta['chance']);
|
$hashChance = \mt\Manufacture::hashChance($manufactureMeta['chance']);
|
||||||
$weight = isset($hashChance[$itemNum]) ? $hashChance[$itemNum] : 0;
|
$weight = isset($hashChance[$itemNum]) ? $hashChance[$itemNum] : 0;
|
||||||
$rnd = rand(1,100);
|
$rnd = rand(1,100);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user