mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
add debug button to footer for increasing mana points (MP)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user