mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-03-06 07:30:35 +07:00
Minor swarmer range buff
This commit is contained in:
parent
61db253d4a
commit
fa0f161106
@ -1604,7 +1604,7 @@ public class Blocks implements ContentList{
|
||||
shots = 4;
|
||||
burstSpacing = 5;
|
||||
inaccuracy = 10f;
|
||||
range = 215f;
|
||||
range = 235f;
|
||||
xRand = 6f;
|
||||
size = 2;
|
||||
health = 300 * size * size;
|
||||
|
@ -281,10 +281,13 @@ public class FloorRenderer{
|
||||
for(int tilex = cx * chunksize; tilex < (cx + 1) * chunksize && tilex < world.width(); tilex++){
|
||||
for(int tiley = cy * chunksize; tiley < (cy + 1) * chunksize && tiley < world.height(); tiley++){
|
||||
Tile tile = world.rawTile(tilex, tiley);
|
||||
boolean wall = tile.block().cacheLayer != CacheLayer.normal;
|
||||
|
||||
if(tile.block().cacheLayer != CacheLayer.normal){
|
||||
if(wall){
|
||||
used.add(tile.block().cacheLayer);
|
||||
}else{
|
||||
}
|
||||
|
||||
if(!wall || world.isAccessible(tilex, tiley)){
|
||||
used.add(tile.floor().cacheLayer);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user