I'm learning javascript, and trying to program a simple HTML and text based game to make it less dry to learn. This is my attempt at programming basic attack damage, but it don't work.
HALP
<HTML>
<HEAD>
<script language="javascript">
strength=20;
weapondamage=50;
</script>
</HEAD>
<BODY>
<script language="text/javascript">
var phrandom=Math.floor(Math.random()*5);
return phrandom;
var Aray=new Array(3);
Aray[0]=.5;
Aray[1]=.6;
Aray[2]=.7;
phmodify=Aray[phrandom];
var phdamage=strength*(weapondamage)*phmodify;
document.write(phdamage)
</script>
</BODY>
</HTML>
Name:
Anonymous2008-02-15 11:57
Use FIOC.
Name:
Anonymous2008-02-15 12:05
>>2
okay, I googled and still don't know wtf a frame I/O controller does.
The furry community This is not surprising because the media the aim of this is learning how things work under the bonnet Get a copy of IDA Pro and have a modified Vim which includes changes as.