add weapon damage scaling, fix crash