out of class system entirely
This commit is contained in:
Tyler Renelle
2013-12-17 16:43:10 -07:00
parent 43ce7f11cb
commit 2d568f1cf4
3 changed files with 37 additions and 10 deletions
+1 -1
View File
@@ -382,7 +382,7 @@ _.each api.spells, (spellClass) ->
spell.cast = (user, target) ->
#return if spell.target and spell.target != (if target.type then 'task' else 'user')
_cast(user,target)
user.stats.mp = user.stats.mp - spell.mana
user.stats.mp -= spell.mana
###
---------------------------------------------------------------