Evoke repair weapon
This commit is contained in:
@@ -412,7 +412,7 @@ public class Turret extends ReloadTurret{
|
||||
}
|
||||
|
||||
protected boolean canHeal(){
|
||||
return targetHealing && hasAmmo() && peekAmmo().collidesTeam && peekAmmo().healPercent > 0;
|
||||
return targetHealing && hasAmmo() && peekAmmo().collidesTeam && peekAmmo().heals();
|
||||
}
|
||||
|
||||
protected void findTarget(){
|
||||
|
||||
@@ -329,6 +329,10 @@ public class StatValues{
|
||||
sep(bt, Core.bundle.format("bullet.healpercent", Strings.autoFixed(type.healPercent, 2)));
|
||||
}
|
||||
|
||||
if(type.healAmount > 0f){
|
||||
sep(bt, Core.bundle.format("bullet.healamount", Strings.autoFixed(type.healAmount, 2)));
|
||||
}
|
||||
|
||||
if(type.pierce || type.pierceCap != -1){
|
||||
sep(bt, type.pierceCap == -1 ? "@bullet.infinitepierce" : Core.bundle.format("bullet.pierce", type.pierceCap));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user