Fix CanDamage returning true instead of null

This commit is contained in:
Dominic committed 2022-09-28 14:43:22 -05:00
1 parent 232df55657
commit 4e7b07d257
1 file changed
+1 -1
+1 -1
View File
@@ -407,6 +407,6 @@ namespace CalamityMod.Projectiles.Summon
target.AddBuff(ModContent.BuffType<Plague>(), 180);
}
public override bool? CanDamage() => CurrentState == ViriliAIState.ChargeAtEnemies;
public override bool? CanDamage() => CurrentState == ViriliAIState.ChargeAtEnemies ? null : false;
}
}