Reply to Re: damage
If you don't have an account, just leave the password field blank.
It's a random number between 1/2 * &str and &str, where &str is the strenght.
int &damage;
int &crap;
&crap = sp_strength(&sprite, -1);
//use &strength if &sprite = 1
&crap / 2;
&damage = random(&crap, &crap);
Would be the DinkC code.
LATE ADDITION: In earlier versions of Dink (1.06 and 1.07) you can't use &str as a variable, becuase it would conflict with &strength. Just to warn you for the consequences.
int &damage;
int &crap;
&crap = sp_strength(&sprite, -1);
//use &strength if &sprite = 1
&crap / 2;
&damage = random(&crap, &crap);
Would be the DinkC code.
LATE ADDITION: In earlier versions of Dink (1.06 and 1.07) you can't use &str as a variable, becuase it would conflict with &strength. Just to warn you for the consequences.