add debug button to footer for increasing mana points (MP)

This commit is contained in:
Alice Harris
2015-03-13 13:52:54 +10:00
parent 044930b7d3
commit cd8c0956f8
2 changed files with 6 additions and 0 deletions

View File

@@ -87,6 +87,11 @@ function($scope, $rootScope, User, $http, Notification, ApiUrl) {
'stats.gp': User.user.stats.gp + 500,
});
}
$scope.addMana = function(){
User.set({
'stats.mp': User.user.stats.mp + 500,
});
}
$scope.addLevelsAndGold = function(){
User.set({
'stats.exp': User.user.stats.exp + 10000,