Merge remote-tracking branch 'origin/master'
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
|
//pierceBuilding is not enabled by default, because a bullet may want to *not* pierce buildings
|
||||||
}
|
}
|
||||||
|
|
||||||
if(lightningType == null){
|
if(lightning > 0){
|
||||||
lightningType = !collidesAir ? Bullets.damageLightningGround : Bullets.damageLightning;
|
if(status == StatusEffects.none){
|
||||||
|
status = StatusEffects.shocked;
|
||||||
|
}
|
||||||
|
|
||||||
|
if(lightningType == null){
|
||||||
|
lightningType = !collidesAir ? Bullets.damageLightningGround : Bullets.damageLightning;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -270,10 +270,6 @@ public class StatValues{
|
|||||||
sep(bt, "@bullet.incendiary");
|
sep(bt, "@bullet.incendiary");
|
||||||
}
|
}
|
||||||
|
|
||||||
if(type.status != StatusEffects.none){
|
|
||||||
sep(bt, (type.minfo.mod == null ? type.status.emoji() : "") + "[stat]" + type.status.localizedName);
|
|
||||||
}
|
|
||||||
|
|
||||||
if(type.homingPower > 0.01f){
|
if(type.homingPower > 0.01f){
|
||||||
sep(bt, "@bullet.homing");
|
sep(bt, "@bullet.homing");
|
||||||
}
|
}
|
||||||
@@ -285,6 +281,10 @@ public class StatValues{
|
|||||||
if(type.fragBullet != null){
|
if(type.fragBullet != null){
|
||||||
sep(bt, "@bullet.frag");
|
sep(bt, "@bullet.frag");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(type.status != StatusEffects.none){
|
||||||
|
sep(bt, (type.minfo.mod == null ? type.status.emoji() : "") + "[stat]" + type.status.localizedName);
|
||||||
|
}
|
||||||
}).padTop(unit ? 0 : -9).left().get().background(unit ? null : Tex.underline);
|
}).padTop(unit ? 0 : -9).left().get().background(unit ? null : Tex.underline);
|
||||||
|
|
||||||
table.row();
|
table.row();
|
||||||
|
|||||||
Reference in New Issue
Block a user