diff options
-rw-r--r-- | actions.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -101,12 +101,11 @@ int compute_damages(const struct character_t *src, const struct character_t *des case AFFINITY_RESISTANCE: avg /= 2; break; - case AFFINITY_INVULNERABILITY: - avg = 0; - break; case AFFINITY_ABSORPTION: avg = -avg; break; + case AFFINITY_NONE: + break; default: abort(); } |