found a better way to let human npc attack