mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-10 23:28:52 +07:00
Update core/src/mindustry/world/blocks/defense/Wall.java
Co-authored-by: Summet <summet.dev@gmail.com>
This commit is contained in:
parent
db3db47ca1
commit
7a7fa74e65
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user