Merge branch 'develop'

This commit is contained in:
Tyler Renelle 2013-03-05 17:04:31 -05:00
commit b0b591dc96
3 changed files with 39 additions and 36 deletions

1
.gitignore vendored
View file

@ -5,3 +5,4 @@ node_modules
*.swp
.idea*
config.json
npm-debug.log

View file

@ -143,8 +143,10 @@ updateStats = (model, newStats, batch) ->
if newStats.exp >= tnl
silent = true
user.set('stats.exp', newStats.exp)
while newStats.exp >= tnl # keep levelling up
newStats.exp -= tnl
obj.stats.lvl++
tnl = algos.tnl(obj.stats.lvl)
obj.stats.hp = 50
obj.stats.exp = newStats.exp

View file

@ -61,7 +61,7 @@
</div>
<app:newTask type="reward" inputValue="{_newReward}" placeHolder="New Reward" />
{#if _user.flags.petsEnabled}
{#if equals(_user.flags.petsEnabled,true)}
<div class='tabbable tabs-below'>
<div class="tab-content">