defulatGold, defaultRice 개념 지정
This commit is contained in:
1 parent
68a471b859
commit
88f97ecb4e
14 files changed
+232
-128
No files matched your search
@@ -97,8 +97,8 @@ class che_하야 extends Command\GeneralCommand{
|
||||
|
||||
}
|
||||
|
||||
$newGold = Util::valueFit($general->getVar('gold'), null, 1000);
|
||||
$newRice = Util::valueFit($general->getVar('rice'), null, 1000);
|
||||
$newGold = Util::valueFit($general->getVar('gold'), null, GameConst::$defaultGold);
|
||||
$newRice = Util::valueFit($general->getVar('rice'), null, GameConst::$defaultRice);
|
||||
|
||||
$lostGold = $general->getVar('gold') - $newGold;
|
||||
$lostRice = $general->getVar('rice') - $newRice;
|
||||
|
||||
Reference in new issue
Block a user