This is version 3 of my Functions_Wacky JavaScript file.
I have revised my latest edition by changing my 2nd prompt to reflect time on target to properly calculate total damage done
over a period of time.