ajusa / Spell

A game, using nodejs and Websockets
5 stars 1 forks source link

Spells, and Input #20

Closed ajusa closed 9 years ago

ajusa commented 9 years ago

Client starts typing in spell, client starts recording key presses, if a spell is found with those key presses, it is fired. If no spell found, do nothing. If no mana, do nothing. Also, add general regen to full mana over time, with a variable called max mana. When you kill someone, you add a number based on their max mana to your max mana (eg 1/4).

mittsq commented 9 years ago

What keys would the spells be assigned to?

Nevermind, I'll use U I O and P.