Changed many function calls to call by reference, to allow change of die type from swing die to normal die after performing a berserk attack