diff --git a/webapp/controller/BagController.class.php b/webapp/controller/BagController.class.php index a47c83a7..c669d647 100644 --- a/webapp/controller/BagController.class.php +++ b/webapp/controller/BagController.class.php @@ -256,6 +256,7 @@ class BagController extends BaseAuthedController { $this->_rspErr(1, "You don't have the item yet"); return; } + Bag::addDurability($targetDb['item_uniid'], $itemMeta['param1']); Bag::decItemByUnIid($itemDb['item_uniid'], $itemNum); $this->propertyChgService->addBagChg(); $this->_rspData(array( diff --git a/webapp/models/Bag.php b/webapp/models/Bag.php index e27ae235..db0b19c2 100644 --- a/webapp/models/Bag.php +++ b/webapp/models/Bag.php @@ -193,4 +193,9 @@ class Bag extends BaseModel { ); } + public static function addDurability($itemUniId, $val) + { + + } + }