mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +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,
|
||||
|
||||
@@ -81,6 +81,7 @@ footer.footer(ng-controller='FooterCtrl')
|
||||
a.btn.btn-default(ng-click='addMissedDay(2)') +2 Missed Days
|
||||
a.btn.btn-default(ng-click='addTenGems()') +10 Gems
|
||||
a.btn.btn-default(ng-click='addGold()') +GP
|
||||
a.btn.btn-default(ng-click='addMana()') +MP
|
||||
a.btn.btn-default(ng-click='addLevelsAndGold()') +Exp +GP +MP
|
||||
a.btn.btn-default(ng-click='addOneLevel()') +1 Level
|
||||
a.btn.btn-default(ng-click='addBossQuestProgressUp()') +1000 Boss Quest Progress Up
|
||||
|
||||
Reference in New Issue
Block a user