Fix typos

This commit is contained in:
Dušan Juretić 2014-01-11 17:54:50 -03:00
parent bbddb5f87d
commit c9ddf0e15d
2 changed files with 2 additions and 2 deletions

View file

@ -231,7 +231,7 @@ api.potion = type: 'potion', text: "Health Potion", notes: "Recover 15 Health (I
thing and receives another, it will cause errors. `self` is used for self buffs, multi-task debuffs, AOEs (eg, meteor-shower),
etc. Basically, use self for anything that's not [task, party, user] and is an instant-cast
* {cast}: the fucntion that's run to perform the ability's action. This is pretty slick - because this is exported to the
* {cast}: the function that's run to perform the ability's action. This is pretty slick - because this is exported to the
web, this function can be performed on the client and on the server. `user` param is self (needed for determining your
own stats for effectiveness of cast), and `target` param is one of [task, party, user]. In the case of `self` spells,
you act on `user` instead of `target`. You can trust these are the correct objects, as long as the `target` attr of the

View file

@ -205,7 +205,7 @@ describe 'User', ->
describe 'spells', ->
_.each shared.content.spells, (spellClass)->
_.each spellClass, (spell)->
it "#{spell.text} have a valid target", ->
it "#{spell.text} has a valid target", ->
expect(spell.target).to.match(/^(task|self|party|user)$/)
describe 'drop system', ->