er... nevermind. back this out. ApplyDamage should pick this up just fine.
--- a/hedgewars/uGears.pas Thu Mar 12 15:07:32 2020 -0400
+++ b/hedgewars/uGears.pas Thu Mar 12 15:09:16 2020 -0400
@@ -177,7 +177,6 @@
// Deal poison damage (when not frozen)
if (Gear^.Hedgehog^.Effects[hePoisoned] <> 0) and (Gear^.Hedgehog^.Effects[heFrozen] = 0) then
begin
- Gear^.Hedgehog^.Team^.Clan^.Flawless:= false;
inc(tmp, ModifyDamage(Gear^.Hedgehog^.Effects[hePoisoned], Gear));
if (GameFlags and gfResetHealth) <> 0 then
dec(Gear^.Hedgehog^.InitialHealth);