player attack uses character variables from outside script
minor merge