From 217650a3bb203f89bd2151178d6c6e0042d37dc3 Mon Sep 17 00:00:00 2001 From: tenplus1 Date: Wed, 26 Apr 2023 07:16:33 +0100 Subject: [PATCH] spears only harm first entity hit --- nssm_spears.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nssm_spears.lua b/nssm_spears.lua index aa782f1..b0b31db 100644 --- a/nssm_spears.lua +++ b/nssm_spears.lua @@ -127,6 +127,8 @@ local function spears_set_entity(kind, eq, toughness) }) end end + + break -- only harm first entity hit end end end