… | |
… | |
1050 | vuln[i] += ((100 - vuln[i]) * -tmp->resist[i]) / 100; |
1050 | vuln[i] += ((100 - vuln[i]) * -tmp->resist[i]) / 100; |
1051 | } |
1051 | } |
1052 | } |
1052 | } |
1053 | |
1053 | |
1054 | /* There may be other things that should not adjust the attacktype */ |
1054 | /* There may be other things that should not adjust the attacktype */ |
1055 | if (tmp->type != BOW && tmp->type != SYMPTOM) |
1055 | if (tmp->type != SYMPTOM) |
1056 | attacktype |= tmp->attacktype; |
1056 | attacktype |= tmp->attacktype; |
1057 | |
1057 | |
1058 | path_attuned |= tmp->path_attuned; |
1058 | path_attuned |= tmp->path_attuned; |
1059 | path_repelled |= tmp->path_repelled; |
1059 | path_repelled |= tmp->path_repelled; |
1060 | path_denied |= tmp->path_denied; |
1060 | path_denied |= tmp->path_denied; |