jonoxia / rpgbase

Generic Node.js/HTML5 role-playing game client/server
8 stars 6 forks source link

Needed: Poison status #54

Closed jonoxia closed 11 years ago

jonoxia commented 11 years ago

Should do X damage to poisoned character at end of each combat round and on each step on map screen / maze screen.

jonoxia commented 11 years ago

Done... although we need to make sure we trigger game over screen in the rare case where poison causes a TPK on the map screen

jonoxia commented 11 years ago

Poison damage not being triggered in mazes because player.onStep handlers are not called from there.

jonoxia commented 11 years ago

It seems the maze screen doesn't even have a reference to the player object right now. Need to fix that first.

jonoxia commented 11 years ago

Poison damage should not happen in the town.