… | |
… | |
2180 | * that party_number -1 is no party, so attacks can still happen. |
2180 | * that party_number -1 is no party, so attacks can still happen. |
2181 | */ |
2181 | */ |
2182 | else if ((mon->stats.hp >= 0) && QUERY_FLAG (mon, FLAG_ALIVE) && |
2182 | else if ((mon->stats.hp >= 0) && QUERY_FLAG (mon, FLAG_ALIVE) && |
2183 | ((mon->type != PLAYER || op->contr->party == NULL || op->contr->party != mon->contr->party))) |
2183 | ((mon->type != PLAYER || op->contr->party == NULL || op->contr->party != mon->contr->party))) |
2184 | { |
2184 | { |
2185 | if (op->contr->weapon_sp_left > 0.f) |
2185 | if (op->contr->weapon_sp_left > 0.f && !op->flag [FLAG_WIZPASS]) |
2186 | { |
2186 | { |
2187 | --op->contr->weapon_sp_left; |
2187 | --op->contr->weapon_sp_left; |
2188 | |
2188 | |
2189 | skill_attack (mon, op, 0, 0, 0); |
2189 | skill_attack (mon, op, 0, 0, 0); |
2190 | |
2190 | |