Fix CanDamage returning true instead of null
This commit is contained in:
1 parent
232df55657
commit
4e7b07d257
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user