mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-03 17:19:42 +00:00
between client & server. If the op is called on the client, it updates the user & then POSTs to the server with op of the same name. If called on server, it updates the user and user.save()s
15 lines
637 B
Text
15 lines
637 B
Text
div(modal='user.stats.hp <= 0', options='{backdrop:true, keyboard:false, backdropClick:false}')
|
|
.modal-body
|
|
.row-fluid
|
|
.span4
|
|
figure.notification-character
|
|
.GrimReaper
|
|
.span8
|
|
h2 You Died!
|
|
.row-fluid
|
|
.span4
|
|
p
|
|
a.btn.btn-danger.btn-large.notification-action(ng-click='user.ops.revive({})') Continue
|
|
.span8
|
|
p
|
|
| You've lost a Level, all your Gold, and a random piece of Equipment. Arise, Habiteer, and try again! Curb those negative Habits, be vigilant in completion of Dailies, and hold death at arm's length with a Health Potion if you falter!
|