summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--actions.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/actions.c b/actions.c
index 9f22dc8..d1ebab1 100644
--- a/actions.c
+++ b/actions.c
@@ -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();
}