It's just common problems with your monitor not set to that resolution before, just mess with your monitor's controls (usually knobs/buttons in front of it, or sometimes they even provide softwares for it).
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu
function getstats(int x, int y) {
return stats[x*4 + y];
}
function setstats(int x, int y, int value) {
stats[x*4 + y] = value;
}
//character attack------------------------------
chance=Random(20); //define this variable first of course
if(chance<(getstats(1,4)-(getstats(2,1)))
{
setstats (2,2,getstats(1,3)-Random (3));
Display ("You swing and hit");
}
else if (chance>(getstats(1,4)-(getstats(2,1)))
{
setstats (2,2,getstats(1,3)-Random (3));
Display ("You swing and miss");
}
//character attack------------------------------
chance=Random(20); //define this variable first of course
if(chance<(getstats(1,4)-(getstats(2,1)))
{
setstats (2,2,getstats(1,3)-Random (3));
Display ("You swing and hit");
}
else
{
setstats (2,2,getstats(1,3)-Random (3));
Display ("You swing and miss");
}
Quote from: Guybrush Peepwood on Thu 13/11/2003 20:34:42
var[2*(1+1)] would be exactly the same to var[4*(0+1)]
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 2.977 seconds with 15 queries.