version 1.10 | | version 1.11 |
---|
| | |
/* | | /* |
* static char *rcsid_skills_c = | | * static char *rcsid_skills_c = |
* "$Id: skills.c,v 1.10 2000/12/27 07:53:35 cvs Exp $"; | | * "$Id: skills.c,v 1.11 2001/01/15 22:33:32 cvs Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
new_draw_info_format(NDI_UNIQUE, 0,pl, | | new_draw_info_format(NDI_UNIQUE, 0,pl, |
"You convince the %s to follow you instead!\n", | | "You convince the %s to follow you instead!\n", |
query_name(tmp)); | | query_name(tmp)); |
#if 0 | | |
return calc_skill_exp(pl,tmp); | | |
#else | | |
/* Abuse fix - don't give exp since this can otherwise | | /* Abuse fix - don't give exp since this can otherwise |
* be used by a couple players to gets lots of exp. | | * be used by a couple players to gets lots of exp. |
*/ | | */ |
return 0; | | return 0; |
#endif | | |
} | | } |
} /* Creature was already a pet of someone */ | | } /* Creature was already a pet of someone */ |
| | |
| | |
"Your speach angers the %s!\n",query_name(tmp)); | | "Your speach angers the %s!\n",query_name(tmp)); |
if(QUERY_FLAG(tmp,FLAG_FRIENDLY)) { | | if(QUERY_FLAG(tmp,FLAG_FRIENDLY)) { |
CLEAR_FLAG(tmp,FLAG_FRIENDLY); | | CLEAR_FLAG(tmp,FLAG_FRIENDLY); |
| | remove_friendly_object(tmp); |
tmp->move_type = 0; /* needed? */ | | tmp->move_type = 0; /* needed? */ |
} | | } |
CLEAR_FLAG(tmp,FLAG_UNAGGRESSIVE); | | CLEAR_FLAG(tmp,FLAG_UNAGGRESSIVE); |