1
0
mirror of https://github.com/Anuken/Mindustry.git synced 2024-10-06 21:07:25 +03:00
This commit is contained in:
Anuken 2022-06-30 10:45:17 -04:00
parent efc7194fbe
commit 5c1b874f38
3 changed files with 4 additions and 4 deletions

View File

@ -4285,7 +4285,7 @@ public class Blocks{
fogRadius = 6f;
health = 160;
health = 250;
weapons.add(new Weapon(){{
shootCone = 360f;

View File

@ -1021,7 +1021,7 @@ public class LExecutor{
@Override
public void run(LExecutor exec){
if(exec.building(target) instanceof MessageBuild d && d.team == exec.team){
if(exec.building(target) instanceof MessageBuild d && (d.team == exec.team || exec.privileged)){
d.message.setLength(0);
d.message.append(exec.textBuffer, 0, Math.min(exec.textBuffer.length(), maxTextBuffer));

View File

@ -31,12 +31,12 @@ public class ItemTurret extends Turret{
ammoTypes = ObjectMap.of(objects);
}
/** Makes copies of all bullets and limits their range. */
/** Limits bullet range to this turret's range value. */
public void limitRange(){
limitRange(9f);
}
/** Makes copies of all bullets and limits their range. */
/** Limits bullet range to this turret's range value. */
public void limitRange(float margin){
for(var entry : ammoTypes.entries()){
limitRange(entry.value, margin);