Math calculations with java script
I have managed to get most of the fields I want in place but last night I ran into a snag. The page takes info that is put into the fields and adds them together using the formula given in the Monster Manual to come up with the BaB or Base Attack Bonus. Now for every attack after the first the BaB is at -5. Now the part that does the math I don't know much about and can't figure out how to make the second part show up as 5 less then the first one.
The line that prints the BaB looks like write(" ",formR.edtBAB.value,"<br>");
I'm including the file in txt format for anyone wishing to look at it.
Last edited by eeyore; 11-27-2002 at 02:22 AM.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)