Added beforeattack to marksman