mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 15:48:04 +01:00
[#1997] classes: add MP to restore dialog (@wc8 you might find this useful)
This commit is contained in:
@@ -80,6 +80,7 @@ habitrpg.controller('SettingsCtrl',
|
|||||||
"stats.exp": stats.exp,
|
"stats.exp": stats.exp,
|
||||||
"stats.gp": stats.gp,
|
"stats.gp": stats.gp,
|
||||||
"stats.lvl": stats.lvl,
|
"stats.lvl": stats.lvl,
|
||||||
|
"stats.mp": stats.mana,
|
||||||
"achievements.streak": achievements.streak
|
"achievements.streak": achievements.streak
|
||||||
});
|
});
|
||||||
$rootScope.modals.restore = false;
|
$rootScope.modals.restore = false;
|
||||||
|
|||||||
@@ -28,6 +28,9 @@ div(ng-controller='SettingsCtrl')
|
|||||||
.option-group.option-medium
|
.option-group.option-medium
|
||||||
input.option-content(type='number', step="any", data-for='stats.gp', ng-model='restoreValues.stats.gp')
|
input.option-content(type='number', step="any", data-for='stats.gp', ng-model='restoreValues.stats.gp')
|
||||||
span.input-suffix Gold
|
span.input-suffix Gold
|
||||||
|
.option-group.option-medium
|
||||||
|
input.option-content(type='number', step="any", data-for='stats.mp', ng-model='restoreValues.stats.mp')
|
||||||
|
span.input-suffix Mana
|
||||||
.option-group.option-medium
|
.option-group.option-medium
|
||||||
input.option-content(type='number', data-for='stats.lvl', ng-model='restoreValues.stats.lvl')
|
input.option-content(type='number', data-for='stats.lvl', ng-model='restoreValues.stats.lvl')
|
||||||
span.input-suffix Level
|
span.input-suffix Level
|
||||||
|
|||||||
Reference in New Issue
Block a user