Just a Few Small Changes to Status Effect Stat Displays (#5361)
* Messing Around with Status Effect Stats * Longer, but cleaner and less buggy Co-authored-by: Leonwang4234 <leonwang4234@gmail.com>
This commit is contained in:
@@ -401,8 +401,14 @@ public class BulletType extends Content implements Cloneable{
|
||||
//pierceBuilding is not enabled by default, because a bullet may want to *not* pierce buildings
|
||||
}
|
||||
|
||||
if(lightningType == null){
|
||||
lightningType = !collidesAir ? Bullets.damageLightningGround : Bullets.damageLightning;
|
||||
if(lightning > 0){
|
||||
if(status == StatusEffects.none){
|
||||
status = StatusEffects.shocked;
|
||||
}
|
||||
|
||||
if(lightningType == null){
|
||||
lightningType = !collidesAir ? Bullets.damageLightningGround : Bullets.damageLightning;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user