… | |
… | |
1773 | |
1773 | |
1774 | if ((!hitter->slaying || |
1774 | if ((!hitter->slaying || |
1775 | (!(op->race && strstr (hitter->slaying, op->race)) && |
1775 | (!(op->race && strstr (hitter->slaying, op->race)) && |
1776 | !(op->name && strstr (hitter->slaying, op->name)))) && |
1776 | !(op->name && strstr (hitter->slaying, op->name)))) && |
1777 | (!QUERY_FLAG (op, FLAG_UNDEAD) || |
1777 | (!QUERY_FLAG (op, FLAG_UNDEAD) || |
1778 | (hitter->title != NULL |
1778 | (hitter->title |
1779 | && (god = find_god (determine_god (hitter))) != NULL && god->race != NULL && strstr (god->race, shstr_undead) != NULL))) |
1779 | && (god = find_god (determine_god (hitter))) != NULL && god->race && strstr (god->race, shstr_undead)))) |
1780 | return 0; |
1780 | return 0; |
1781 | } |
1781 | } |
1782 | |
1782 | |
1783 | maxattacktype = type; /* initialise this to something */ |
1783 | maxattacktype = type; /* initialise this to something */ |
1784 | for (attacknum = 0; attacknum < NROFATTACKS; attacknum++, attacktype = 1 << attacknum) |
1784 | for (attacknum = 0; attacknum < NROFATTACKS; attacknum++, attacktype = 1 << attacknum) |