feat(event): New Year's 2016

This commit is contained in:
Sabe Jones
2016-12-30 22:19:29 +00:00
parent 2a1f52a359
commit 969607cd3b
70 changed files with 7695 additions and 7534 deletions

View File

@@ -288,7 +288,8 @@ habitrpg.controller("RootCtrl", ['$scope', '$rootScope', '$location', 'User', '$
}
$rootScope.purchase = function(type, item){
if (type == 'special') return User.buySpecialSpell({params:{key:item.key}});
if (type === 'special') return User.buySpecialSpell({params:{key:item.key}});
if (type === 'card') return $scope.castStart(Content.spells.special[item.key]);
var gems = user.balance * 4;
var price = item.value;