classes: fixes to class-selection & reroll, remove show/hide gear since

we're using costumes
This commit is contained in:
Tyler Renelle
2013-12-04 23:53:55 -07:00
parent 62d50a1f4d
commit dde0655900
5 changed files with 11 additions and 35 deletions

View File

@@ -22,14 +22,13 @@ habitrpg.controller("UserCtrl", ['$rootScope', '$scope', '$location', 'User', '$
if (!confirm("Are you sure you want to re-roll? This will reset your character's class and allocated points (you'll get them all back to re-allocate)"))
return;
User.setMultiple({
'stats.class': '',
'flags.classSelected': false,
//'stats.points': this is handled on the server
'stats.str': 0,
'stats.def': 0,
'stats.per': 0,
'stats.int': 0
})
}
$scope.save = function(){