working on attack functions for both players and zombies