I'd say actions have more of a role than intent although intent DOES play somewhat of a role.
It's more immoral to accidentally kill someone than to actually want to kill someone?
Define accidentally. Is someone who drinks and drives and then gets in an "accident" that kills a person who he had no particular desire to see dead more or less moral than a person who wishes to see some person dead, but takes no action to that would cause that death? Obviously both persons are more moral than someone who not only wants someone dead but also takes action to achieve that desire.