Npc's can attack

@jsteiner
make syntax consistent with the language you're using. Right now this is ruby block syntax.