Richard Millhouse Nixon was the first U.S. president whose name contains all the letters from the word "criminal." The second? William Jefferson Clinton.
if ( !IS_NPC(ch) && IS_SET(ch->specials.act, PLR_NOEMOTE) )
{
send_to_char( "You are anti-social!\n\r", ch );
return TRUE;
}
This is Medievia:
if ( !IS_NPC(ch) && IS_SET(ch->specials.act, PLR_NOEMOTE) )
{
send_to_char( "You are anti-social!\n\r", ch );
return TRUE;
}
Both lines of code within the braces have been counted as "original" (they have extra indentation, using two tabs rather than one).
/*
* Second attack.
*/
chance = IS_NPC(ch) ? 2 * GET_LEVEL(ch)
: ch->skills[SKILL_SECOND_ATTACK].learned * 2 / 5;
This is Medievia:
/*
* Second attack.
*/
chance=IS_NPC(ch) ? 2 * GET_LEVEL(ch)
: ch->skills[SKILL_SECOND_ATTACK].learned * 2 / 3;
Both lines of code have been counted as "original" (the first has had the white spaces around the '=' removed, the second line has '3' instead of '5' and has two less white spaces indentation).
struct obj_data *wielded;
int w_type;
int victim_ac, calc_thaco;
int dam;
byte diceroll;
This is Medievia:
struct obj_data *wielded=NULL;
int w_type;
int victim_ac, calc_thaco=0;
int dam;
int diceroll;
Lines 1, 3 and 5 have been counted as "original".