Can you please explain me the if line?
I believe <diceroll> is something like the dice but i cant find in the rest of the code where is calculated.
Can you help?
I believe <diceroll> is something like the dice but i cant find in the rest of the code where is calculated.
Can you help?
if( diceroll == 0 || ( diceroll != 19 && diceroll < thac0 - victim_ac ) )
{
/*
* Miss.
*/
if( prof_gsn != -1 )
learn_from_failure( ch, prof_gsn );
damage( ch, victim, 0, dt );
tail_chain( );
return rNONE;