whiterook6 / fibonacci

Making a spell-slinging game with socket-io and rpg-awesome, nodejs and angular.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create Spell Grammar

whiterook6 opened this issue · comments

Something like this:

symbol: string // an rpg-awesome icon
cooldown: int // how many seconds between uses, at minimum
cost [ string: int ]* // key-values of how much of a resource a player needs. HP, MP, etc.
effects:
  self: [ string: int ]* // key-values of what to do to self when it hits
  target: [ string: int ]* // key-values of what to do to a target when it hits
  others: [ string: int ]* // key-values of what to do to all others
color: #hex // color of the spell icon