Update core/src/mindustry/world/blocks/defense/Wall.java

Co-authored-by: Summet <summet.dev@gmail.com>
This commit is contained in:
genNAowl 2020-10-18 14:26:48 -07:00 committed by GitHub
parent db3db47ca1
commit 7a7fa74e65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,7 +44,7 @@ public class Wall extends Block{
super.setStats();
if(chanceDeflect > 0f) stats.add(BlockStat.baseDeflectChance, chanceDeflect, StatUnit.none);
if(lightningChance > 0f) {
if(lightningChance > 0f){
stats.add(BlockStat.lightningChance, lightningChance * 100f, StatUnit.percent);
stats.add(BlockStat.lightningDamage, lightningDamage, StatUnit.none);
}