jonoxia / rpgbase

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

NPCs can currently walk through PCs; shouldn't be able to. #27

Closed jonoxia closed 11 years ago

jonoxia commented 11 years ago

NPC can walk through PC (though not vice-versa). The map.canMove method needs to have access to the party's locations and not allow NPCs to enter squares where a PC is standing -- although PCs should always be able to walk through each other!