Changed mob flag NOBASH to NOKILL --Rumble

This commit is contained in:
Rumble
2009-12-25 00:31:33 +00:00
parent 73ecd212a0
commit 1779f7a30a
7 changed files with 40 additions and 32 deletions

View File

@@ -857,8 +857,8 @@ void find_replacement(void *go, struct script_data *sc, trig_data *trig,
}
break;
case 'q':
if (!str_cmp(field, "questpoints") ||
!str_cmp(field, "qp") || !str_cmp(field, "qpnts"))
if (!IS_NPC(c) && (!str_cmp(field, "questpoints") ||
!str_cmp(field, "qp") || !str_cmp(field, "qpnts")))
{
if (subfield && *subfield) {
int addition = atoi(subfield);