1
This commit is contained in:
parent
de378a8286
commit
367911a01e
@ -65,8 +65,8 @@ class GMController extends BaseAuthedController {
|
|||||||
'.addhero' => function () use($params) {
|
'.addhero' => function () use($params) {
|
||||||
$this->addHero($params);
|
$this->addHero($params);
|
||||||
},
|
},
|
||||||
'.dechp' => function () use($params) {
|
'.decgold' => function () use($params) {
|
||||||
$this->decHP($params);
|
$this->decGold($params);
|
||||||
},
|
},
|
||||||
'.loot' => function () use($params) {
|
'.loot' => function () use($params) {
|
||||||
$this->lootTest($params);
|
$this->lootTest($params);
|
||||||
@ -345,7 +345,7 @@ END
|
|||||||
myself()->_rspOk();
|
myself()->_rspOk();
|
||||||
}
|
}
|
||||||
|
|
||||||
private function decHP($params)
|
private function decGold($params)
|
||||||
{
|
{
|
||||||
$itemNum = getXVal($params, 0, 0);
|
$itemNum = getXVal($params, 0, 0);
|
||||||
$userInfo = myself()->_getUserInfo('gold');
|
$userInfo = myself()->_getUserInfo('gold');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user