[https://github.com/HabitRPG/habitrpg/issues/2017] add abiltiy to opt
out of class system entirely
This commit is contained in:
@@ -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
|
||||
|
||||
###
|
||||
---------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user