move commands list to validCmds.js
fix bug where if dead mob exists in map, cannot kill other mobs