Merge branch 'mountmaster' into triad-bingo
This commit is contained in:
Vendored
+2
-1
@@ -15640,8 +15640,9 @@ api.wrap = function(user, main) {
|
||||
message: i18n.t('notEnoughGems', req.language)
|
||||
}) : void 0;
|
||||
} else {
|
||||
user.balance -= 1;
|
||||
user.balance -= 1.5;
|
||||
user.items.currentMount = "";
|
||||
user.items.currentPet = "";
|
||||
for (animal in content.pets) {
|
||||
user.items.pets[animal] = 0;
|
||||
user.items.mounts[animal] = null;
|
||||
|
||||
+2
-1
@@ -762,8 +762,9 @@ api.wrap = (user, main=true) ->
|
||||
if user.balance < 1.5
|
||||
return cb? {code:401,message: i18n.t('notEnoughGems', req.language)}
|
||||
else
|
||||
user.balance -= 1
|
||||
user.balance -= 1.5
|
||||
user.items.currentMount = ""
|
||||
user.items.currentPet = ""
|
||||
for animal of content.pets
|
||||
user.items.pets[animal] = 0
|
||||
user.items.mounts[animal] = null
|
||||
|
||||
Reference in New Issue
Block a user